Makefiles for linux - calls makefile EC ICSS lib
authorPaula Carrillo <a0133185@ti.com>
Tue, 30 May 2017 04:15:18 +0000 (23:15 -0500)
committerPaula Carrillo <a0133185@ti.com>
Tue, 30 May 2017 04:15:18 +0000 (23:15 -0500)
EC_Master_SysBios_Am572x/Workspace/SYSBIOS_AM57xx/EcMasterDemo/Debug/makefile
EC_Master_SysBios_Am572x/Workspace/SYSBIOS_AM57xx/EcMasterDemo/Debug/makefile_linux
EC_Master_SysBios_Am572x/Workspace/SYSBIOS_AM57xx/EcMasterDemo/Release/makefile
EC_Master_SysBios_Am572x/Workspace/SYSBIOS_AM57xx/EcMasterDemo/Release/makefile_Linux

index 24b367600f1368b4fde541106bc3a4043a167778..4f6c334924133ac587a3b1b60c9b77d603a999a4 100644 (file)
@@ -1,3 +1,10 @@
+ifndef MAKE
+export MAKE = make
+endif
+
+ifndef ECHO
+export ECHO = echo
+endif
 
 GEN_OPTS__FLAG := @"configPkg/compiler.opt"
 GEN_CMDS__FLAG := -Wl,-T"configPkg/linker.cmd"
@@ -34,7 +41,7 @@ $(GEN_CMDS__FLAG) \
 OS := $(shell uname)
 ifeq ($(OS), Linux)
 RM := rm -f
-RMDIR := rm -d -f -r
+RMDIR := rm -f -r
 else
 RM := rm -f
 RMDIR := rm -r -f
@@ -202,28 +209,28 @@ configPkg/: | configPkg/linker.cmd
 EcTimer.o: ../../../../Sources/Common/EcTimer.cpp $(GEN_OPTS) | $(GEN_HDRS)
        @echo 'Building file: $<'
        @echo 'Invoking: GNU Compiler'
-       "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc.exe" -c -mfloat-abi=hard -DDEBUG -DLINKLAYER_ICSS -Dam5728 -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -I"../$(PDK_INSTALL_PATH)" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -I"$(PDK_INSTALL_PATH)/ti/drv/icss_emac" -I"../../../../SDK/INC" -I"../../../../SDK/INC/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"../../../../Sources/LinkOsLayer/SYSBIOS" -I"../../../../Sources/Common" -O2 -g -gdwarf-3 -gstrict-dwarf -Wall -v -c -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o"$@" $(GEN_OPTS__FLAG) "$<"
+       "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc" -c -mfloat-abi=hard -DDEBUG -DLINKLAYER_ICSS -Dam5728 -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -I"../$(PDK_INSTALL_PATH)" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -I"$(PDK_INSTALL_PATH)/ti/drv/icss_emac" -I"../../../../SDK/INC" -I"../../../../SDK/INC/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"../../../../Sources/LinkOsLayer/SYSBIOS" -I"../../../../Sources/Common" -O2 -g -gdwarf-3 -gstrict-dwarf -Wall -v -c -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o"$@" $(GEN_OPTS__FLAG) "$<"
        @echo 'Finished building: $<'
        @echo ' '
 
 I2C_soc.o: $(PDK_INSTALL_PATH)/ti/drv/i2c/soc/am572x/I2C_soc.c $(GEN_OPTS) | $(GEN_HDRS)
        @echo 'Building file: $<'
        @echo 'Invoking: GNU Compiler'
-       "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc.exe" -c -mfloat-abi=hard -DDEBUG -DLINKLAYER_ICSS -Dam5728 -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -I"../$(PDK_INSTALL_PATH)" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -I"$(PDK_INSTALL_PATH)/ti/drv/icss_emac" -I"../../../../SDK/INC" -I"../../../../SDK/INC/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"../../../../Sources/LinkOsLayer/SYSBIOS" -I"../../../../Sources/Common" -O2 -g -gdwarf-3 -gstrict-dwarf -Wall -v -c -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o"$@" $(GEN_OPTS__FLAG) "$<"
+       "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc" -c -mfloat-abi=hard -DDEBUG -DLINKLAYER_ICSS -Dam5728 -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -I"../$(PDK_INSTALL_PATH)" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -I"$(PDK_INSTALL_PATH)/ti/drv/icss_emac" -I"../../../../SDK/INC" -I"../../../../SDK/INC/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"../../../../Sources/LinkOsLayer/SYSBIOS" -I"../../../../Sources/Common" -O2 -g -gdwarf-3 -gstrict-dwarf -Wall -v -c -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.exe" -c -mfloat-abi=hard -DDEBUG -DLINKLAYER_ICSS -Dam5728 -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -I"../$(PDK_INSTALL_PATH)" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -I"$(PDK_INSTALL_PATH)/ti/drv/icss_emac" -I"../../../../SDK/INC" -I"../../../../SDK/INC/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"../../../../Sources/LinkOsLayer/SYSBIOS" -I"../../../../Sources/Common" -O2 -g -gdwarf-3 -gstrict-dwarf -Wall -v -c -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o"$@" $(GEN_OPTS__FLAG) "$<"
+       "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc" -c -mfloat-abi=hard -DDEBUG -DLINKLAYER_ICSS -Dam5728 -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -I"../$(PDK_INSTALL_PATH)" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -I"$(PDK_INSTALL_PATH)/ti/drv/icss_emac" -I"../../../../SDK/INC" -I"../../../../SDK/INC/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"../../../../Sources/LinkOsLayer/SYSBIOS" -I"../../../../Sources/Common" -O2 -g -gdwarf-3 -gstrict-dwarf -Wall -v -c -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o"$@" $(GEN_OPTS__FLAG) "$<"
        @echo 'Finished building: $<'
        @echo ' '
 
 main.o: ../../common/main.c $(GEN_OPTS) | $(GEN_HDRS)
        @echo 'Building file: $<'
        @echo 'Invoking: GNU Compiler'
