Adding rules.make to makefiles - PSDK5.0
[apps/tidep0079.git] / EC_Master_SysBios_Am572x / Workspace / SYSBIOS_AM57xx / emllICSS / Release / makefile_linux
old mode 100644 (file)
new mode 100755 (executable)
index bf10481..7040b24
@@ -15,9 +15,9 @@ GEN_CMDS__FLAG := "configPkg/linker.cmd"
 ORDERED_OBJS += \
 "./TimerP_tirtos.o" \
 "./UART_soc.o" \
+"./icss_emacFwConfig.o" \
 "./icss_emacSoc.o" \
 "./icss_emac_ec_device.o" \
-"./test_common_utils.o" \
 
 OS := $(shell uname)
 ifeq ($(OS), Linux)
@@ -43,23 +43,22 @@ C_SRCS += \
 $(PDK_INSTALL_PATH)/ti/osal/src/tirtos/TimerP_tirtos.c \
 $(PDK_INSTALL_PATH)/ti/drv/uart/soc/am572x/UART_soc.c \
 $(PDK_INSTALL_PATH)/ti/drv/icss_emac/soc/am572x/icss_emacSoc.c \
-../icss_emac_ec_device.c \
-$(PDK_INSTALL_PATH)/ti/drv/icss_emac/test/src/test_common_utils.c
-
+$(PDK_INSTALL_PATH)/ti/drv/icss_emac/firmware/icss_dualemac/config/icss_emacFwConfig.c \
+../icss_emac_ec_device.c 
 
 OBJS += \
 ./TimerP_tirtos.o \
 ./UART_soc.o \
+./icss_emacFwConfig.o \
 ./icss_emacSoc.o \
-./icss_emac_ec_device.o \
-./test_common_utils.o 
+./icss_emac_ec_device.o 
 
 C_DEPS += \
 ./TimerP_tirtos.d \
 ./UART_soc.d \
+./icss_emacFwConfig.d \
 ./icss_emacSoc.d \
-./icss_emac_ec_device.d \
-./test_common_utils.d 
+./icss_emac_ec_device.d  
 
 GEN_MISC_DIRS += \
 ./configPkg 
@@ -84,30 +83,30 @@ GEN_MISC_DIRS__QUOTED += \
 OBJS__QUOTED += \
 "TimerP_tirtos.o" \
 "UART_soc.o" \
+"icss_emacFwConfig.o" \
 "icss_emacSoc.o" \
-"icss_emac_ec_device.o" \
-"test_common_utils.o" 
+"icss_emac_ec_device.o"
 
 C_DEPS__QUOTED += \
 "TimerP_tirtos.d" \
 "UART_soc.d" \
+"icss_emacFwConfig.d" \
 "icss_emacSoc.d" \
-"icss_emac_ec_device.d" \
-"test_common_utils.d" 
+"icss_emac_ec_device.d"  
 
 C_SRCS__QUOTED += \
 "$(PDK_INSTALL_PATH)/ti/osal/src/tirtos/TimerP_tirtos.c" \
 "$(PDK_INSTALL_PATH)/ti/drv/uart/soc/am572x/UART_soc.c" \
 "$(PDK_INSTALL_PATH)/ti/drv/icss_emac/soc/am572x/icss_emacSoc.c" \
+"$(PDK_INSTALL_PATH)/ti/drv/icss_emac/firmware/icss_dualemac/config/icss_emacFwConfig.c" \
 "../icss_emac_ec_device.c" \
-"$(PDK_INSTALL_PATH)/ti/drv/icss_emac/test/src/test_common_utils.c" 
 
 #-include subdir_rules.mk
 # Each subdirectory must supply rules for building sources it contributes
 configPkg/linker.cmd: ../../EcMasterDemo/EcMaster.cfg
        @echo 'Building file: $<'
        @echo 'Invoking: XDCtools'
-       "$(XDC_INSTALL_PATH)/xs" --xdcpath="$(BIOS_INSTALL_PATH)/packages;$(PDK_INSTALL_PATH);" xdc.tools.configuro -o configPkg -t gnu.targets.arm.A15F -p ti.platforms.evmAM572X -r release -c "$(TOOLCHAIN_PATH_A15)" "$<"
+       "$(XDC_INSTALL_PATH)/xs" --xdcpath="$(BIOS_INSTALL_PATH)/packages;$(PDK_INSTALL_PATH);" xdc.tools.configuro -o configPkg -t gnu.targets.arm.A15F -p ti.platforms.idkAM572X -r release -b "$(PDK_INSTALL_PATH)/ti/build/am572x/config_am572x_a15.bld" -c "$(TOOLCHAIN_PATH_A15)" -DBOARD=idkAM572x "$<"
        @echo 'Finished building: $<'
        @echo ' '
 
