]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - processor-sdk/audio-preprocessing.git/commitdiff
update makefile for Linux and delete makefile for sysbios DEV.AUDIO_PREPROC.01.00.00.03
authorMing Wei <mwei@ti.com>
Wed, 3 Aug 2016 21:01:54 +0000 (16:01 -0500)
committerMing Wei <mwei@ti.com>
Wed, 3 Aug 2016 21:01:54 +0000 (16:01 -0500)
Signed-off-by: Ming Wei <mwei@ti.com>
file_demo_bios/am572x/build/makefile
file_demo_bios/am572x/src/makefile.libs [deleted file]
file_demo_bios/am572x/src/sysbios/makefile [deleted file]
file_demo_bios/da830/src/makefile.libs [deleted file]
file_demo_bios/da830/src/sysbios/makefile [deleted file]
file_demo_bios/k2g/build/makefile
file_demo_bios/k2g/src/makefile.libs [deleted file]
file_demo_bios/k2g/src/sysbios/makefile [deleted file]

index 3c3e38610ec67c905aa8852b2919c87ae1a65758..7e1bbef960b7cbebe1243a41b5dddbb4155fe385 100644 (file)
@@ -43,8 +43,8 @@ ifeq ($(OS), Linux)
 RM := rm -f\r
 RMDIR := rm -d -f -r\r
 else\r
-RM := DEL /F\r
-RMDIR := RMDIR /S/Q\r
+RM := rm -f\r
+RMDIR := rm -r -f\r
 endif\r
 \r
 # All of the sources participating in the build are defined here\r
@@ -78,12 +78,23 @@ GEN_FILES += \
 ./configPkg/linker.cmd \\r
 ./configPkg/compiler.opt \r
 \r
+ifeq ($(OS), Linux)\r
+GEN_FILES__QUOTED += \\r
+"configPkg/linker.cmd" \\r
+"configPkg/compiler.opt" \r
+GEN_MISC_DIRS__QUOTED += \\r
+"configPkg/" \r
+DEPEND_FILES = "main.d" "components/clk.d" "components/fil.d" "components/sys.d" "components/sysasnr.d" "components/sysbf.d" "components/sysbfflt.d" "components/syseram.d" "components/sysiram.d" "components/sysmss.d" "components/sysvau.d" "components/mhm/src/mhm.d" "components/mss/src/mss.d" "components/mss/src/mssproc.d" \r
+OBJECT_FILES = "main.obj" "components/clk.obj" "components/fil.obj" "components/sys.obj" "components/sysasnr.obj" "components/sysbf.obj" "components/sysbfflt.obj" "components/syseram.obj" "components/sysiram.obj" "components/sysmss.obj" "components/sysvau.obj" "components/mhm/src/mhm.obj" "components/mss/src/mss.obj" "components/mss/src/mssproc.obj" \r
+else\r
 GEN_FILES__QUOTED += \\r
 "configPkg\linker.cmd" \\r
 "configPkg\compiler.opt" \r
-\r
 GEN_MISC_DIRS__QUOTED += \\r
-"configPkg\" \r
+"configPkg" \r
+DEPEND_FILES = "main.d" "components\clk.d" "components\fil.d" "components\sys.d" "components\sysasnr.d" "components\sysbf.d" "components\sysbfflt.d" "components\syseram.d" "components\sysiram.d" "components\sysmss.d" "components\sysvau.d" "components\mhm\src\mhm.d" "components\mss\src\mss.d" "components\mss\src\mssproc.d" \r
+OBJECT_FILES = "main.obj" "components\clk.obj" "components\fil.obj" "components\sys.obj" "components\sysasnr.obj" "components\sysbf.obj" "components\sysbfflt.obj" "components\syseram.obj" "components\sysiram.obj" "components\sysmss.obj" "components\sysvau.obj" "components\mhm\src\mhm.obj" "components\mss\src\mss.obj" "components\mss\src\mssproc.obj" \r
+endif\r
 \r
 C_DEPS__QUOTED += \\r
 "main.d" \r
@@ -472,8 +483,8 @@ AM572x_bf.hex: $(EXE_OUTPUTS)
 clean:\r
        -$(RM) $(GEN_MISC_FILES__QUOTED)$(EXE_OUTPUTS__QUOTED)$(GEN_FILES__QUOTED)$(BIN_OUTPUTS__QUOTED)$(GEN_OPTS__QUOTED)$(GEN_CMDS__QUOTED)\r
        -$(RMDIR) $(GEN_MISC_DIRS__QUOTED)\r
-       -$(RM) "main.d" "components\clk.d" "components\fil.d" "components\sys.d" "components\sysasnr.d" "components\sysbf.d" "components\sysbfflt.d" "components\syseram.d" "components\sysiram.d" "components\sysmss.d" "components\sysvau.d" "components\mhm\src\mhm.d" "components\mss\src\mss.d" "components\mss\src\mssproc.d" \r
-       -$(RM) "main.obj" "components\clk.obj" "components\fil.obj" "components\sys.obj" "components\sysasnr.obj" "components\sysbf.obj" "components\sysbfflt.obj" "components\syseram.obj" "components\sysiram.obj" "components\sysmss.obj" "components\sysvau.obj" "components\mhm\src\mhm.obj" "components\mss\src\mss.obj" "components\mss\src\mssproc.obj" \r
+       -$(RM) ${DEPEND_FILES} \r
+       -$(RM) ${OBJECT_FILES}\r
        -@echo 'Finished clean'\r
        -@echo ' '\r
 \r
