]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/CORTEX_A9_Zynq_ZC702/RTOSDemo_bsp/Makefile
Update Zynq, MPSoc Cortex-A53 and MPSoc Cortex-R5 demo projects to build with the...
[freertos] / FreeRTOS / Demo / CORTEX_A9_Zynq_ZC702 / RTOSDemo_bsp / Makefile
index 368665eb967f4e23b235e9deae78c93d6cdc1d75..db5fc27bd5b01ff08729e382ddbef22ed4f020ee 100644 (file)
@@ -16,16 +16,20 @@ include: $(addsuffix /make.include,$(SUBDIRS))
 \r
 libs: $(addsuffix /make.libs,$(SUBDIRS))\r
 \r
+clean: $(addsuffix /make.clean,$(SUBDIRS))\r
+\r
 $(PROCESSOR)/lib/libxil.a: $(PROCESSOR)/lib/libxil_init.a\r
        cp -f $< $@\r
 \r
 %/make.include: $(if $(wildcard $(PROCESSOR)/lib/libxil_init.a),$(PROCESSOR)/lib/libxil.a,)\r
        @echo "Running Make include in $(subst /make.include,,$@)"\r
-       $(MAKE) -C $(subst /make.include,,$@) -s include  "SHELL=$(SHELL)" "COMPILER=arm-none-eabi-gcc" "ARCHIVER=arm-none-eabi-ar" "COMPILER_FLAGS=  -O2 -c" "EXTRA_COMPILER_FLAGS=-mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -nostartfiles"\r
+       $(MAKE) -C $(subst /make.include,,$@) -s include  "SHELL=$(SHELL)" "COMPILER=arm-none-eabi-gcc" "ARCHIVER=arm-none-eabi-ar" "COMPILER_FLAGS=  -O2 -c" "EXTRA_COMPILER_FLAGS=-mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -nostartfiles -g -Wall -Wextra"\r
 \r
 %/make.libs: include\r
        @echo "Running Make libs in $(subst /make.libs,,$@)"\r
-       $(MAKE) -C $(subst /make.libs,,$@) -s libs  "SHELL=$(SHELL)" "COMPILER=arm-none-eabi-gcc" "ARCHIVER=arm-none-eabi-ar" "COMPILER_FLAGS=  -O2 -c" "EXTRA_COMPILER_FLAGS=-mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -nostartfiles"\r
+       $(MAKE) -C $(subst /make.libs,,$@) -s libs  "SHELL=$(SHELL)" "COMPILER=arm-none-eabi-gcc" "ARCHIVER=arm-none-eabi-ar" "COMPILER_FLAGS=  -O2 -c" "EXTRA_COMPILER_FLAGS=-mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -nostartfiles -g -Wall -Wextra"\r
 \r
+%/make.clean: \r
+       $(MAKE) -C $(subst /make.clean,,$@) -s clean \r
 clean:\r
        rm -f ${PROCESSOR}/lib/libxil.a\r