-       "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc.exe" -c -mfloat-abi=hard -DDEBUG -DLINKLAYER_ICSS -Dam5728 -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -I"../$(PDK_INSTALL_PATH)" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -I"$(PDK_INSTALL_PATH)/ti/drv/icss_emac" -I"../../../../SDK/INC" -I"../../../../SDK/INC/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"../../../../Sources/LinkOsLayer/SYSBIOS" -I"../../../../Sources/Common" -O2 -g -gdwarf-3 -gstrict-dwarf -Wall -v -c -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o"$@" $(GEN_OPTS__FLAG) "$<"
+       "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc" -c -mfloat-abi=hard -DDEBUG -DLINKLAYER_ICSS -Dam5728 -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -I"../$(PDK_INSTALL_PATH)" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -I"$(PDK_INSTALL_PATH)/ti/drv/icss_emac" -I"../../../../SDK/INC" -I"../../../../SDK/INC/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"../../../../Sources/LinkOsLayer/SYSBIOS" -I"../../../../Sources/Common" -O2 -g -gdwarf-3 -gstrict-dwarf -Wall -v -c -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o"$@" $(GEN_OPTS__FLAG) "$<"
        @echo 'Finished building: $<'
        @echo ' '
 
@@ -233,42 +240,42 @@ main.o: ../../common/main.c $(GEN_OPTS) | $(GEN_HDRS)
 EcMasterDemo/ATEMDemo.o: ../../../../Examples/EcMasterDemo/ATEMDemo.cpp $(GEN_OPTS) | $(GEN_HDRS)
        @echo 'Building file: $<'
        @echo 'Invoking: GNU Compiler'
-       "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc.exe" -c -mfloat-abi=hard -DDEBUG -DLINKLAYER_ICSS -Dam5728 -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -I"../$(PDK_INSTALL_PATH)" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -I"$(PDK_INSTALL_PATH)/ti/drv/icss_emac" -I"../../../../SDK/INC" -I"../../../../SDK/INC/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"../../../../Sources/LinkOsLayer/SYSBIOS" -I"../../../../Sources/Common" -I"../../../../Workspace/SYSBIOS_AM57xx/emllICSS" -O2 -g -gdwarf-3 -gstrict-dwarf -Wall -v -c -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o"$@" $(GEN_OPTS__FLAG) "$<"
+       "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc" -c -mfloat-abi=hard -DDEBUG -DLINKLAYER_ICSS -Dam5728 -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -I"../$(PDK_INSTALL_PATH)" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -I"$(PDK_INSTALL_PATH)/ti/drv/icss_emac" -I"../../../../SDK/INC" -I"../../../../SDK/INC/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"../../../../Sources/LinkOsLayer/SYSBIOS" -I"../../../../Sources/Common" -I"../../../../Workspace/SYSBIOS_AM57xx/emllICSS" -O2 -g -gdwarf-3 -gstrict-dwarf -Wall -v -c -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o"$@" $(GEN_OPTS__FLAG) "$<"
        @echo 'Finished building: $<'
        @echo ' '
 
 EcMasterDemo/ATEMDemoMain.o: ../../../../Examples/EcMasterDemo/ATEMDemoMain.cpp $(GEN_OPTS) | $(GEN_HDRS)
        @echo 'Building file: $<'
        @echo 'Invoking: GNU Compiler'
-       "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc.exe" -c -mfloat-abi=hard -DDEBUG -DLINKLAYER_ICSS -Dam5728 -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -I"../$(PDK_INSTALL_PATH)" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -I"$(PDK_INSTALL_PATH)/ti/drv/icss_emac" -I"../../../../SDK/INC" -I"../../../../SDK/INC/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"../../../../Sources/LinkOsLayer/SYSBIOS" -I"../../../../Sources/Common" -O2 -g -gdwarf-3 -gstrict-dwarf -Wall -v -c -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o"$@" $(GEN_OPTS__FLAG) "$<"
+       "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc" -c -mfloat-abi=hard -DDEBUG -DLINKLAYER_ICSS -Dam5728 -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -I"../$(PDK_INSTALL_PATH)" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -I"$(PDK_INSTALL_PATH)/ti/drv/icss_emac" -I"../../../../SDK/INC" -I"../../../../SDK/INC/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"../../../../Sources/LinkOsLayer/SYSBIOS" -I"../../../../Sources/Common" -O2 -g -gdwarf-3 -gstrict-dwarf -Wall -v -c -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o"$@" $(GEN_OPTS__FLAG) "$<"
        @echo 'Finished building: $<'
        @echo ' '
 
 EcMasterDemo/Logging.o: ../../../../Examples/EcMasterDemo/Logging.cpp $(GEN_OPTS) | $(GEN_HDRS)
        @echo 'Building file: $<'
        @echo 'Invoking: GNU Compiler'
-       "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc.exe" -c -mfloat-abi=hard -DDEBUG -DLINKLAYER_ICSS -Dam5728 -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -I"../$(PDK_INSTALL_PATH)" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -I"$(PDK_INSTALL_PATH)/ti/drv/icss_emac" -I"../../../../SDK/INC" -I"../../../../SDK/INC/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"../../../../Sources/LinkOsLayer/SYSBIOS" -I"../../../../Sources/Common" -O2 -g -gdwarf-3 -gstrict-dwarf -Wall -v -c -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o"$@" $(GEN_OPTS__FLAG) "$<"
+       "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc" -c -mfloat-abi=hard -DDEBUG -DLINKLAYER_ICSS -Dam5728 -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -I"../$(PDK_INSTALL_PATH)" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -I"$(PDK_INSTALL_PATH)/ti/drv/icss_emac" -I"../../../../SDK/INC" -I"../../../../SDK/INC/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"../../../../Sources/LinkOsLayer/SYSBIOS" -I"../../../../Sources/Common" -O2 -g -gdwarf-3 -gstrict-dwarf -Wall -v -c -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o"$@" $(GEN_OPTS__FLAG) "$<"
        @echo 'Finished building: $<'
        @echo ' '
 
 EcMasterDemo/ecatDemoCommon.o: ../../../../Examples/EcMasterDemo/ecatDemoCommon.cpp $(GEN_OPTS) | $(GEN_HDRS)
        @echo 'Building file: $<'
        @echo 'Invoking: GNU Compiler'
