#  This is a generated file.
#
#  Do not edit this file. Any modifications to this file
#  will be overwritten whenever makefiles are re-generated.
#
#  template: ti.sysbios/makefile_gccArmLto.xdt
#  target: gnu.targets.arm.A53F

vpath % C:/ti/bios_6_75_02_00/packages/ti/sysbios/
vpath %.c C:/ti/ccs910/xdctools_3_55_02_22_core/packages/

XOPTS = -I"C:/ti/ccs910/xdctools_3_55_02_22_core/packages/" -Dxdc_target_types__=C:/ti/bios_6_75_02_00/packages/gnu/targets/arm/std.h -Dxdc_target_name__=A53F

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_knl_Task_moduleStateCheckFlag__D=FALSE -Dti_sysbios_knl_Task_objectCheckFlag__D=FALSE -Dti_sysbios_hal_Hwi_DISABLE_ALL_HOOKS -Dti_sysbios_knl_Swi_DISABLE_ALL_HOOKS -Dti_sysbios_BIOS_smpEnabled__D=FALSE -Dti_sysbios_BIOS_mpeEnabled__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=TRUE -Dti_sysbios_utils_Load_swiEnabled__D=FALSE -Dti_sysbios_utils_Load_hwiEnabled__D=FALSE -Dti_sysbios_family_arm_gicv3_Hwi_dispatcherSwiSupport__D=TRUE -Dti_sysbios_family_arm_gicv3_Hwi_dispatcherTaskSupport__D=TRUE -Dti_sysbios_family_arm_gicv3_Hwi_dispatcherAutoNestingSupport__D=TRUE -Dti_sysbios_family_arm_gicv3_Hwi_dispatcherIrpTrackingSupport__D=TRUE -Dti_sysbios_knl_Semaphore_supportsEvents__D=FALSE -Dti_sysbios_knl_Semaphore_supportsPriority__D=TRUE 

CCOPTS = -Wunused -Wunknown-pragmas -ffunction-sections -fdata-sections  -mcpu=cortex-a53+fp+simd -mabi=lp64 -mcmodel=large -mstrict-align -mfix-cortex-a53-835769 -mfix-cortex-a53-843419 -g  -O3 -Dfar= -D__DYNAMIC_REENT__   -Dti_sysbios_family_arm_gicv3_Hwi_enableSecureMode__D=FALSE -Dti_sysbios_family_arm_gicv3_Hwi_gicdBaseAddress__D=25165824 -Dti_sysbios_family_arm_gicv3_Hwi_gicrBaseAddress__D=25690112 -Dti_sysbios_knl_Clock_stopCheckNext__D=FALSE -Dti_sysbios_family_arm_gicv3_Hwi_initGicd__D=TRUE -Dti_sysbios_family_arm_v8a_Core_bootMaster__D=TRUE -Dti_sysbios_family_arm_v8a_Core_baseClusterId__D=0 -Dti_sysbios_family_arm_v8a_Timer_vlabErrata__D=FALSE -Dti_sysbios_knl_Task_minimizeLatency__D=FALSE

BIOS_INC = -I"C:/ti/bios_6_75_02_00/packages/"
ANNEX_INCS = 
INCS = $(BIOS_INC) $(ANNEX_INCS) -I"C:/ti/bios_6_75_02_00/packages/" -I"C:/ti/pdk_am65xx_1_0_5/packages/" -I"C:/ti/ipc_3_50_03_05/packages/" -I"C:/ti/uia_2_30_01_02/packages/" -I"C:/ti/ccs910/xdctools_3_55_02_22_core/packages/" -I"../" -I"/packages//"  

CC = C:/ti/gcc-linaro-7.2.1-2017.11-i686-mingw32_aarch64-elf/bin/aarch64-elf-gcc -c -MD -MF $@.dep $(CCOPTS)
ASM = C:/ti/gcc-linaro-7.2.1-2017.11-i686-mingw32_aarch64-elf/bin/aarch64-elf-gcc -c -x assembler-with-cpp $(CCOPTS)
AR = C:/ti/gcc-linaro-7.2.1-2017.11-i686-mingw32_aarch64-elf/bin/aarch64-elf-ar cr

DEL = C:/ti/ccs910/xdctools_3_55_02_22_core/packages/../bin/rm -f
CP = C:/ti/ccs910/xdctools_3_55_02_22_core/packages/../bin/cp -f

define RM
	$(if $(wildcard $1),$(DEL) $1,:)
endef

define ASSEMBLE
	@echo asma53fg $< ...
	@$(ASM) $(BIOS_DEFS) $(XOPTS) $(INCS) $<
endef

