################################################################################
# Automatically-generated file. Do not edit!
################################################################################

SHELL = cmd.exe

CG_TOOL_ROOT := C:/CCStudio_V7/ccsv7/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update

GEN_OPTS__FLAG := 
GEN_CMDS__FLAG := 

ORDERED_OBJS += \
"./main.o" \
"./sbl_avs_config.o" \
"./sbl_prcm.o" \
"./sbl_slave_core_boot.o" \
-Wl,-T"../linker.cmd" \
$(GEN_CMDS__FLAG) \
-Wl,--start-group \
-lgcc \
-lm \
-lnosys \
-lc \
-lc \
-l:ti.board.aa15fg \
-l:ti.csl.aa15fg \
-l:ti.csl.init.aa15fg \
-l:ti.osal.aa15fg \
-l:ti.drv.uart.aa15fg \
-l:ti.drv.i2c.aa15fg \
-l:ti.drv.spi.aa15fg \
-l:ti.drv.mmcsd.aa15fg \
-l:ti.fs.fatfs.aa15fg \
-l:syscalls.aa15fg \
-Wl,--end-group \

-include ../makefile.init

RM := DEL /F
RMDIR := RMDIR /S/Q

# All of the sources participating in the build are defined here
-include sources.mk
-include subdir_vars.mk
-include subdir_rules.mk
-include objects.mk

ifneq ($(MAKECMDGOALS),clean)
ifneq ($(strip $(C55_DEPS)),)
-include $(C55_DEPS)
endif
ifneq ($(strip $(C_UPPER_DEPS)),)
-include $(C_UPPER_DEPS)
endif
ifneq ($(strip $(S67_DEPS)),)
-include $(S67_DEPS)
endif
ifneq ($(strip $(S62_DEPS)),)
-include $(S62_DEPS)
endif
ifneq ($(strip $(S_DEPS)),)
-include $(S_DEPS)
endif
ifneq ($(strip $(OPT_DEPS)),)
-include $(OPT_DEPS)
endif
ifneq ($(strip $(C??_DEPS)),)
-include $(C??_DEPS)
endif
ifneq ($(strip $(ASM_UPPER_DEPS)),)
-include $(ASM_UPPER_DEPS)
endif
ifneq ($(strip $(S??_DEPS)),)
-include $(S??_DEPS)
endif
ifneq ($(strip $(C64_DEPS)),)
-include $(C64_DEPS)
endif
ifneq ($(strip $(CXX_DEPS)),)
-include $(CXX_DEPS)
endif
ifneq ($(strip $(S64_DEPS)),)
-include $(S64_DEPS)
endif
ifneq ($(strip $(INO_DEPS)),)
-include $(INO_DEPS)
endif
ifneq ($(strip $(CLA_DEPS)),)
-include $(CLA_DEPS)
endif
ifneq ($(strip $(S55_DEPS)),)
-include $(S55_DEPS)
endif
ifneq ($(strip $(SV7A_DEPS)),)
-include $(SV7A_DEPS)
endif
ifneq ($(strip $(C62_DEPS)),)
-include $(C62_DEPS)
endif
ifneq ($(strip $(C67_DEPS)),)
-include $(C67_DEPS)
endif
ifneq ($(strip $(PDE_DEPS)),)
-include $(PDE_DEPS)
endif
ifneq ($(strip $(K_DEPS)),)
-include $(K_DEPS)
endif
ifneq ($(strip $(C_DEPS)),)
-include $(C_DEPS)
endif
ifneq ($(strip $(CC_DEPS)),)
-include $(CC_DEPS)
endif
ifneq ($(strip $(C++_DEPS)),)
-include $(C++_DEPS)
endif
ifneq ($(strip $(C43_DEPS)),)
-include $(C43_DEPS)
endif
ifneq ($(strip $(S43_DEPS)),)
-include $(S43_DEPS)
endif
ifneq ($(strip $(ASM_DEPS)),)
-include $(ASM_DEPS)
endif
ifneq ($(strip $(S_UPPER_DEPS)),)
-include $(S_UPPER_DEPS)
endif
ifneq ($(strip $(CPP_DEPS)),)
-include $(CPP_DEPS)
endif
ifneq ($(strip $(SA_DEPS)),)
-include $(SA_DEPS)
endif
endif

-include ../makefile.defs

# Add inputs and outputs from these tool invocations to the build variables 
EXE_OUTPUTS += \
SBL.out \

EXE_OUTPUTS__QUOTED += \
"SBL.out" \

BIN_OUTPUTS += \
SBL.hex \

BIN_OUTPUTS__QUOTED += \
"SBL.hex" \


# All Target
all: $(OBJS) $(CMD_SRCS) $(GEN_CMDS)
	@$(MAKE) --no-print-directory -Onone "SBL.out"

# Tool invocations
SBL.out: $(OBJS) $(CMD_SRCS) $(GEN_CMDS)
	@echo 'Building target: $@'
	@echo 'Invoking: GNU Linker'
	"C:/CCStudio_V7/ccsv7/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -DidkAM571x -DSOC_AM571x -DIDK_AM571X -O2 -Wall -Wl,-Map,"SBL.map" -L"C:/ti/pdk_am57xx_1_0_6/packages/ti/board/lib/idkAM571x/a15/release" -L"C:/ti/pdk_am57xx_1_0_6/packages/ti/csl/lib/am571x/a15/release" -L"C:/ti/pdk_am57xx_1_0_6/packages/ti/osal/lib/nonos/am571x/a15/release" -L"C:/ti/pdk_am57xx_1_0_6/packages/ti/drv/uart/lib/am571x/a15/release" -L"C:/ti/pdk_am57xx_1_0_6/packages/ti/drv/i2c/lib/am571x/a15/release" -L"C:/ti/pdk_am57xx_1_0_6/packages/ti/drv/spi/lib/am571x/a15/release" -L"C:/ti/pdk_am57xx_1_0_6/packages/ti/drv/mmcsd/lib/am571x/a15/release" -L"C:/ti/pdk_am57xx_1_0_6/packages/ti/fs/fatfs/lib/a15/release" -L"C:/ti/bios_6_46_04_53/packages/gnu/targets/arm/rtsv7A/lib" -o"SBL.out" $(ORDERED_OBJS)
	@echo 'Finished building target: $@'
	@echo ' '

SBL.hex: $(EXE_OUTPUTS)
	@echo 'Invoking: GNU Objcopy Utility'
	"C:/CCStudio_V7/ccsv7/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-objcopy.exe"  $(EXE_OUTPUTS__QUOTED) "SBL.hex"
	@echo 'Finished building: $@'
	@echo ' '

# Other Targets
clean:
	-$(RM) $(BIN_OUTPUTS__QUOTED)$(EXE_OUTPUTS__QUOTED)
	-$(RM) "main.o" "sbl_avs_config.o" "sbl_prcm.o" "sbl_slave_core_boot.o" 
	-$(RM) "main.d" "sbl_avs_config.d" "sbl_prcm.d" "sbl_slave_core_boot.d" 
	-@echo 'Finished clean'
	-@echo ' '

.PHONY: all clean dependents
.SECONDARY:

-include ../makefile.targets