-       "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc.exe" -c -mfloat-abi=hard -DDEBUG -DLINKLAYER_ICSS -Dam5728 -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -I"../$(PDK_INSTALL_PATH)" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -I"$(PDK_INSTALL_PATH)/ti/drv/icss_emac" -I"../../../../SDK/INC" -I"../../../../SDK/INC/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"../../../../Sources/LinkOsLayer/SYSBIOS" -I"../../../../Sources/Common" -O2 -g -gdwarf-3 -gstrict-dwarf -Wall -v -c -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o"$@" $(GEN_OPTS__FLAG) "$<"
+       "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc" -c -mfloat-abi=hard -DDEBUG -DLINKLAYER_ICSS -Dam5728 -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -I"../$(PDK_INSTALL_PATH)" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -I"$(PDK_INSTALL_PATH)/ti/drv/icss_emac" -I"../../../../SDK/INC" -I"../../../../SDK/INC/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"../../../../Sources/LinkOsLayer/SYSBIOS" -I"../../../../Sources/Common" -O2 -g -gdwarf-3 -gstrict-dwarf -Wall -v -c -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o"$@" $(GEN_OPTS__FLAG) "$<"
        @echo 'Finished building: $<'
        @echo ' '
 
 EcMasterDemo/ecatNotification.o: ../../../../Examples/EcMasterDemo/ecatNotification.cpp $(GEN_OPTS) | $(GEN_HDRS)
        @echo 'Building file: $<'
        @echo 'Invoking: GNU Compiler'
-       "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc.exe" -c -mfloat-abi=hard -DDEBUG -DLINKLAYER_ICSS -Dam5728 -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -I"../$(PDK_INSTALL_PATH)" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -I"$(PDK_INSTALL_PATH)/ti/drv/icss_emac" -I"../../../../SDK/INC" -I"../../../../SDK/INC/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"../../../../Sources/LinkOsLayer/SYSBIOS" -I"../../../../Sources/Common" -O2 -g -gdwarf-3 -gstrict-dwarf -Wall -v -c -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o"$@" $(GEN_OPTS__FLAG) "$<"
+       "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc" -c -mfloat-abi=hard -DDEBUG -DLINKLAYER_ICSS -Dam5728 -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -I"../$(PDK_INSTALL_PATH)" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -I"$(PDK_INSTALL_PATH)/ti/drv/icss_emac" -I"../../../../SDK/INC" -I"../../../../SDK/INC/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"../../../../Sources/LinkOsLayer/SYSBIOS" -I"../../../../Sources/Common" -O2 -g -gdwarf-3 -gstrict-dwarf -Wall -v -c -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o"$@" $(GEN_OPTS__FLAG) "$<"
        @echo 'Finished building: $<'
        @echo ' '
 
 EcMasterDemo/selectLinkLayer.o: ../../../../Examples/EcMasterDemo/selectLinkLayer.cpp $(GEN_OPTS) | $(GEN_HDRS)
        @echo 'Building file: $<'
        @echo 'Invoking: GNU Compiler'
-       "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc.exe" -c -mfloat-abi=hard -DDEBUG -DLINKLAYER_ICSS -Dam5728 -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -I"../$(PDK_INSTALL_PATH)" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -I"$(PDK_INSTALL_PATH)/ti/drv/icss_emac" -I"../../../../SDK/INC" -I"../../../../SDK/INC/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"../../../../Sources/LinkOsLayer/SYSBIOS" -I"../../../../Sources/Common" -O2 -g -gdwarf-3 -gstrict-dwarf -Wall -v -c -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o"$@" $(GEN_OPTS__FLAG) "$<"
+       "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc" -c -mfloat-abi=hard -DDEBUG -DLINKLAYER_ICSS -Dam5728 -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -I"../$(PDK_INSTALL_PATH)" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -I"$(PDK_INSTALL_PATH)/ti/drv/icss_emac" -I"../../../../SDK/INC" -I"../../../../SDK/INC/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"../../../../Sources/LinkOsLayer/SYSBIOS" -I"../../../../Sources/Common" -O2 -g -gdwarf-3 -gstrict-dwarf -Wall -v -c -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o"$@" $(GEN_OPTS__FLAG) "$<"
        @echo 'Finished building: $<'
        @echo ' '
 
@@ -277,7 +284,7 @@ EcMasterDemo/selectLinkLayer.o: ../../../../Examples/EcMasterDemo/selectLinkLaye
 eni/MasterENI.o: ../eni/MasterENI.c $(GEN_OPTS) | $(GEN_HDRS)
        @echo 'Building file: $<'
        @echo 'Invoking: GNU Compiler'
-       "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc.exe" -c -mfloat-abi=hard -DDEBUG -DLINKLAYER_ICSS -Dam5728 -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -I"../$(PDK_INSTALL_PATH)" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -I"$(PDK_INSTALL_PATH)/ti/drv/icss_emac" -I"../../../../SDK/INC" -I"../../../../SDK/INC/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"../../../../Sources/LinkOsLayer/SYSBIOS" -I"../../../../Sources/Common" -O2 -g -gdwarf-3 -gstrict-dwarf -Wall -v -c -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o"$@" $(GEN_OPTS__FLAG) "$<"
+       "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc" -c -mfloat-abi=hard -DDEBUG -DLINKLAYER_ICSS -Dam5728 -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -I"../$(PDK_INSTALL_PATH)" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -I"$(PDK_INSTALL_PATH)/ti/drv/icss_emac" -I"../../../../SDK/INC" -I"../../../../SDK/INC/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"../../../../Sources/LinkOsLayer/SYSBIOS" -I"../../../../Sources/Common" -O2 -g -gdwarf-3 -gstrict-dwarf -Wall -v -c -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o"$@" $(GEN_OPTS__FLAG) "$<"
        @echo 'Finished building: $<'
        @echo ' '
 
@@ -394,29 +401,34 @@ BIN_OUTPUTS__QUOTED += \
 
 
 # All Target