diff --git a/file_demo_bios/am572x/src/makefile.libs b/file_demo_bios/am572x/src/makefile.libs
deleted file mode 100644 (file)
index e5c3bc5..0000000
+++ /dev/null
@@ -1,62 +0,0 @@
-#
-# This file was generated based on the configuration script:
-#     C:\ti\processor_sdk_rtos_am57xx_3_00_00_04\demos\audio-preprocessing-fw\file_demo_bios\am572x\app.cfg
-#
-# This makefile may be included in other makefiles that need to build
-# the libraries containing the compiled source files generated as
-# part of the configuration step.
-
-#
-# ======== GEN_SRC_DIR =========
-# The path to the sources generated during configuration
-#
-# This path must be either absolute or relative to the build directory.
-#
-# The absolute path to the generated source directory (at the time the
-# sources were generated) is:
-#    C:\ti\processor_sdk_rtos_am57xx_3_00_00_04\demos\audio-preprocessing-fw\file_demo_bios\am572x\src
-#
-GEN_SRC_DIR ?= ../src
-
-ifeq (,$(wildcard $(GEN_SRC_DIR)))
-$(error "ERROR: GEN_SRC_DIR must be set to the directory containing the generated sources")
-endif
-
-#
-# ======== .force ========
-# The .force goal is used to force the build of any goal that names it as
-# a prerequisite
-#
-.PHONY: .force
-      
-#
-# ======== library macros ========
-#
-sysbios_SRC = $(GEN_SRC_DIR)/sysbios
-sysbios_LIB = $(GEN_SRC_DIR)/sysbios/sysbios.ae66
-
-#
-# ======== dependencies ========
-#
-all: $(sysbios_LIB)
-clean: .sysbios_clean
-
-
-# ======== convenient build goals ========
-.PHONY: sysbios
-sysbios: $(GEN_SRC_DIR)/sysbios/sysbios.ae66
-
-# CDT managed make executables depend on $(OBJS)
-OBJS += $(sysbios_LIB)
-
-#
-# ======== rules ========
-#
-$(sysbios_LIB): .force 
-       @echo making $@ ...
-       @$(MAKE) -C $(sysbios_SRC)
-
-.sysbios_clean:
-       @echo cleaning $(sysbios_SRC) ...
-       -@$(MAKE) --no-print-directory -C $(sysbios_SRC) clean
-
diff --git a/file_demo_bios/am572x/src/sysbios/makefile b/file_demo_bios/am572x/src/sysbios/makefile
deleted file mode 100644 (file)
index 39c84f5..0000000
+++ /dev/null
@@ -1,104 +0,0 @@
-
-XOPTS = -I"${XDC_INSTALL_PATH}/packages/" -Dxdc_target_types__=${BIOS_INSTALL_PATH}/packages/ti/targets/elf/std.h -Dxdc_target_name__=C66
-
-vpath % ${BIOS_INSTALL_PATH}/packages/ti/sysbios/
-vpath %.c ${XDC_INSTALL_PATH}/packages/
-
-CCOPTS    = -mv6600 --abi=eabi -q -mi10 -mo -pdr -pden -pds=238 -pds=880 -pds1110  --program_level_compile -o3 -g --optimize_with_debug  -Dti_sysbios_knl_Task_minimizeLatency__D=FALSE -Dti_sysbios_family_c64p_Exception_enableExternalMPC__D=FALSE -Dti_sysbios_family_c64p_Exception_enablePrint__D=TRUE -Dti_sysbios_knl_Clock_stopCheckNext__D=FALSE
-
-XDC_ROOT  = ${XDC_INSTALL_PATH}/packages/
-
-BIOS_ROOT = ${BIOS_INSTALL_PATH}/packages/ti/sysbios/
-
-BIOS_DEFS =  -Dti_sysbios_BIOS_swiEnabled__D=TRUE -Dti_sysbios_BIOS_taskEnabled__D=TRUE -Dti_sysbios_BIOS_clockEnabled__D=TRUE -Dti_sysbios_BIOS_runtimeCreatesEnabled__D=TRUE -Dti_sysbios_hal_Hwi_DISABLE_ALL_HOOKS -Dti_sysbios_knl_Swi_DISABLE_ALL_HOOKS -Dti_sysbios_BIOS_smpEnabled__D=FALSE -Dti_sysbios_Build_useHwiMacros -Dti_sysbios_knl_Swi_numPriorities__D=16 -Dti_sysbios_knl_Task_deleteTerminatedTasks__D=FALSE -Dti_sysbios_knl_Task_numPriorities__D=16 -Dti_sysbios_knl_Task_checkStackFlag__D=TRUE -Dti_sysbios_knl_Task_initStackFlag__D=TRUE -Dti_sysbios_knl_Task_DISABLE_ALL_HOOKS -Dti_sysbios_knl_Clock_TICK_SOURCE=ti_sysbios_knl_Clock_TickSource_TIMER -Dti_sysbios_knl_Clock_TICK_MODE=ti_sysbios_knl_Clock_TickMode_PERIODIC -Dti_sysbios_hal_Core_delegate_getId=ti_sysbios_hal_CoreNull_getId__E -Dti_sysbios_hal_Core_delegate_interruptCore=ti_sysbios_hal_CoreNull_interruptCore__E -Dti_sysbios_hal_Core_delegate_lock=ti_sysbios_hal_CoreNull_lock__E -Dti_sysbios_hal_Core_delegate_unlock=ti_sysbios_hal_CoreNull_unlock__E -Dti_sysbios_hal_Core_numCores__D=1 -Dti_sysbios_hal_CoreNull_numCores__D=1 -Dti_sysbios_utils_Load_taskEnabled__D=FALSE -Dti_sysbios_utils_Load_swiEnabled__D=FALSE -Dti_sysbios_utils_Load_hwiEnabled__D=FALSE -Dti_sysbios_family_c64p_Hwi_dispatcherSwiSupport__D=TRUE -Dti_sysbios_family_c64p_Hwi_dispatcherTaskSupport__D=TRUE -Dti_sysbios_family_c64p_Hwi_dispatcherAutoNestingSupport__D=TRUE -Dti_sysbios_family_c64p_Hwi_dispatcherIrpTrackingSupport__D=TRUE -Dti_sysbios_knl_Semaphore_supportsEvents__D=FALSE -Dti_sysbios_knl_Semaphore_supportsPriority__D=TRUE
-
-BIOS_INC  = -I"${BIOS_INSTALL_PATH}/packages/"
-
-TARGET_INC = -I"${BIOS_INSTALL_PATH}/packages/"
-
-INCS = $(BIOS_INC) $(TARGET_INC)  
-
-CC = ${C6X_GEN_INSTALL_PATH}/bin/cl6x -c $(CCOPTS) -I ${C6X_GEN_INSTALL_PATH}/include
-ASM = ${C6X_GEN_INSTALL_PATH}/bin/cl6x -c $(CCOPTS) -I ${C6X_GEN_INSTALL_PATH}/include
-AR = ${C6X_GEN_INSTALL_PATH}/bin/ar6x rq
-
-DEL = ${XDC_INSTALL_PATH}/packages/../bin/rm -f
-CP = ${XDC_INSTALL_PATH}/packages/../bin/cp -f
-
-define RM
-       $(if $(wildcard $1),$(DEL) $1,:)
-endef
-
-define ASSEMBLE
-       @echo asme66 $< ...
-       @$(ASM) $(BIOS_DEFS) $(XOPTS) $(INCS) $<
-endef
-
-all: sysbios.ae66
-
-c64p_Exception_asm.obj: family/c64p/Exception_asm.s64P makefile
-       @-$(call RM, $@)
-       $(ASSEMBLE) --output_file=c64p_Exception_asm.obj
-
-c64p_Hwi_asm.obj: family/c64p/Hwi_asm.s62 makefile
-       @-$(call RM, $@)
-       $(ASSEMBLE) --output_file=c64p_Hwi_asm.obj
-
-c64p_Hwi_asm_switch.obj: family/c64p/Hwi_asm_switch.s62 makefile
-       @-$(call RM, $@)
-       $(ASSEMBLE) --output_file=c64p_Hwi_asm_switch.obj
-
-c64p_Hwi_disp_always.obj: family/c64p/Hwi_disp_always.s64P makefile
-       @-$(call RM, $@)
-       $(ASSEMBLE) --output_file=c64p_Hwi_disp_always.obj
-
-dmtimer_Timer_asm.obj: timers/dmtimer/Timer_asm.s64P makefile
-       @-$(call RM, $@)
-       $(ASSEMBLE) --output_file=dmtimer_Timer_asm.obj
-
-c62_TaskSupport_asm.obj: family/c62/TaskSupport_asm.s62 makefile
-       @-$(call RM, $@)
-       $(ASSEMBLE) --output_file=c62_TaskSupport_asm.obj
-
-
-BIOS.obj: BIOS.c family/c64p/Exception.c family/c64p/Hwi.c family/c64p/Hwi_startup.c family/c64p/TimestampProvider.c knl/Clock.c knl/Idle.c knl/Intrinsics.c knl/Event.c knl/Queue.c knl/Semaphore.c knl/Swi.c knl/Swi_andn.c knl/Task.c hal/Hwi.c hal/Hwi_stack.c hal/Hwi_startup.c timers/dmtimer/Timer.c family/shared/vayu/TimerSupport.c utils/Load.c utils/Load_CPU.c gates/GateHwi.c gates/GateMutex.c family/c66/Cache.c family/c62/TaskSupport.c family/c62/IntrinsicsSupport.c heaps/HeapMem.c makefile
-       @-$(call RM, $@)
-       @echo cle66 $< ...
-       @$(CC) $(BIOS_DEFS) $(XOPTS) $(INCS) \
-       $(BIOS_ROOT)BIOS.c \
-       $(BIOS_ROOT)family/c64p/Exception.c \
-       $(BIOS_ROOT)family/c64p/Hwi.c \
-       $(BIOS_ROOT)family/c64p/Hwi_startup.c \
-       $(BIOS_ROOT)family/c64p/TimestampProvider.c \
-       $(BIOS_ROOT)knl/Clock.c \
-       $(BIOS_ROOT)knl/Idle.c \
-       $(BIOS_ROOT)knl/Intrinsics.c \
-       $(BIOS_ROOT)knl/Event.c \
-       $(BIOS_ROOT)knl/Queue.c \
-       $(BIOS_ROOT)knl/Semaphore.c \
-       $(BIOS_ROOT)knl/Swi.c \
-       $(BIOS_ROOT)knl/Swi_andn.c \
-       $(BIOS_ROOT)knl/Task.c \
-       $(BIOS_ROOT)hal/Hwi.c \
-       $(BIOS_ROOT)hal/Hwi_stack.c \
-       $(BIOS_ROOT)hal/Hwi_startup.c \
-       $(BIOS_ROOT)timers/dmtimer/Timer.c \
-       $(BIOS_ROOT)family/shared/vayu/TimerSupport.c \
-       $(BIOS_ROOT)utils/Load.c \
-       $(BIOS_ROOT)utils/Load_CPU.c \
-       $(BIOS_ROOT)gates/GateHwi.c \
-       $(BIOS_ROOT)gates/GateMutex.c \
-       $(BIOS_ROOT)family/c66/Cache.c \
-       $(BIOS_ROOT)family/c62/TaskSupport.c \
-       $(BIOS_ROOT)family/c62/IntrinsicsSupport.c \
-       $(BIOS_ROOT)heaps/HeapMem.c \
-
-sysbios.ae66: BIOS.obj c64p_Exception_asm.obj c64p_Hwi_asm.obj c64p_Hwi_asm_switch.obj c64p_Hwi_disp_always.obj dmtimer_Timer_asm.obj c62_TaskSupport_asm.obj
-       @-$(call RM, $@)
-       @echo are66 $^ ...
-       @$(AR) $@ $^
-
-
-clean:
-       @$(DEL) ..\makefile.libs
-       @-$(call RM, *)
diff --git a/file_demo_bios/da830/src/makefile.libs b/file_demo_bios/da830/src/makefile.libs
deleted file mode 100644 (file)
index 03bcd05..0000000
+++ /dev/null
@@ -1,62 +0,0 @@
-#
-# This file was generated based on the configuration script:
-#     C:\ti\noise-reduction\file_demo_bios\da830\app.cfg
-#
-# This makefile may be included in other makefiles that need to build
-# the libraries containing the compiled source files generated as
-# part of the configuration step.
-
-#
-# ======== GEN_SRC_DIR =========
-# The path to the sources generated during configuration
-#
-# This path must be either absolute or relative to the build directory.
-#
-# The absolute path to the generated source directory (at the time the
-# sources were generated) is:
-#    C:\ti\noise-reduction\file_demo_bios\da830\src
-#
-GEN_SRC_DIR ?= ../src
-
-ifeq (,$(wildcard $(GEN_SRC_DIR)))
-$(error "ERROR: GEN_SRC_DIR must be set to the directory containing the generated sources")
-endif
-
-#
-# ======== .force ========
-# The .force goal is used to force the build of any goal that names it as
-# a prerequisite
-#
-.PHONY: .force
-      
-#
-# ======== library macros ========
-#
-sysbios_SRC = $(GEN_SRC_DIR)/sysbios
-sysbios_LIB = $(GEN_SRC_DIR)/sysbios/sysbios.ae674
-
-#
-# ======== dependencies ========
-#
-all: $(sysbios_LIB)
-clean: .sysbios_clean
-
-
-# ======== convenient build goals ========
-.PHONY: sysbios
-sysbios: $(GEN_SRC_DIR)/sysbios/sysbios.ae674
-
-# CDT managed make executables depend on $(OBJS)
-OBJS += $(sysbios_LIB)
-
-#
-# ======== rules ========
-#
-$(sysbios_LIB): .force 
-       @echo making $@ ...
-       @$(MAKE) -C $(sysbios_SRC)
-
-.sysbios_clean:
-       @echo cleaning $(sysbios_SRC) ...
-       -@$(MAKE) --no-print-directory -C $(sysbios_SRC) clean
-
diff --git a/file_demo_bios/da830/src/sysbios/makefile b/file_demo_bios/da830/src/sysbios/makefile
deleted file mode 100644 (file)
index 23263b5..0000000
+++ /dev/null
@@ -1,104 +0,0 @@
-
-XOPTS = -I"C:/ti/xdctools_3_32_00_06_core/packages/" -Dxdc_target_types__=C:/ti/bios_6_45_01_29/packages/ti/targets/elf/std.h -Dxdc_target_name__=C674
-
-vpath % C:/ti/bios_6_45_01_29/packages/ti/sysbios/
-vpath %.c C:/ti/xdctools_3_32_00_06_core/packages/
-
-CCOPTS    = -mv6740 --abi=eabi -q -mi10 -mo -pdr -pden -pds=238 -pds=880 -pds1110  --program_level_compile -o3 -g --optimize_with_debug  -Dti_sysbios_knl_Task_minimizeLatency__D=FALSE -Dti_sysbios_family_c64p_Exception_enableExternalMPC__D=FALSE -Dti_sysbios_family_c64p_Exception_enablePrint__D=TRUE -Dti_sysbios_knl_Clock_stopCheckNext__D=FALSE
-
-XDC_ROOT  = C:/ti/xdctools_3_32_00_06_core/packages/
-
-BIOS_ROOT = C:/ti/bios_6_45_01_29/packages/ti/sysbios/
-
-BIOS_DEFS =  -Dti_sysbios_BIOS_swiEnabled__D=TRUE -Dti_sysbios_BIOS_taskEnabled__D=TRUE -Dti_sysbios_BIOS_clockEnabled__D=TRUE -Dti_sysbios_BIOS_runtimeCreatesEnabled__D=TRUE -Dti_sysbios_hal_Hwi_DISABLE_ALL_HOOKS -Dti_sysbios_knl_Swi_DISABLE_ALL_HOOKS -Dti_sysbios_BIOS_smpEnabled__D=FALSE -Dti_sysbios_Build_useHwiMacros -Dti_sysbios_knl_Swi_numPriorities__D=16 -Dti_sysbios_knl_Task_deleteTerminatedTasks__D=FALSE -Dti_sysbios_knl_Task_numPriorities__D=16 -Dti_sysbios_knl_Task_checkStackFlag__D=TRUE -Dti_sysbios_knl_Task_initStackFlag__D=TRUE -Dti_sysbios_knl_Task_DISABLE_ALL_HOOKS -Dti_sysbios_knl_Clock_TICK_SOURCE=ti_sysbios_knl_Clock_TickSource_TIMER -Dti_sysbios_knl_Clock_TICK_MODE=ti_sysbios_knl_Clock_TickMode_PERIODIC -Dti_sysbios_hal_Core_delegate_getId=ti_sysbios_hal_CoreNull_getId__E -Dti_sysbios_hal_Core_delegate_interruptCore=ti_sysbios_hal_CoreNull_interruptCore__E -Dti_sysbios_hal_Core_delegate_lock=ti_sysbios_hal_CoreNull_lock__E -Dti_sysbios_hal_Core_delegate_unlock=ti_sysbios_hal_CoreNull_unlock__E -Dti_sysbios_hal_Core_numCores__D=1 -Dti_sysbios_hal_CoreNull_numCores__D=1 -Dti_sysbios_utils_Load_taskEnabled__D=FALSE -Dti_sysbios_utils_Load_swiEnabled__D=FALSE -Dti_sysbios_utils_Load_hwiEnabled__D=FALSE -Dti_sysbios_family_c64p_Hwi_dispatcherSwiSupport__D=TRUE -Dti_sysbios_family_c64p_Hwi_dispatcherTaskSupport__D=TRUE -Dti_sysbios_family_c64p_Hwi_dispatcherAutoNestingSupport__D=TRUE -Dti_sysbios_family_c64p_Hwi_dispatcherIrpTrackingSupport__D=TRUE -Dti_sysbios_knl_Semaphore_supportsEvents__D=FALSE -Dti_sysbios_knl_Semaphore_supportsPriority__D=TRUE
-
-BIOS_INC  = -I"C:/ti/bios_6_45_01_29/packages/"
-
-TARGET_INC = -I"C:/ti/bios_6_45_01_29/packages/"
-
-INCS = $(BIOS_INC) $(TARGET_INC)  
-
-CC = C:/ti/ccsv6/tools/compiler/ti-cgt-c6000_8.1.0/bin/cl6x -c $(CCOPTS) -I C:/ti/ccsv6/tools/compiler/ti-cgt-c6000_8.1.0/include
-ASM = C:/ti/ccsv6/tools/compiler/ti-cgt-c6000_8.1.0/bin/cl6x -c $(CCOPTS) -I C:/ti/ccsv6/tools/compiler/ti-cgt-c6000_8.1.0/include
-AR = C:/ti/ccsv6/tools/compiler/ti-cgt-c6000_8.1.0/bin/ar6x rq
-
-DEL = C:/ti/xdctools_3_32_00_06_core/packages/../bin/rm -f
-CP = C:/ti/xdctools_3_32_00_06_core/packages/../bin/cp -f
-
-define RM
-       $(if $(wildcard $1),$(DEL) $1,:)
-endef
-
-define ASSEMBLE
-       @echo asme674 $< ...
-       @$(ASM) $(BIOS_DEFS) $(XOPTS) $(INCS) $<
-endef
-
-all: sysbios.ae674
-
-c64p_Exception_asm.obj: family/c64p/Exception_asm.s64P makefile
-       @-$(call RM, $@)
-       $(ASSEMBLE) --output_file=c64p_Exception_asm.obj
-
-c64p_Hwi_asm.obj: family/c64p/Hwi_asm.s62 makefile
-       @-$(call RM, $@)
-       $(ASSEMBLE) --output_file=c64p_Hwi_asm.obj
-
-c64p_Hwi_asm_switch.obj: family/c64p/Hwi_asm_switch.s62 makefile
-       @-$(call RM, $@)
-       $(ASSEMBLE) --output_file=c64p_Hwi_asm_switch.obj
-
-c64p_Hwi_disp_always.obj: family/c64p/Hwi_disp_always.s64P makefile
-       @-$(call RM, $@)
-       $(ASSEMBLE) --output_file=c64p_Hwi_disp_always.obj
-
-c62_TaskSupport_asm.obj: family/c62/TaskSupport_asm.s62 makefile
-       @-$(call RM, $@)
-       $(ASSEMBLE) --output_file=c62_TaskSupport_asm.obj
-
-timer64_Timer_asm.obj: timers/timer64/Timer_asm.s64P makefile
-       @-$(call RM, $@)
-       $(ASSEMBLE) --output_file=timer64_Timer_asm.obj
-
-
-BIOS.obj: BIOS.c family/c64p/Exception.c family/c64p/Hwi.c family/c64p/Hwi_startup.c family/c64p/TimestampProvider.c family/c64p/Cache.c knl/Clock.c knl/Idle.c knl/Intrinsics.c knl/Event.c knl/Queue.c knl/Semaphore.c knl/Swi.c knl/Swi_andn.c knl/Task.c hal/Hwi.c hal/Hwi_stack.c hal/Hwi_startup.c gates/GateHwi.c gates/GateMutex.c family/c62/TaskSupport.c family/c62/IntrinsicsSupport.c heaps/HeapMem.c utils/Load.c utils/Load_CPU.c timers/timer64/Timer.c family/c64p/primus/TimerSupport.c makefile
-       @-$(call RM, $@)
-       @echo cle674 $< ...
-       @$(CC) $(BIOS_DEFS) $(XOPTS) $(INCS) \
-       $(BIOS_ROOT)BIOS.c \
-       $(BIOS_ROOT)family/c64p/Exception.c \
-       $(BIOS_ROOT)family/c64p/Hwi.c \
-       $(BIOS_ROOT)family/c64p/Hwi_startup.c \
-       $(BIOS_ROOT)family/c64p/TimestampProvider.c \
-       $(BIOS_ROOT)family/c64p/Cache.c \
-       $(BIOS_ROOT)knl/Clock.c \
-       $(BIOS_ROOT)knl/Idle.c \
-       $(BIOS_ROOT)knl/Intrinsics.c \
-       $(BIOS_ROOT)knl/Event.c \
-       $(BIOS_ROOT)knl/Queue.c \
-       $(BIOS_ROOT)knl/Semaphore.c \
-       $(BIOS_ROOT)knl/Swi.c \
-       $(BIOS_ROOT)knl/Swi_andn.c \
-       $(BIOS_ROOT)knl/Task.c \
-       $(BIOS_ROOT)hal/Hwi.c \
-       $(BIOS_ROOT)hal/Hwi_stack.c \
-       $(BIOS_ROOT)hal/Hwi_startup.c \
-       $(BIOS_ROOT)gates/GateHwi.c \
-       $(BIOS_ROOT)gates/GateMutex.c \
-       $(BIOS_ROOT)family/c62/TaskSupport.c \
-       $(BIOS_ROOT)family/c62/IntrinsicsSupport.c \
-       $(BIOS_ROOT)heaps/HeapMem.c \
-       $(BIOS_ROOT)utils/Load.c \
-       $(BIOS_ROOT)utils/Load_CPU.c \
-       $(BIOS_ROOT)timers/timer64/Timer.c \
-       $(BIOS_ROOT)family/c64p/primus/TimerSupport.c \
-
-sysbios.ae674: BIOS.obj c64p_Exception_asm.obj c64p_Hwi_asm.obj c64p_Hwi_asm_switch.obj c64p_Hwi_disp_always.obj c62_TaskSupport_asm.obj timer64_Timer_asm.obj
-       @-$(call RM, $@)
-       @echo are674 $^ ...
-       @$(AR) $@ $^
-
-
-clean:
-       @$(DEL) ..\makefile.libs
-       @-$(call RM, *)
index 98cf3e7b6e75dee7d39d5c33140570b993dc54a4..fdeaca49cf5b1b639dd7b9f2366ffbc3dffb048f 100644 (file)
@@ -43,8 +43,8 @@ ifeq ($(OS), Linux)
 RM := rm -f\r
 RMDIR := rm -d -f -r\r
 else\r
