|
@@ -13,7 +13,7 @@ apps: Module_InternalComm_Task Module_FactoryConfig_Task Module_EventLogging_Tas
|
|
|
Module_InternalComm_Task:
|
|
|
@echo "===== Module_InternalComm_Task ==================================="
|
|
|
rm -f Module_InternalComm
|
|
|
- $(CC) -D Project=$(Project) "-I../../" "-include../../../Modularization/Module_Upgrade.h" -O0 -g3 -Wall -c -fmessage-length=0 -o Module_InternalComm.o "./Module_InternalComm.c"
|
|
|
+ $(CC) -D $(Project) "-I../../" "-include../../../Modularization/Module_Upgrade.h" -O0 -g3 -Wall -c -fmessage-length=0 -o Module_InternalComm.o "./Module_InternalComm.c"
|
|
|
$(CC) -o Module_InternalComm Module_InternalComm.o ${Lib_Module_Upgrade}
|
|
|
rm -f *.o
|
|
|
mv -f Module_InternalComm ../Images/root
|
|
@@ -22,12 +22,12 @@ Module_InternalComm_Task:
|
|
|
Module_FactoryConfig_Task:
|
|
|
@echo "===== Module_FactoryConfig_Task =================================="
|
|
|
rm -f Module_FactoryConfig
|
|
|
- gcc -D Project=$(Project) "-I../../" -o Module_FactoryConfig "./Module_FactoryConfig.c"
|
|
|
+ gcc -D $(Project) "-I../../" -o Module_FactoryConfig "./Module_FactoryConfig.c"
|
|
|
mkdir -p /Storage/SystemLog
|
|
|
./Module_FactoryConfig -f;true
|
|
|
cp /mnt/FactoryDefaultConfig.bin ../Images
|
|
|
rm -f Module_FactoryConfig
|
|
|
- $(CC) -D Project=$(Project) "-I../../" -O0 -g3 -Wall -c -fmessage-length=0 -o Module_FactoryConfig.o "./Module_FactoryConfig.c"
|
|
|
+ $(CC) -D $(Project) "-I../../" -O0 -g3 -Wall -c -fmessage-length=0 -o Module_FactoryConfig.o "./Module_FactoryConfig.c"
|
|
|
$(CC) -o Module_FactoryConfig Module_FactoryConfig.o
|
|
|
rm -f *.o
|
|
|
mv -f Module_FactoryConfig ../Images/root
|
|
@@ -36,7 +36,7 @@ Module_FactoryConfig_Task:
|
|
|
Module_EventLogging_Task:
|
|
|
@echo "===== Module_EventLogging_Task ==================================="
|
|
|
rm -f Module_EventLogging
|
|
|
- $(CC) -D Project=$(Project) "-I../../" -O0 -g3 -Wall -c -fmessage-length=0 -o Module_EventLogging.o "./Module_EventLogging.c"
|
|
|
+ $(CC) -D $(Project) "-I../../" -O0 -g3 -Wall -c -fmessage-length=0 -o Module_EventLogging.o "./Module_EventLogging.c"
|
|
|
$(CC) -o Module_EventLogging Module_EventLogging.o
|
|
|
rm -f *.o
|
|
|
mv -f Module_EventLogging ../Images/root
|
|
@@ -45,7 +45,7 @@ Module_EventLogging_Task:
|
|
|
Module_AlarmDetect_Task:
|
|
|
@echo "===== Module_AlarmDetect_Task ===================================="
|
|
|
rm -f Module_AlarmDetect
|
|
|
- $(CC) -D Project=$(Project) "-I../../" -O0 -g3 -Wall -c -fmessage-length=0 -o Module_AlarmDetect.o "./Module_AlarmDetect.c"
|
|
|
+ $(CC) -D $(Project) "-I../../" -O0 -g3 -Wall -c -fmessage-length=0 -o Module_AlarmDetect.o "./Module_AlarmDetect.c"
|
|
|
$(CC) -o Module_AlarmDetect Module_AlarmDetect.o
|
|
|
rm -f *.o
|
|
|
mv -f Module_AlarmDetect ../Images/root
|
|
@@ -54,7 +54,7 @@ Module_AlarmDetect_Task:
|
|
|
Module_CSU_Task:
|
|
|
@echo "===== Module_CSU_Task ============================================"
|
|
|
rm -f main
|
|
|
- $(CC) -D Project=$(Project) "-I../../" "-include../../../Modularization/ocppfiles/sqlite3.h" "-include../../../Modularization/Module_Upgrade.h" "-include../../../Modularization/Module_RFID.h" -O0 -g3 -Wall -c -fmessage-length=0 -o main.o "./main.c"
|
|
|
+ $(CC) -D $(Project) "-I../../" "-include../../../Modularization/ocppfiles/sqlite3.h" "-include../../../Modularization/Module_Upgrade.h" "-include../../../Modularization/Module_RFID.h" -O0 -g3 -Wall -c -fmessage-length=0 -o main.o "./main.c"
|
|
|
$(CC) -o main main.o ${Lib_Module_RFID} ${Lib_Module_Upgrade} ${Lib_SQLite3}
|
|
|
rm -f *.o
|
|
|
mv -f main ../Images/root
|
|
@@ -63,7 +63,7 @@ Module_CSU_Task:
|
|
|
Module_Speaker_Task:
|
|
|
@echo "===== Module_Speaker_Task ===================================="
|
|
|
rm -f Module_Speaker
|
|
|
- $(CC) -D Project=$(Project) "-I../../" -O0 -g3 -Wall -c -fmessage-length=0 -o Module_Speaker.o "./Module_Speaker.c"
|
|
|
+ $(CC) -D $(Project) "-I../../" -O0 -g3 -Wall -c -fmessage-length=0 -o Module_Speaker.o "./Module_Speaker.c"
|
|
|
$(CC) -o Module_Speaker Module_Speaker.o
|
|
|
rm -f *.o
|
|
|
mv -f Module_Speaker ../Images/root
|