-all: EcMasterDemo.out
+all: EcLib EcMasterDemo.out
+
 
 # Tool invocations
+EcLib:
+       @$(MAKE) --no-print-directory -C ../../emllICSS/Debug all
+
 EcMasterDemo.out: $(OBJS) $(CMD_SRCS) $(GEN_CMDS)
        @echo 'Building target: $@'
        @echo 'Invoking: GNU Linker'
-       "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc.exe" -DDEBUG -DLINKLAYER_ICSS -Dam5728 -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -O2 -g -gdwarf-3 -gstrict-dwarf -Wall -v -MMD -MP -mfloat-abi=hard -Wl,-Map,"EcMasterDemo.map" -nostartfiles -static -Wl,--gc-sections -L"$(BIOS_INSTALL_PATH)/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/fpu" -L"$(BIOS_INSTALL_PATH)/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/fpu" -L"$(BIOS_INSTALL_PATH)/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/fpu" -L"$(PDK_INSTALL_PATH)/ti/drv/pruss/lib/am572x/a15/release" -L"$(PDK_INSTALL_PATH)/ti/drv/icss_emac/lib/am572x/a15/release" -L"$(NDK_INSTALL_PATH)/packages/ti/ndk/os/lib" -L"../src/sysbios" -L"../../../../SDK/LIB/SYSBIOS/am572x/Debug/" -L"../../../../SDK/LIB/SYSBIOS/am572x/Eval/" -o"EcMasterDemo.out" $(ORDERED_OBJS)
+       "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc" -DDEBUG -DLINKLAYER_ICSS -Dam5728 -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -O2 -g -gdwarf-3 -gstrict-dwarf -Wall -v -MMD -MP -mfloat-abi=hard -Wl,-Map,"EcMasterDemo.map" -nostartfiles -static -Wl,--gc-sections -L"$(BIOS_INSTALL_PATH)/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/fpu" -L"$(BIOS_INSTALL_PATH)/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/fpu" -L"$(BIOS_INSTALL_PATH)/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/fpu" -L"$(PDK_INSTALL_PATH)/ti/drv/pruss/lib/am572x/a15/release" -L"$(PDK_INSTALL_PATH)/ti/drv/icss_emac/lib/am572x/a15/release" -L"$(NDK_INSTALL_PATH)/packages/ti/ndk/os/lib" -L"../src/sysbios" -L"../../../../SDK/LIB/SYSBIOS/am572x/Debug/" -L"../../../../SDK/LIB/SYSBIOS/am572x/Eval/" -o"EcMasterDemo.out" $(ORDERED_OBJS)
        @echo 'Finished building target: $@'
        @echo ' '
 
 EcMasterDemo.hex: $(EXE_OUTPUTS)
        @echo 'Invoking: GNU Objcopy Utility'
-       "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-objcopy.exe"  $(EXE_OUTPUTS__QUOTED) "EcMasterDemo.hex"
+       "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-objcopy"  $(EXE_OUTPUTS) "EcMasterDemo.hex"
        @echo 'Finished building: $@'
        @echo ' '
 
 # Other Targets
 clean:
-       -$(RM) $(GEN_CMDS__QUOTED)$(GEN_MISC_FILES__QUOTED)$(BIN_OUTPUTS__QUOTED)$(GEN_FILES__QUOTED)$(EXE_OUTPUTS__QUOTED)$(GEN_OPTS__QUOTED)
-       -$(RMDIR) $(GEN_MISC_DIRS__QUOTED)
-       -$(RM) "EcTimer.o" "I2C_soc.o" "UART_soc.o" "main.o" "EcMasterDemo\ATEMDemo.o" "EcMasterDemo\ATEMDemoMain.o" "EcMasterDemo\Logging.o" "EcMasterDemo\ecatDemoCommon.o" "EcMasterDemo\ecatNotification.o" "EcMasterDemo\selectLinkLayer.o" "eni\MasterENI.o" 
-       -$(RM) "I2C_soc.d" "UART_soc.d" "main.d" "eni\MasterENI.d" 
-       -$(RM) "EcTimer.d" "EcMasterDemo\ATEMDemo.d" "EcMasterDemo\ATEMDemoMain.d" "EcMasterDemo\Logging.d" "EcMasterDemo\ecatDemoCommon.d" "EcMasterDemo\ecatNotification.d" "EcMasterDemo\selectLinkLayer.d" 
+       @$(MAKE) --no-print-directory -C ../../emllICSS/Debug clean     
+       -$(RM) $(GEN_CMDS)$(GEN_MISC_FILES)$(BIN_OUTPUTS)$(GEN_FILES)$(EXE_OUTPUTS)$(GEN_OPTS)
+       -$(RMDIR) $(GEN_MISC_DIRS)
+       -$(RM) EcTimer.o I2C_soc.o UART_soc.o main.o EcMasterDemo/ATEMDemo.o EcMasterDemo/ATEMDemoMain.o EcMasterDemo/Logging.o EcMasterDemo/ecatDemoCommon.o EcMasterDemo/ecatNotification.o EcMasterDemo/selectLinkLayer.o eni/MasterENI.o 
+       -$(RM) I2C_soc.d UART_soc.d main.d eni/MasterENI.d 
+       -$(RM) EcTimer.d EcMasterDemo/ATEMDemo.d EcMasterDemo/ATEMDemoMain.d EcMasterDemo/Logging.d EcMasterDemo/ecatDemoCommon.d EcMasterDemo/ecatNotification.d EcMasterDemo/selectLinkLayer.d EcMasterDemo.map 
        -@echo 'Finished clean'
        -@echo ' ''
 
index 9ec191c5287c45507f4776b0dfdb67ce644b68bd..4f6c334924133ac587a3b1b60c9b77d603a999a4 100644 (file)
@@ -401,9 +401,13 @@ BIN_OUTPUTS__QUOTED += \
 
 
 # All Target
-all: EcMasterDemo.out
+all: EcLib EcMasterDemo.out
+
 
 # Tool invocations