-RM := DEL /F\r
-RMDIR := RMDIR /S/Q\r
+RM := rm -f\r
+RMDIR := rm -r -f\r
 endif\r
 \r
 # All of the sources participating in the build are defined here\r
@@ -78,12 +78,23 @@ GEN_FILES += \
 ./configPkg/linker.cmd \\r
 ./configPkg/compiler.opt \r
 \r
+ifeq ($(OS), Linux)\r
+GEN_FILES__QUOTED += \\r
+"configPkg/linker.cmd" \\r
+"configPkg/compiler.opt" \r
+GEN_MISC_DIRS__QUOTED += \\r
+"configPkg/" \r
+DEPEND_FILES = "main.d" "components/clk.d" "components/fil.d" "components/sys.d" "components/sysasnr.d" "components/sysbf.d" "components/sysbfflt.d" "components/syseram.d" "components/sysiram.d" "components/sysmss.d" "components/sysvau.d" "components/mhm/src/mhm.d" "components/mss/src/mss.d" "components/mss/src/mssproc.d" \r
+OBJECT_FILES = "main.obj" "components/clk.obj" "components/fil.obj" "components/sys.obj" "components/sysasnr.obj" "components/sysbf.obj" "components/sysbfflt.obj" "components/syseram.obj" "components/sysiram.obj" "components/sysmss.obj" "components/sysvau.obj" "components/mhm/src/mhm.obj" "components/mss/src/mss.obj" "components/mss/src/mssproc.obj" \r
+else\r
 GEN_FILES__QUOTED += \\r
 "configPkg\linker.cmd" \\r
 "configPkg\compiler.opt" \r
