]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - processor-sdk/audio-preprocessing.git/blob - file_demo_bios/am572x/src/sysbios/makefile
07ba108e8772a747c239a8accc9090cdb0f656de
[processor-sdk/audio-preprocessing.git] / file_demo_bios / am572x / src / sysbios / makefile
2 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__=C66
4 vpath % C:/ti/bios_6_45_01_29/packages/ti/sysbios/
5 vpath %.c C:/ti/xdctools_3_32_00_06_core/packages/
7 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
9 XDC_ROOT  = C:/ti/xdctools_3_32_00_06_core/packages/
11 BIOS_ROOT = C:/ti/bios_6_45_01_29/packages/ti/sysbios/
13 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
15 BIOS_INC  = -I"C:/ti/bios_6_45_01_29/packages/"
17 TARGET_INC = -I"C:/ti/bios_6_45_01_29/packages/"
19 INCS = $(BIOS_INC) $(TARGET_INC)  
21 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
22 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
23 AR = C:/ti/ccsv6/tools/compiler/ti-cgt-c6000_8.1.0/bin/ar6x rq
25 DEL = C:/ti/xdctools_3_32_00_06_core/packages/../bin/rm -f
26 CP = C:/ti/xdctools_3_32_00_06_core/packages/../bin/cp -f
28 define RM
29         $(if $(wildcard $1),$(DEL) $1,:)
30 endef
32 define ASSEMBLE
33         @echo asme66 $< ...
34         @$(ASM) $(BIOS_DEFS) $(XOPTS) $(INCS) $<
35 endef
37 all: sysbios.ae66
39 c64p_Exception_asm.obj: family/c64p/Exception_asm.s64P makefile
40         @-$(call RM, $@)
41         $(ASSEMBLE) --output_file=c64p_Exception_asm.obj
43 c64p_Hwi_asm.obj: family/c64p/Hwi_asm.s62 makefile
44         @-$(call RM, $@)
45         $(ASSEMBLE) --output_file=c64p_Hwi_asm.obj
47 c64p_Hwi_asm_switch.obj: family/c64p/Hwi_asm_switch.s62 makefile
48         @-$(call RM, $@)
49         $(ASSEMBLE) --output_file=c64p_Hwi_asm_switch.obj
51 c64p_Hwi_disp_always.obj: family/c64p/Hwi_disp_always.s64P makefile
52         @-$(call RM, $@)
53         $(ASSEMBLE) --output_file=c64p_Hwi_disp_always.obj
55 dmtimer_Timer_asm.obj: timers/dmtimer/Timer_asm.s64P makefile
56         @-$(call RM, $@)
57         $(ASSEMBLE) --output_file=dmtimer_Timer_asm.obj
59 c62_TaskSupport_asm.obj: family/c62/TaskSupport_asm.s62 makefile
60         @-$(call RM, $@)
61         $(ASSEMBLE) --output_file=c62_TaskSupport_asm.obj
64 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
65         @-$(call RM, $@)
66         @echo cle66 $< ...
67         @$(CC) $(BIOS_DEFS) $(XOPTS) $(INCS) \
68         $(BIOS_ROOT)BIOS.c \
69         $(BIOS_ROOT)family/c64p/Exception.c \
70         $(BIOS_ROOT)family/c64p/Hwi.c \
71         $(BIOS_ROOT)family/c64p/Hwi_startup.c \
72         $(BIOS_ROOT)family/c64p/TimestampProvider.c \
73         $(BIOS_ROOT)knl/Clock.c \
74         $(BIOS_ROOT)knl/Idle.c \
75         $(BIOS_ROOT)knl/Intrinsics.c \
76         $(BIOS_ROOT)knl/Event.c \
77         $(BIOS_ROOT)knl/Queue.c \
78         $(BIOS_ROOT)knl/Semaphore.c \
79         $(BIOS_ROOT)knl/Swi.c \
80         $(BIOS_ROOT)knl/Swi_andn.c \
81         $(BIOS_ROOT)knl/Task.c \
82         $(BIOS_ROOT)hal/Hwi.c \
83         $(BIOS_ROOT)hal/Hwi_stack.c \
84         $(BIOS_ROOT)hal/Hwi_startup.c \
85         $(BIOS_ROOT)timers/dmtimer/Timer.c \
86         $(BIOS_ROOT)family/shared/vayu/TimerSupport.c \
87         $(BIOS_ROOT)utils/Load.c \
88         $(BIOS_ROOT)utils/Load_CPU.c \
89         $(BIOS_ROOT)gates/GateHwi.c \
90         $(BIOS_ROOT)gates/GateMutex.c \
91         $(BIOS_ROOT)family/c66/Cache.c \
92         $(BIOS_ROOT)family/c62/TaskSupport.c \
93         $(BIOS_ROOT)family/c62/IntrinsicsSupport.c \
94         $(BIOS_ROOT)heaps/HeapMem.c \
96 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
97         @-$(call RM, $@)
98         @echo are66 $^ ...
99         @$(AR) $@ $^
102 clean:
103         @$(DEL) ..\makefile.libs
104         @-$(call RM, *)