+EcLib:
+       @$(MAKE) --no-print-directory -C ../../emllICSS/Debug all
+
 EcMasterDemo.out: $(OBJS) $(CMD_SRCS) $(GEN_CMDS)
        @echo 'Building target: $@'
        @echo 'Invoking: GNU Linker'
@@ -419,6 +423,7 @@ EcMasterDemo.hex: $(EXE_OUTPUTS)
 
 # Other Targets
 clean:
+       @$(MAKE) --no-print-directory -C ../../emllICSS/Debug clean     
        -$(RM) $(GEN_CMDS)$(GEN_MISC_FILES)$(BIN_OUTPUTS)$(GEN_FILES)$(EXE_OUTPUTS)$(GEN_OPTS)
        -$(RMDIR) $(GEN_MISC_DIRS)
        -$(RM) EcTimer.o I2C_soc.o UART_soc.o main.o EcMasterDemo/ATEMDemo.o EcMasterDemo/ATEMDemoMain.o EcMasterDemo/Logging.o EcMasterDemo/ecatDemoCommon.o EcMasterDemo/ecatNotification.o EcMasterDemo/selectLinkLayer.o eni/MasterENI.o 
index 30b8839c9732195c680d83495418cc876a5f916a..14b7ee1cc1452b5840abb84c24c0785e782325e9 100644 (file)
@@ -1,3 +1,10 @@
+ifndef MAKE
+export MAKE = make
+endif
+
+ifndef ECHO
+export ECHO = echo
+endif
 
 GEN_OPTS__FLAG := @"configPkg/compiler.opt"
 GEN_CMDS__FLAG := -Wl,-T"configPkg/linker.cmd"
@@ -34,7 +41,7 @@ $(GEN_CMDS__FLAG) \
 OS := $(shell uname)
 ifeq ($(OS), Linux)
 RM := rm -f
-RMDIR := rm -d -f -r
+RMDIR := rm -rf
 else
 RM := rm -f
 RMDIR := rm -r -f
@@ -202,28 +209,28 @@ configPkg/: | configPkg/linker.cmd
 EcTimer.o: ../../../../Sources/Common/EcTimer.cpp $(GEN_OPTS) | $(GEN_HDRS)
        @echo 'Building file: $<'
        @echo 'Invoking: GNU Compiler'
-       "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc.exe" -c -mfloat-abi=hard -DLINKLAYER_ICSS -Dam5728 -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -I"../$(PDK_INSTALL_PATH)" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -I"$(PDK_INSTALL_PATH)/ti/drv/icss_emac" -I"../../../../SDK/INC" -I"../../../../SDK/INC/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"../../../../Sources/LinkOsLayer/SYSBIOS" -I"../../../../Sources/Common" -O2 -Wall -v -c -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o"$@" $(GEN_OPTS__FLAG) "$<"
+       "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc" -c -mfloat-abi=hard -DLINKLAYER_ICSS -Dam5728 -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -I"../$(PDK_INSTALL_PATH)" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -I"$(PDK_INSTALL_PATH)/ti/drv/icss_emac" -I"../../../../SDK/INC" -I"../../../../SDK/INC/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"../../../../Sources/LinkOsLayer/SYSBIOS" -I"../../../../Sources/Common" -O2 -Wall -v -c -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o"$@" $(GEN_OPTS__FLAG) "$<"
        @echo 'Finished building: $<'
        @echo ' '
 
 I2C_soc.o: $(PDK_INSTALL_PATH)/ti/drv/i2c/soc/am572x/I2C_soc.c $(GEN_OPTS) | $(GEN_HDRS)
        @echo 'Building file: $<'
        @echo 'Invoking: GNU Compiler'
-       "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc.exe" -c -mfloat-abi=hard -DLINKLAYER_ICSS -Dam5728 -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -I"../$(PDK_INSTALL_PATH)" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -I"$(PDK_INSTALL_PATH)/ti/drv/icss_emac" -I"../../../../SDK/INC" -I"../../../../SDK/INC/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"../../../../Sources/LinkOsLayer/SYSBIOS" -I"../../../../Sources/Common" -O2 -Wall -v -c -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o"$@" $(GEN_OPTS__FLAG) "$<"
+       "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc" -c -mfloat-abi=hard -DLINKLAYER_ICSS -Dam5728 -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -I"../$(PDK_INSTALL_PATH)" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -I"$(PDK_INSTALL_PATH)/ti/drv/icss_emac" -I"../../../../SDK/INC" -I"../../../../SDK/INC/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"../../../../Sources/LinkOsLayer/SYSBIOS" -I"../../../../Sources/Common" -O2 -Wall -v -c -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.exe" -c -mfloat-abi=hard -DLINKLAYER_ICSS -Dam5728 -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -I"../$(PDK_INSTALL_PATH)" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -I"$(PDK_INSTALL_PATH)/ti/drv/icss_emac" -I"../../../../SDK/INC" -I"../../../../SDK/INC/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"../../../../Sources/LinkOsLayer/SYSBIOS" -I"../../../../Sources/Common" -O2 -Wall -v -c -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o"$@" $(GEN_OPTS__FLAG) "$<"
+       "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc" -c -mfloat-abi=hard -DLINKLAYER_ICSS -Dam5728 -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -I"../$(PDK_INSTALL_PATH)" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -I"$(PDK_INSTALL_PATH)/ti/drv/icss_emac" -I"../../../../SDK/INC" -I"../../../../SDK/INC/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"../../../../Sources/LinkOsLayer/SYSBIOS" -I"../../../../Sources/Common" -O2 -Wall -v -c -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o"$@" $(GEN_OPTS__FLAG) "$<"
        @echo 'Finished building: $<'
        @echo ' '
 
 main.o: ../../common/main.c $(GEN_OPTS) | $(GEN_HDRS)
        @echo 'Building file: $<'
        @echo 'Invoking: GNU Compiler'