-\r
 GEN_MISC_DIRS__QUOTED += \\r
-"configPkg\" \r
+"configPkg" \r
+DEPEND_FILES = "main.d" "components\clk.d" "components\fil.d" "components\sys.d" "components\sysasnr.d" "components\sysbf.d" "components\sysbfflt.d" "components\syseram.d" "components\sysiram.d" "components\sysmss.d" "components\sysvau.d" "components\mhm\src\mhm.d" "components\mss\src\mss.d" "components\mss\src\mssproc.d" \r
+OBJECT_FILES = "main.obj" "components\clk.obj" "components\fil.obj" "components\sys.obj" "components\sysasnr.obj" "components\sysbf.obj" "components\sysbfflt.obj" "components\syseram.obj" "components\sysiram.obj" "components\sysmss.obj" "components\sysvau.obj" "components\mhm\src\mhm.obj" "components\mss\src\mss.obj" "components\mss\src\mssproc.obj" \r
+endif\r
 \r
 C_DEPS__QUOTED += \\r
 "main.d" \r
@@ -472,8 +483,8 @@ K2G_bf.hex: $(EXE_OUTPUTS)
 clean:\r
        -$(RM) $(GEN_MISC_FILES__QUOTED)$(EXE_OUTPUTS__QUOTED)$(GEN_FILES__QUOTED)$(BIN_OUTPUTS__QUOTED)$(GEN_OPTS__QUOTED)$(GEN_CMDS__QUOTED)\r
        -$(RMDIR) $(GEN_MISC_DIRS__QUOTED)\r