define COMPILE
	@echo cla53fg $< ...
	@$(CC) $(BIOS_DEFS) $(XOPTS) $(INCS) $<
endef


all: sysbios.aa53fg

arm_IntrinsicsSupport_asm_gnu.o: family/arm/IntrinsicsSupport_asm_gnu.sv8A makefile
	@-$(call RM, $@)
	$(ASSEMBLE) -o arm_IntrinsicsSupport_asm_gnu.o

gicv3_Hwi_asm_gnu.o: family/arm/gicv3/Hwi_asm_gnu.sv8A makefile
	@-$(call RM, $@)
	$(ASSEMBLE) -o gicv3_Hwi_asm_gnu.o

gicv3_Hwi_asm_switch_gnu.o: family/arm/gicv3/Hwi_asm_switch_gnu.sv8A makefile
	@-$(call RM, $@)
	$(ASSEMBLE) -o gicv3_Hwi_asm_switch_gnu.o

gicv3_Hwi_asm_vecs_gnu.o: family/arm/gicv3/Hwi_asm_vecs_gnu.sv8A makefile
	@-$(call RM, $@)
	$(ASSEMBLE) -o gicv3_Hwi_asm_vecs_gnu.o

v8a_Cache_asm_gnu.o: family/arm/v8a/Cache_asm_gnu.sv8A makefile
	@-$(call RM, $@)
	$(ASSEMBLE) -o v8a_Cache_asm_gnu.o

v8a_Core_asm_gnu.o: family/arm/v8a/Core_asm_gnu.sv8A makefile
	@-$(call RM, $@)
	$(ASSEMBLE) -o v8a_Core_asm_gnu.o

v8a_TaskSupport_asm_gnu.o: family/arm/v8a/TaskSupport_asm_gnu.sv8A makefile
	@-$(call RM, $@)
	$(ASSEMBLE) -o v8a_TaskSupport_asm_gnu.o

v8a_Timer_asm_gnu.o: family/arm/v8a/Timer_asm_gnu.sv8A makefile
	@-$(call RM, $@)
	$(ASSEMBLE) -o v8a_Timer_asm_gnu.o

v8a_TimestampProvider_asm_gnu.o: family/arm/v8a/TimestampProvider_asm_gnu.sv8A makefile
	@-$(call RM, $@)
	$(ASSEMBLE) -o v8a_TimestampProvider_asm_gnu.o

dmtimer_Timer_asm_gnu.o: timers/dmtimer/Timer_asm_gnu.sv8A makefile
	@-$(call RM, $@)
	$(ASSEMBLE) -o dmtimer_Timer_asm_gnu.o


_BIOS.o: BIOS.c makefile
	@-$(call RM, _BIOS.o)
	$(COMPILE) -o _BIOS.o
arm_IntrinsicsSupport.o: family/arm/IntrinsicsSupport.c makefile
	@-$(call RM, arm_IntrinsicsSupport.o)
	$(COMPILE) -o arm_IntrinsicsSupport.o
knl_Clock.o: knl/Clock.c makefile
	@-$(call RM, knl_Clock.o)
	$(COMPILE) -o knl_Clock.o
knl_Idle.o: knl/Idle.c makefile
	@-$(call RM, knl_Idle.o)
	$(COMPILE) -o knl_Idle.o
knl_Intrinsics.o: knl/Intrinsics.c makefile
	@-$(call RM, knl_Intrinsics.o)
	$(COMPILE) -o knl_Intrinsics.o
knl_Queue.o: knl/Queue.c makefile
	@-$(call RM, knl_Queue.o)
	$(COMPILE) -o knl_Queue.o
knl_Semaphore.o: knl/Semaphore.c makefile
	@-$(call RM, knl_Semaphore.o)
	$(COMPILE) -o knl_Semaphore.o
knl_Swi.o: knl/Swi.c makefile
	@-$(call RM, knl_Swi.o)
	$(COMPILE) -o knl_Swi.o
knl_Task.o: knl/Task.c makefile
	@-$(call RM, knl_Task.o)
	$(COMPILE) -o knl_Task.o
gates_GateHwi.o: gates/GateHwi.c makefile
	@-$(call RM, gates_GateHwi.o)
	$(COMPILE) -o gates_GateHwi.o
gates_GateAll.o: gates/GateAll.c makefile
	@-$(call RM, gates_GateAll.o)
	$(COMPILE) -o gates_GateAll.o
gates_GateSwi.o: gates/GateSwi.c makefile
	@-$(call RM, gates_GateSwi.o)
	$(COMPILE) -o gates_GateSwi.o
gates_GateMutexPri.o: gates/GateMutexPri.c makefile
	@-$(call RM, gates_GateMutexPri.o)
	$(COMPILE) -o gates_GateMutexPri.o