-       "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc.exe" -c -mfloat-abi=hard -DLINKLAYER_ICSS -Dam5728 -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -I"../$(PDK_INSTALL_PATH)" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -I"$(PDK_INSTALL_PATH)/ti/drv/icss_emac" -I"../../../../SDK/INC" -I"../../../../SDK/INC/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"../../../../Sources/LinkOsLayer/SYSBIOS" -I"../../../../Sources/Common" -O2 -Wall -v -c -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o"$@" $(GEN_OPTS__FLAG) "$<"
+       "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc" -c -mfloat-abi=hard -DLINKLAYER_ICSS -Dam5728 -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -I"../$(PDK_INSTALL_PATH)" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -I"$(PDK_INSTALL_PATH)/ti/drv/icss_emac" -I"../../../../SDK/INC" -I"../../../../SDK/INC/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"../../../../Sources/LinkOsLayer/SYSBIOS" -I"../../../../Sources/Common" -O2 -Wall -v -c -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o"$@" $(GEN_OPTS__FLAG) "$<"
        @echo 'Finished building: $<'
        @echo ' '
 
@@ -233,42 +240,42 @@ main.o: ../../common/main.c $(GEN_OPTS) | $(GEN_HDRS)
 EcMasterDemo/ATEMDemo.o: ../../../../Examples/EcMasterDemo/ATEMDemo.cpp $(GEN_OPTS) | $(GEN_HDRS)
        @echo 'Building file: $<'
        @echo 'Invoking: GNU Compiler'
-       "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc.exe" -c -mfloat-abi=hard -DLINKLAYER_ICSS -Dam5728 -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -I"../$(PDK_INSTALL_PATH)" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -I"$(PDK_INSTALL_PATH)/ti/drv/icss_emac" -I"../../../../SDK/INC" -I"../../../../SDK/INC/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"../../../../Sources/LinkOsLayer/SYSBIOS" -I"../../../../Sources/Common" -I"../../../../Workspace/SYSBIOS_AM57xx/emllICSS" -O2 -Wall -v -c -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o"$@" $(GEN_OPTS__FLAG) "$<"
+       "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc" -c -mfloat-abi=hard -DLINKLAYER_ICSS -Dam5728 -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -I"../$(PDK_INSTALL_PATH)" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -I"$(PDK_INSTALL_PATH)/ti/drv/icss_emac" -I"../../../../SDK/INC" -I"../../../../SDK/INC/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"../../../../Sources/LinkOsLayer/SYSBIOS" -I"../../../../Sources/Common" -I"../../../../Workspace/SYSBIOS_AM57xx/emllICSS" -O2 -Wall -v -c -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o"$@" $(GEN_OPTS__FLAG) "$<"
        @echo 'Finished building: $<'
        @echo ' '
 
 EcMasterDemo/ATEMDemoMain.o: ../../../../Examples/EcMasterDemo/ATEMDemoMain.cpp $(GEN_OPTS) | $(GEN_HDRS)
        @echo 'Building file: $<'
        @echo 'Invoking: GNU Compiler'
-       "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc.exe" -c -mfloat-abi=hard -DLINKLAYER_ICSS -Dam5728 -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -I"../$(PDK_INSTALL_PATH)" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -I"$(PDK_INSTALL_PATH)/ti/drv/icss_emac" -I"../../../../SDK/INC" -I"../../../../SDK/INC/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"../../../../Sources/LinkOsLayer/SYSBIOS" -I"../../../../Sources/Common" -O2 -Wall -v -c -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o"$@" $(GEN_OPTS__FLAG) "$<"
+       "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc" -c -mfloat-abi=hard -DLINKLAYER_ICSS -Dam5728 -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -I"../$(PDK_INSTALL_PATH)" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -I"$(PDK_INSTALL_PATH)/ti/drv/icss_emac" -I"../../../../SDK/INC" -I"../../../../SDK/INC/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"../../../../Sources/LinkOsLayer/SYSBIOS" -I"../../../../Sources/Common" -O2 -Wall -v -c -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o"$@" $(GEN_OPTS__FLAG) "$<"
        @echo 'Finished building: $<'
        @echo ' '
 
 EcMasterDemo/Logging.o: ../../../../Examples/EcMasterDemo/Logging.cpp $(GEN_OPTS) | $(GEN_HDRS)
        @echo 'Building file: $<'
        @echo 'Invoking: GNU Compiler'
-       "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc.exe" -c -mfloat-abi=hard -DLINKLAYER_ICSS -Dam5728 -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -I"../$(PDK_INSTALL_PATH)" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -I"$(PDK_INSTALL_PATH)/ti/drv/icss_emac" -I"../../../../SDK/INC" -I"../../../../SDK/INC/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"../../../../Sources/LinkOsLayer/SYSBIOS" -I"../../../../Sources/Common" -O2 -Wall -v -c -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o"$@" $(GEN_OPTS__FLAG) "$<"
+       "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc" -c -mfloat-abi=hard -DLINKLAYER_ICSS -Dam5728 -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -I"../$(PDK_INSTALL_PATH)" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -I"$(PDK_INSTALL_PATH)/ti/drv/icss_emac" -I"../../../../SDK/INC" -I"../../../../SDK/INC/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"../../../../Sources/LinkOsLayer/SYSBIOS" -I"../../../../Sources/Common" -O2 -Wall -v -c -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o"$@" $(GEN_OPTS__FLAG) "$<"
        @echo 'Finished building: $<'
        @echo ' '
 
 EcMasterDemo/ecatDemoCommon.o: ../../../../Examples/EcMasterDemo/ecatDemoCommon.cpp $(GEN_OPTS) | $(GEN_HDRS)
        @echo 'Building file: $<'
        @echo 'Invoking: GNU Compiler'