@@ -117,37 +116,38 @@ configPkg/: | configPkg/linker.cmd
 TimerP_tirtos.o: $(PDK_INSTALL_PATH)/ti/osal/src/tirtos/TimerP_tirtos.c $(GEN_OPTS) | $(GEN_HDRS)
        @echo 'Building file: $<'
        @echo 'Invoking: GNU Compiler'
-       "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc" -c -mfloat-abi=hard -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -I"../$(PDK_INSTALL_PATH)" -I"$(PDK_INSTALL_PATH)" -I"$(PDK_INSTALL_PATH)/ti/drv/icss_emac" -I"../../../../SDK/INC" -I"../../../../SDK/INC/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"../../../../Sources/LinkOsLayer/SYSBIOS" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -O2 -specs="nosys.specs" -c -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o"$@" $(GEN_OPTS__FLAG) "$<"
+       "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc" -c -mcpu=cortex-a15 -mtune=cortex-a15 -marm -mfloat-abi=hard -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -I"../$(PDK_INSTALL_PATH)" -I"$(PDK_INSTALL_PATH)" -I"$(PDK_INSTALL_PATH)/ti/drv/icss_emac" -I"$(PDK_INSTALL_PATH)/ti/drv/icss_emac/src" -I"../../../../SDK/INC" -I"../../../../SDK/INC/SYSBIOS" -I"../../../../Sources/LinkOsLayer/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include/newlib-nano" -O2 -Wall -finstrument-functions -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o"$@"  $(GEN_OPTS__FLAG) "$<"
        @echo 'Finished building: $<'
        @echo ' '
 
 UART_soc.o: $(PDK_INSTALL_PATH)/ti/drv/uart/soc/am572x/UART_soc.c $(GEN_OPTS) $(GEN_HDRS)
        @echo 'Building file: $<'
        @echo 'Invoking: GNU Compiler'
-       "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc" -c -mfloat-abi=hard -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -I"../$(PDK_INSTALL_PATH)" -I"$(PDK_INSTALL_PATH)" -I"$(PDK_INSTALL_PATH)/ti/drv/icss_emac" -I"../../../../SDK/INC" -I"../../../../SDK/INC/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"../../../../Sources/LinkOsLayer/SYSBIOS" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -O2 -specs="nosys.specs" -c -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o"$@" $(GEN_OPTS__FLAG) "$<"
+       "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc" -c -mcpu=cortex-a15 -mtune=cortex-a15 -marm -mfloat-abi=hard -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -I"../$(PDK_INSTALL_PATH)" -I"$(PDK_INSTALL_PATH)" -I"$(PDK_INSTALL_PATH)/ti/drv/icss_emac" -I"$(PDK_INSTALL_PATH)/ti/drv/icss_emac/src" -I"../../../../SDK/INC" -I"../../../../SDK/INC/SYSBIOS" -I"../../../../Sources/LinkOsLayer/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include/newlib-nano" -O2 -Wall -finstrument-functions -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o"$@"  $(GEN_OPTS__FLAG) "$<"
        @echo 'Finished building: $<'
        @echo ' '
 
 icss_emacSoc.o: $(PDK_INSTALL_PATH)/ti/drv/icss_emac/soc/am572x/icss_emacSoc.c $(GEN_OPTS) $(GEN_HDRS)
        @echo 'Building file: $<'
        @echo 'Invoking: GNU Compiler'
-       "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc" -c -mfloat-abi=hard -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -I"../$(PDK_INSTALL_PATH)" -I"$(PDK_INSTALL_PATH)" -I"$(PDK_INSTALL_PATH)/ti/drv/icss_emac" -I"../../../../SDK/INC" -I"../../../../SDK/INC/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"../../../../Sources/LinkOsLayer/SYSBIOS" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -O2 -specs="nosys.specs" -c -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o"$@" $(GEN_OPTS__FLAG) "$<"
+       "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc" -c -mcpu=cortex-a15 -mtune=cortex-a15 -marm -mfloat-abi=hard -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -I"../$(PDK_INSTALL_PATH)" -I"$(PDK_INSTALL_PATH)" -I"$(PDK_INSTALL_PATH)/ti/drv/icss_emac" -I"$(PDK_INSTALL_PATH)/ti/drv/icss_emac/src" -I"../../../../SDK/INC" -I"../../../../SDK/INC/SYSBIOS" -I"../../../../Sources/LinkOsLayer/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include/newlib-nano" -O2 -Wall -finstrument-functions -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o"$@"  $(GEN_OPTS__FLAG) "$<"
        @echo 'Finished building: $<'
        @echo ' '
 