-       -$(RM) "main.d" "components\clk.d" "components\fil.d" "components\sys.d" "components\sysasnr.d" "components\sysbf.d" "components\sysbfflt.d" "components\syseram.d" "components\sysiram.d" "components\sysmss.d" "components\sysvau.d" "components\mhm\src\mhm.d" "components\mss\src\mss.d" "components\mss\src\mssproc.d" \r
-       -$(RM) "main.obj" "components\clk.obj" "components\fil.obj" "components\sys.obj" "components\sysasnr.obj" "components\sysbf.obj" "components\sysbfflt.obj" "components\syseram.obj" "components\sysiram.obj" "components\sysmss.obj" "components\sysvau.obj" "components\mhm\src\mhm.obj" "components\mss\src\mss.obj" "components\mss\src\mssproc.obj" \r
+       -$(RM) ${DEPEND_FILES} \r
+       -$(RM) ${OBJECT_FILES}\r
        -@echo 'Finished clean'\r
        -@echo ' '\r
 \r
diff --git a/file_demo_bios/k2g/src/makefile.libs b/file_demo_bios/k2g/src/makefile.libs
deleted file mode 100644 (file)
index ae05ee2..0000000
+++ /dev/null
@@ -1,62 +0,0 @@
-#
-# This file was generated based on the configuration script:
-#     C:\ti\processor_sdk_rtos_k2g_3_00_00_04\demos\audio-preprocessing-fw\file_demo_bios\k2g\app.cfg
-#
-# This makefile may be included in other makefiles that need to build
-# the libraries containing the compiled source files generated as
-# part of the configuration step.
-
-#
-# ======== GEN_SRC_DIR =========
-# The path to the sources generated during configuration
-#
-# This path must be either absolute or relative to the build directory.
-#
-# The absolute path to the generated source directory (at the time the
-# sources were generated) is:
-#    C:\ti\processor_sdk_rtos_k2g_3_00_00_04\demos\audio-preprocessing-fw\file_demo_bios\k2g\src
-#
-GEN_SRC_DIR ?= ../src
-
-ifeq (,$(wildcard $(GEN_SRC_DIR)))
-$(error "ERROR: GEN_SRC_DIR must be set to the directory containing the generated sources")
-endif
-
-#
-# ======== .force ========
-# The .force goal is used to force the build of any goal that names it as
-# a prerequisite
-#
-.PHONY: .force
-      
-#
-# ======== library macros ========
-#
-sysbios_SRC = $(GEN_SRC_DIR)/sysbios
-sysbios_LIB = $(GEN_SRC_DIR)/sysbios/sysbios.ae66
-
-#
-# ======== dependencies ========
-#
-all: $(sysbios_LIB)
-clean: .sysbios_clean
-
-
-# ======== convenient build goals ========
-.PHONY: sysbios
-sysbios: $(GEN_SRC_DIR)/sysbios/sysbios.ae66
-
-# CDT managed make executables depend on $(OBJS)
-OBJS += $(sysbios_LIB)
-
-#
-# ======== rules ========
-#
-$(sysbios_LIB): .force 
-       @echo making $@ ...
-       @$(MAKE) -C $(sysbios_SRC)
-
-.sysbios_clean:
-       @echo cleaning $(sysbios_SRC) ...
-       -@$(MAKE) --no-print-directory -C $(sysbios_SRC) clean
-
diff --git a/file_demo_bios/k2g/src/sysbios/makefile b/file_demo_bios/k2g/src/sysbios/makefile
deleted file mode 100644 (file)
index 7132c97..0000000
+++ /dev/null
@@ -1,104 +0,0 @@
-
-XOPTS = -I"${XDC_INSTALL_PATH}/packages/" -Dxdc_target_types__=${BIOS_INSTALL_PATH}/packages/ti/targets/elf/std.h -Dxdc_target_name__=C66
-
-vpath % ${BIOS_INSTALL_PATH}/packages/ti/sysbios/
-vpath %.c ${XDC_INSTALL_PATH}/packages/
-
-CCOPTS    = -mv6600 --abi=eabi -q -mi10 -mo -pdr -pden -pds=238 -pds=880 -pds1110  --program_level_compile -o3 -g --optimize_with_debug  -Dti_sysbios_knl_Task_minimizeLatency__D=FALSE -Dti_sysbios_family_c64p_Exception_enableExternalMPC__D=FALSE -Dti_sysbios_family_c64p_Exception_enablePrint__D=TRUE -Dti_sysbios_knl_Clock_stopCheckNext__D=FALSE
-
-XDC_ROOT  = ${XDC_INSTALL_PATH}/packages/
-
-BIOS_ROOT = ${BIOS_INSTALL_PATH}/packages/ti/sysbios/
-
-BIOS_DEFS =  -Dti_sysbios_BIOS_swiEnabled__D=TRUE -Dti_sysbios_BIOS_taskEnabled__D=TRUE -Dti_sysbios_BIOS_clockEnabled__D=TRUE -Dti_sysbios_BIOS_runtimeCreatesEnabled__D=TRUE -Dti_sysbios_hal_Hwi_DISABLE_ALL_HOOKS -Dti_sysbios_knl_Swi_DISABLE_ALL_HOOKS -Dti_sysbios_BIOS_smpEnabled__D=FALSE -Dti_sysbios_Build_useHwiMacros -Dti_sysbios_knl_Swi_numPriorities__D=16 -Dti_sysbios_knl_Task_deleteTerminatedTasks__D=FALSE -Dti_sysbios_knl_Task_numPriorities__D=16 -Dti_sysbios_knl_Task_checkStackFlag__D=TRUE -Dti_sysbios_knl_Task_initStackFlag__D=TRUE -Dti_sysbios_knl_Task_DISABLE_ALL_HOOKS -Dti_sysbios_knl_Clock_TICK_SOURCE=ti_sysbios_knl_Clock_TickSource_TIMER -Dti_sysbios_knl_Clock_TICK_MODE=ti_sysbios_knl_Clock_TickMode_PERIODIC -Dti_sysbios_hal_Core_delegate_getId=ti_sysbios_hal_CoreNull_getId__E -Dti_sysbios_hal_Core_delegate_interruptCore=ti_sysbios_hal_CoreNull_interruptCore__E -Dti_sysbios_hal_Core_delegate_lock=ti_sysbios_hal_CoreNull_lock__E -Dti_sysbios_hal_Core_delegate_unlock=ti_sysbios_hal_CoreNull_unlock__E -Dti_sysbios_hal_Core_numCores__D=1 -Dti_sysbios_hal_CoreNull_numCores__D=1 -Dti_sysbios_utils_Load_taskEnabled__D=FALSE -Dti_sysbios_utils_Load_swiEnabled__D=FALSE -Dti_sysbios_utils_Load_hwiEnabled__D=FALSE -Dti_sysbios_family_c64p_Hwi_dispatcherSwiSupport__D=TRUE -Dti_sysbios_family_c64p_Hwi_dispatcherTaskSupport__D=TRUE -Dti_sysbios_family_c64p_Hwi_dispatcherAutoNestingSupport__D=TRUE -Dti_sysbios_family_c64p_Hwi_dispatcherIrpTrackingSupport__D=TRUE -Dti_sysbios_knl_Semaphore_supportsEvents__D=FALSE -Dti_sysbios_knl_Semaphore_supportsPriority__D=TRUE
-
-BIOS_INC  = -I"${BIOS_INSTALL_PATH}/packages/"
-
-TARGET_INC = -I"${BIOS_INSTALL_PATH}/packages/"
-
-INCS = $(BIOS_INC) $(TARGET_INC)  
-
-CC = ${C6X_GEN_INSTALL_PATH}/bin/cl6x -c $(CCOPTS) -I ${C6X_GEN_INSTALL_PATH}/include
-ASM = ${C6X_GEN_INSTALL_PATH}/bin/cl6x -c $(CCOPTS) -I ${C6X_GEN_INSTALL_PATH}/include
-AR = ${C6X_GEN_INSTALL_PATH}/bin/ar6x rq
-
-DEL = ${XDC_INSTALL_PATH}/packages/../bin/rm -f
-CP = ${XDC_INSTALL_PATH}/packages/../bin/cp -f
-
-define RM
-       $(if $(wildcard $1),$(DEL) $1,:)
-endef
-
-define ASSEMBLE
-       @echo asme66 $< ...
-       @$(ASM) $(BIOS_DEFS) $(XOPTS) $(INCS) $<
-endef
-
-all: sysbios.ae66
-
-c64p_Exception_asm.obj: family/c64p/Exception_asm.s64P makefile
-       @-$(call RM, $@)
-       $(ASSEMBLE) --output_file=c64p_Exception_asm.obj
-
-c64p_Hwi_asm.obj: family/c64p/Hwi_asm.s62 makefile
-       @-$(call RM, $@)
-       $(ASSEMBLE) --output_file=c64p_Hwi_asm.obj
-
-c64p_Hwi_asm_switch.obj: family/c64p/Hwi_asm_switch.s62 makefile
-       @-$(call RM, $@)
-       $(ASSEMBLE) --output_file=c64p_Hwi_asm_switch.obj
-
-c64p_Hwi_disp_always.obj: family/c64p/Hwi_disp_always.s64P makefile
-       @-$(call RM, $@)
-       $(ASSEMBLE) --output_file=c64p_Hwi_disp_always.obj
-
-c62_TaskSupport_asm.obj: family/c62/TaskSupport_asm.s62 makefile
-       @-$(call RM, $@)
-       $(ASSEMBLE) --output_file=c62_TaskSupport_asm.obj
-
-timer64_Timer_asm.obj: timers/timer64/Timer_asm.s64P makefile
-       @-$(call RM, $@)
-       $(ASSEMBLE) --output_file=timer64_Timer_asm.obj
-
-
-BIOS.obj: BIOS.c family/c64p/Exception.c family/c64p/Hwi.c family/c64p/Hwi_startup.c family/c64p/TimestampProvider.c knl/Clock.c knl/Idle.c knl/Intrinsics.c knl/Event.c knl/Queue.c knl/Semaphore.c knl/Swi.c knl/Swi_andn.c knl/Task.c hal/Hwi.c hal/Hwi_stack.c hal/Hwi_startup.c utils/Load.c utils/Load_CPU.c gates/GateHwi.c gates/GateMutex.c family/c66/Cache.c family/c62/TaskSupport.c family/c62/IntrinsicsSupport.c heaps/HeapMem.c timers/timer64/Timer.c family/c64p/tci6488/TimerSupport.c makefile
-       @-$(call RM, $@)
-       @echo cle66 $< ...
-       @$(CC) $(BIOS_DEFS) $(XOPTS) $(INCS) \
-       $(BIOS_ROOT)BIOS.c \
-       $(BIOS_ROOT)family/c64p/Exception.c \
-       $(BIOS_ROOT)family/c64p/Hwi.c \
-       $(BIOS_ROOT)family/c64p/Hwi_startup.c \
-       $(BIOS_ROOT)family/c64p/TimestampProvider.c \
-       $(BIOS_ROOT)knl/Clock.c \
-       $(BIOS_ROOT)knl/Idle.c \
-       $(BIOS_ROOT)knl/Intrinsics.c \
-       $(BIOS_ROOT)knl/Event.c \
-       $(BIOS_ROOT)knl/Queue.c \
-       $(BIOS_ROOT)knl/Semaphore.c \
-       $(BIOS_ROOT)knl/Swi.c \
-       $(BIOS_ROOT)knl/Swi_andn.c \
-       $(BIOS_ROOT)knl/Task.c \
-       $(BIOS_ROOT)hal/Hwi.c \
-       $(BIOS_ROOT)hal/Hwi_stack.c \
-       $(BIOS_ROOT)hal/Hwi_startup.c \
-       $(BIOS_ROOT)utils/Load.c \
-       $(BIOS_ROOT)utils/Load_CPU.c \
-       $(BIOS_ROOT)gates/GateHwi.c \
-       $(BIOS_ROOT)gates/GateMutex.c \
-       $(BIOS_ROOT)family/c66/Cache.c \
-       $(BIOS_ROOT)family/c62/TaskSupport.c \
-       $(BIOS_ROOT)family/c62/IntrinsicsSupport.c \
-       $(BIOS_ROOT)heaps/HeapMem.c \
-       $(BIOS_ROOT)timers/timer64/Timer.c \
-       $(BIOS_ROOT)family/c64p/tci6488/TimerSupport.c \
-
-sysbios.ae66: BIOS.obj c64p_Exception_asm.obj c64p_Hwi_asm.obj c64p_Hwi_asm_switch.obj c64p_Hwi_disp_always.obj c62_TaskSupport_asm.obj timer64_Timer_asm.obj
-       @-$(call RM, $@)
-       @echo are66 $^ ...
-       @$(AR) $@ $^
-
-
-clean:
-       @$(DEL) ..\makefile.libs
-       @-$(call RM, *)