-       "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc.exe" -c -mfloat-abi=hard -DLINKLAYER_ICSS -Dam5728 -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -I"../$(PDK_INSTALL_PATH)" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -I"$(PDK_INSTALL_PATH)/ti/drv/icss_emac" -I"../../../../SDK/INC" -I"../../../../SDK/INC/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"../../../../Sources/LinkOsLayer/SYSBIOS" -I"../../../../Sources/Common" -O2 -Wall -v -c -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o"$@" $(GEN_OPTS__FLAG) "$<"
+       "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc" -c -mfloat-abi=hard -DLINKLAYER_ICSS -Dam5728 -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -I"../$(PDK_INSTALL_PATH)" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -I"$(PDK_INSTALL_PATH)/ti/drv/icss_emac" -I"../../../../SDK/INC" -I"../../../../SDK/INC/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"../../../../Sources/LinkOsLayer/SYSBIOS" -I"../../../../Sources/Common" -O2 -Wall -v -c -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o"$@" $(GEN_OPTS__FLAG) "$<"
        @echo 'Finished building: $<'
        @echo ' '
 
 EcMasterDemo/ecatNotification.o: ../../../../Examples/EcMasterDemo/ecatNotification.cpp $(GEN_OPTS) | $(GEN_HDRS)
        @echo 'Building file: $<'
        @echo 'Invoking: GNU Compiler'
-       "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc.exe" -c -mfloat-abi=hard -DLINKLAYER_ICSS -Dam5728 -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -I"../$(PDK_INSTALL_PATH)" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -I"$(PDK_INSTALL_PATH)/ti/drv/icss_emac" -I"../../../../SDK/INC" -I"../../../../SDK/INC/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"../../../../Sources/LinkOsLayer/SYSBIOS" -I"../../../../Sources/Common" -O2 -Wall -v -c -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o"$@" $(GEN_OPTS__FLAG) "$<"
+       "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc" -c -mfloat-abi=hard -DLINKLAYER_ICSS -Dam5728 -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -I"../$(PDK_INSTALL_PATH)" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -I"$(PDK_INSTALL_PATH)/ti/drv/icss_emac" -I"../../../../SDK/INC" -I"../../../../SDK/INC/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"../../../../Sources/LinkOsLayer/SYSBIOS" -I"../../../../Sources/Common" -O2 -Wall -v -c -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o"$@" $(GEN_OPTS__FLAG) "$<"
        @echo 'Finished building: $<'
        @echo ' '
 
 EcMasterDemo/selectLinkLayer.o: ../../../../Examples/EcMasterDemo/selectLinkLayer.cpp $(GEN_OPTS) | $(GEN_HDRS)
        @echo 'Building file: $<'
        @echo 'Invoking: GNU Compiler'
-       "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc.exe" -c -mfloat-abi=hard -DLINKLAYER_ICSS -Dam5728 -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -I"../$(PDK_INSTALL_PATH)" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -I"$(PDK_INSTALL_PATH)/ti/drv/icss_emac" -I"../../../../SDK/INC" -I"../../../../SDK/INC/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"../../../../Sources/LinkOsLayer/SYSBIOS" -I"../../../../Sources/Common" -O2 -Wall -v -c -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o"$@" $(GEN_OPTS__FLAG) "$<"
+       "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc" -c -mfloat-abi=hard -DLINKLAYER_ICSS -Dam5728 -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -I"../$(PDK_INSTALL_PATH)" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -I"$(PDK_INSTALL_PATH)/ti/drv/icss_emac" -I"../../../../SDK/INC" -I"../../../../SDK/INC/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"../../../../Sources/LinkOsLayer/SYSBIOS" -I"../../../../Sources/Common" -O2 -Wall -v -c -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o"$@" $(GEN_OPTS__FLAG) "$<"
        @echo 'Finished building: $<'
        @echo ' '
 
@@ -277,7 +284,7 @@ EcMasterDemo/selectLinkLayer.o: ../../../../Examples/EcMasterDemo/selectLinkLaye
 eni/MasterENI.o: ../eni/MasterENI.c $(GEN_OPTS) | $(GEN_HDRS)
        @echo 'Building file: $<'
        @echo 'Invoking: GNU Compiler'
-       "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc.exe" -c -mfloat-abi=hard -DLINKLAYER_ICSS -Dam5728 -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -I"../$(PDK_INSTALL_PATH)" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -I"$(PDK_INSTALL_PATH)/ti/drv/icss_emac" -I"../../../../SDK/INC" -I"../../../../SDK/INC/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"../../../../Sources/LinkOsLayer/SYSBIOS" -I"../../../../Sources/Common" -O2 -Wall -v -c -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o"$@" $(GEN_OPTS__FLAG) "$<"
+       "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc" -c -mfloat-abi=hard -DLINKLAYER_ICSS -Dam5728 -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -I"../$(PDK_INSTALL_PATH)" -I"$(TOOLCHAIN_PATH_A15)/arm-none-eabi/include" -I"$(PDK_INSTALL_PATH)/ti/drv/icss_emac" -I"../../../../SDK/INC" -I"../../../../SDK/INC/SYSBIOS" -I"../../../../Sources/LinkOsLayer" -I"../../../../Sources/LinkOsLayer/SYSBIOS" -I"../../../../Sources/Common" -O2 -Wall -v -c -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o"$@" $(GEN_OPTS__FLAG) "$<"
        @echo 'Finished building: $<'
        @echo ' '
 
@@ -394,29 +401,33 @@ BIN_OUTPUTS__QUOTED += \
 
 
 # All Target
-all: EcMasterDemo.out
+all: EcLib EcMasterDemo.out
 
 # Tool invocations
+EcLib:
+       @$(MAKE) --no-print-directory -C ../../emllICSS/Release all
+
 EcMasterDemo.out: $(OBJS) $(CMD_SRCS) $(GEN_CMDS)
        @echo 'Building target: $@'
        @echo 'Invoking: GNU Linker'