-icss_emac_ec_device.o: ../icss_emac_ec_device.c $(GEN_OPTS) $(GEN_HDRS)
+icss_emacFwConfig.o: $(PDK_INSTALL_PATH)/ti/drv/icss_emac/firmware/icss_dualemac/config/icss_emacFwConfig.c $(GEN_OPTS) $(GEN_HDRS)
        @echo 'Building file: $<'
        @echo 'Invoking: GNU Compiler'
-       "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc" -c -mfloat-abi=hard -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -I"../$(PDK_INSTALL_PATH)" -I"$(PDK_INSTALL_PATH)" -I"$(PDK_INSTALL_PATH)/ti/drv/icss_emac" -I"../../../../SDK/INC" -I"../../../../SDK/INC/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"../../../../Sources/LinkOsLayer/SYSBIOS" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -O2 -specs="nosys.specs" -c -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o"$@" $(GEN_OPTS__FLAG) "$<"
+       "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc" -c -mcpu=cortex-a15 -mtune=cortex-a15 -marm -mfloat-abi=hard -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -I"../$(PDK_INSTALL_PATH)" -I"$(PDK_INSTALL_PATH)" -I"$(PDK_INSTALL_PATH)/ti/drv/icss_emac" -I"$(PDK_INSTALL_PATH)/ti/drv/icss_emac/src" -I"../../../../SDK/INC" -I"../../../../SDK/INC/SYSBIOS" -I"../../../../Sources/LinkOsLayer/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include/newlib-nano" -O2 -Wall -finstrument-functions -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o"$@"  $(GEN_OPTS__FLAG) "$<"
        @echo 'Finished building: $<'
        @echo ' '
 
-test_common_utils.o: $(PDK_INSTALL_PATH)/ti/drv/icss_emac/test/src/test_common_utils.c $(GEN_OPTS) $(GEN_HDRS)
+icss_emac_ec_device.o: ../icss_emac_ec_device.c $(GEN_OPTS) $(GEN_HDRS)
        @echo 'Building file: $<'
        @echo 'Invoking: GNU Compiler'
-       "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc" -c -mfloat-abi=hard -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -I"../$(PDK_INSTALL_PATH)" -I"$(PDK_INSTALL_PATH)" -I"$(PDK_INSTALL_PATH)/ti/drv/icss_emac" -I"../../../../SDK/INC" -I"../../../../SDK/INC/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"../../../../Sources/LinkOsLayer/SYSBIOS" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -O2 -specs="nosys.specs" -c -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o"$@" $(GEN_OPTS__FLAG) "$<"
+       "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc" -c -mcpu=cortex-a15 -mtune=cortex-a15 -marm -mfloat-abi=hard -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -I"../$(PDK_INSTALL_PATH)" -I"$(PDK_INSTALL_PATH)" -I"$(PDK_INSTALL_PATH)/ti/drv/icss_emac" -I"$(PDK_INSTALL_PATH)/ti/drv/icss_emac/src" -I"../../../../SDK/INC" -I"../../../../SDK/INC/SYSBIOS" -I"../../../../Sources/LinkOsLayer/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include/newlib-nano" -O2 -Wall -finstrument-functions -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o"$@"  $(GEN_OPTS__FLAG) "$<"
        @echo 'Finished building: $<'
        @echo ' '
+       
 
 #-include objects.mk
 USER_OBJS :=
@@ -277,8 +277,8 @@ endif
 clean:
        -$(RM) $(LIB_OUTPUTS)$(GEN_CMDS)$(GEN_MISC_FILES)$(GEN_FILES)$(GEN_OPTS)
        -$(RMDIR) $(GEN_MISC_DIRS)
-       -$(RM) TimerP_tirtos.o UART_soc.o icss_emacSoc.o icss_emac_ec_device.o test_common_utils.o 
-       -$(RM) TimerP_tirtos.d UART_soc.d icss_emacSoc.d icss_emac_ec_device.d test_common_utils.d 
+       -$(RM) TimerP_tirtos.o UART_soc.o icss_emacSoc.o icss_emac_ec_device.o icss_emacFwConfig.o 
+       -$(RM) TimerP_tirtos.d UART_soc.d icss_emacSoc.d icss_emac_ec_device.d icss_emacFwConfig.d 
        -@echo 'Finished clean'
        -@echo ' '