gates_GateMutex.o: gates/GateMutex.c makefile
	@-$(call RM, gates_GateMutex.o)
	$(COMPILE) -o gates_GateMutex.o
syncs_SyncSem.o: syncs/SyncSem.c makefile
	@-$(call RM, syncs_SyncSem.o)
	$(COMPILE) -o syncs_SyncSem.o
heaps_HeapMem.o: heaps/HeapMem.c makefile
	@-$(call RM, heaps_HeapMem.o)
	$(COMPILE) -o heaps_HeapMem.o
hal_Cache.o: hal/Cache.c makefile
	@-$(call RM, hal_Cache.o)
	$(COMPILE) -o hal_Cache.o
hal_Hwi.o: hal/Hwi.c makefile
	@-$(call RM, hal_Hwi.o)
	$(COMPILE) -o hal_Hwi.o
hal_Hwi_stack.o: hal/Hwi_stack.c makefile
	@-$(call RM, hal_Hwi_stack.o)
	$(COMPILE) -o hal_Hwi_stack.o
hal_Hwi_startup.o: hal/Hwi_startup.c makefile
	@-$(call RM, hal_Hwi_startup.o)
	$(COMPILE) -o hal_Hwi_startup.o
gicv3_Hwi.o: family/arm/gicv3/Hwi.c makefile
	@-$(call RM, gicv3_Hwi.o)
	$(COMPILE) -o gicv3_Hwi.o
v8a_Cache.o: family/arm/v8a/Cache.c makefile
	@-$(call RM, v8a_Cache.o)
	$(COMPILE) -o v8a_Cache.o
v8a_Core.o: family/arm/v8a/Core.c makefile
	@-$(call RM, v8a_Core.o)
	$(COMPILE) -o v8a_Core.o
v8a_Mmu.o: family/arm/v8a/Mmu.c makefile
	@-$(call RM, v8a_Mmu.o)
	$(COMPILE) -o v8a_Mmu.o
v8a_TaskSupport.o: family/arm/v8a/TaskSupport.c makefile
	@-$(call RM, v8a_TaskSupport.o)
	$(COMPILE) -o v8a_TaskSupport.o
v8a_Timer.o: family/arm/v8a/Timer.c makefile
	@-$(call RM, v8a_Timer.o)
	$(COMPILE) -o v8a_Timer.o
v8a_TimestampProvider.o: family/arm/v8a/TimestampProvider.c makefile
	@-$(call RM, v8a_TimestampProvider.o)
	$(COMPILE) -o v8a_TimestampProvider.o
dmtimer_Timer.o: timers/dmtimer/Timer.c makefile
	@-$(call RM, dmtimer_Timer.o)
	$(COMPILE) -o dmtimer_Timer.o
a15_TimerSupport.o: family/arm/a15/TimerSupport.c makefile
	@-$(call RM, a15_TimerSupport.o)
	$(COMPILE) -o a15_TimerSupport.o
xdcruntime_GateThreadSupport.o: xdcruntime/GateThreadSupport.c makefile
	@-$(call RM, xdcruntime_GateThreadSupport.o)
	$(COMPILE) -o xdcruntime_GateThreadSupport.o

sysbios.aa53fg: arm_IntrinsicsSupport_asm_gnu.o gicv3_Hwi_asm_gnu.o gicv3_Hwi_asm_switch_gnu.o gicv3_Hwi_asm_vecs_gnu.o v8a_Cache_asm_gnu.o v8a_Core_asm_gnu.o v8a_TaskSupport_asm_gnu.o v8a_Timer_asm_gnu.o v8a_TimestampProvider_asm_gnu.o dmtimer_Timer_asm_gnu.o _BIOS.o arm_IntrinsicsSupport.o knl_Clock.o knl_Idle.o knl_Intrinsics.o knl_Queue.o knl_Semaphore.o knl_Swi.o knl_Task.o gates_GateHwi.o gates_GateAll.o gates_GateSwi.o gates_GateMutexPri.o gates_GateMutex.o syncs_SyncSem.o heaps_HeapMem.o hal_Cache.o hal_Hwi.o hal_Hwi_stack.o hal_Hwi_startup.o gicv3_Hwi.o v8a_Cache.o v8a_Core.o v8a_Mmu.o v8a_TaskSupport.o v8a_Timer.o v8a_TimestampProvider.o dmtimer_Timer.o a15_TimerSupport.o xdcruntime_GateThreadSupport.o
	@-$(call RM, $@)
	@echo ara53fg $^ ...
	@$(AR) $@ $^


clean:
	@$(DEL) ..\makefile.libs
	@-$(call RM, *)