-       "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc.exe" -DLINKLAYER_ICSS -Dam5728 -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -O2 -Wall -v -MMD -MP -mfloat-abi=hard -Wl,-Map,"EcMasterDemo.map" -nostartfiles -static -Wl,--gc-sections -L"$(BIOS_INSTALL_PATH)/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/fpu" -L"$(BIOS_INSTALL_PATH)/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/fpu" -L"$(BIOS_INSTALL_PATH)/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/fpu" -L"$(PDK_INSTALL_PATH)/ti/drv/pruss/lib/am572x/a15/release" -L"$(PDK_INSTALL_PATH)/ti/drv/icss_emac/lib/am572x/a15/release" -L"$(NDK_INSTALL_PATH)/packages/ti/ndk/os/lib" -L"../src/sysbios" -L"../../../../SDK/LIB/SYSBIOS/am572x/Release/" -L"../../../../SDK/LIB/SYSBIOS/am572x/Eval/" -o"EcMasterDemo.out" $(ORDERED_OBJS)
+       "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-gcc" -DLINKLAYER_ICSS -Dam5728 -DSOC_AM572x -DAM5XX_FAMILY_BUILD -DMEM_BARRIER_DISABLE -O2 -Wall -v -MMD -MP -mfloat-abi=hard -Wl,-Map,"EcMasterDemo.map" -nostartfiles -static -Wl,--gc-sections -L"$(BIOS_INSTALL_PATH)/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/fpu" -L"$(BIOS_INSTALL_PATH)/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/fpu" -L"$(BIOS_INSTALL_PATH)/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/fpu" -L"$(PDK_INSTALL_PATH)/ti/drv/pruss/lib/am572x/a15/release" -L"$(PDK_INSTALL_PATH)/ti/drv/icss_emac/lib/am572x/a15/release" -L"$(NDK_INSTALL_PATH)/packages/ti/ndk/os/lib" -L"../src/sysbios" -L"../../../../SDK/LIB/SYSBIOS/am572x/Release/" -L"../../../../SDK/LIB/SYSBIOS/am572x/Eval/" -o"EcMasterDemo.out" $(ORDERED_OBJS)
        @echo 'Finished building target: $@'
        @echo ' '
 
 EcMasterDemo.hex: $(EXE_OUTPUTS)
        @echo 'Invoking: GNU Objcopy Utility'
-       "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-objcopy.exe"  $(EXE_OUTPUTS__QUOTED) "EcMasterDemo.hex"
+       "$(TOOLCHAIN_PATH_A15)/bin/arm-none-eabi-objcopy"  $(EXE_OUTPUTS__QUOTED) "EcMasterDemo.hex"
        @echo 'Finished building: $@'
        @echo ' '
 
 # Other Targets
 clean:
-       -$(RM) $(GEN_CMDS__QUOTED)$(GEN_MISC_FILES__QUOTED)$(BIN_OUTPUTS__QUOTED)$(GEN_FILES__QUOTED)$(EXE_OUTPUTS__QUOTED)$(GEN_OPTS__QUOTED)
-       -$(RMDIR) $(GEN_MISC_DIRS__QUOTED)
-       -$(RM) "EcTimer.o" "I2C_soc.o" "UART_soc.o" "main.o" "EcMasterDemo\ATEMDemo.o" "EcMasterDemo\ATEMDemoMain.o" "EcMasterDemo\Logging.o" "EcMasterDemo\ecatDemoCommon.o" "EcMasterDemo\ecatNotification.o" "EcMasterDemo\selectLinkLayer.o" "eni\MasterENI.o" 
-       -$(RM) "I2C_soc.d" "UART_soc.d" "main.d" "eni\MasterENI.d" 
-       -$(RM) "EcTimer.d" "EcMasterDemo\ATEMDemo.d" "EcMasterDemo\ATEMDemoMain.d" "EcMasterDemo\Logging.d" "EcMasterDemo\ecatDemoCommon.d" "EcMasterDemo\ecatNotification.d" "EcMasterDemo\selectLinkLayer.d" 
+       @$(MAKE) --no-print-directory -C ../../emllICSS/Release clean   
+       -$(RM) $(GEN_CMDS)$(GEN_MISC_FILES)$(BIN_OUTPUTS)$(GEN_FILES)$(EXE_OUTPUTS)$(GEN_OPTS)
+       -$(RMDIR) $(GEN_MISC_DIRS)
+       -$(RM) EcTimer.o I2C_soc.o UART_soc.o main.o EcMasterDemo/ATEMDemo.o EcMasterDemo/ATEMDemoMain.o EcMasterDemo/Logging.o EcMasterDemo/ecatDemoCommon.o EcMasterDemo/ecatNotification.o EcMasterDemo/selectLinkLayer.o eni/MasterENI.o 
+       -$(RM) I2C_soc.d UART_soc.d main.d eni/MasterENI.d 
+       -$(RM) EcTimer.d EcMasterDemo/ATEMDemo.d EcMasterDemo/ATEMDemoMain.d EcMasterDemo/Logging.d EcMasterDemo/ecatDemoCommon.d EcMasterDemo/ecatNotification.d EcMasterDemo/selectLinkLayer.d EcMasterDemo.map 
        -@echo 'Finished clean'
        -@echo ' ''
 
index f19711f0fcc60a14c7fb7d891d2340666dd2868b..14b7ee1cc1452b5840abb84c24c0785e782325e9 100644 (file)
@@ -401,9 +401,12 @@ BIN_OUTPUTS__QUOTED += \
 
 
 # All Target
-all: EcMasterDemo.out
+all: EcLib EcMasterDemo.out
 
 # Tool invocations
+EcLib:
+       @$(MAKE) --no-print-directory -C ../../emllICSS/Release all
+
 EcMasterDemo.out: $(OBJS) $(CMD_SRCS) $(GEN_CMDS)
        @echo 'Building target: $@'
        @echo 'Invoking: GNU Linker'
@@ -419,6 +422,7 @@ EcMasterDemo.hex: $(EXE_OUTPUTS)
 
 # Other Targets
 clean:
+       @$(MAKE) --no-print-directory -C ../../emllICSS/Release clean   
        -$(RM) $(GEN_CMDS)$(GEN_MISC_FILES)$(BIN_OUTPUTS)$(GEN_FILES)$(EXE_OUTPUTS)$(GEN_OPTS)
        -$(RMDIR) $(GEN_MISC_DIRS)
        -$(RM) EcTimer.o I2C_soc.o UART_soc.o main.o EcMasterDemo/ATEMDemo.o EcMasterDemo/ATEMDemoMain.o EcMasterDemo/Logging.o EcMasterDemo/ecatDemoCommon.o EcMasterDemo/ecatNotification.o EcMasterDemo/selectLinkLayer.o eni/MasterENI.o