Cleaning up make errors when running make clean.

Not cleaning up the test results multiple times.
This commit is contained in:
Bernard Davison
2012-03-21 15:43:45 +11:00
parent 763bd7234d
commit 975c8a9c1b
2 changed files with 2 additions and 2 deletions
-1
View File
@@ -238,7 +238,6 @@ clean:
$(Q)find . -mindepth 2 -name Makefile -exec sh -c 'echo "Cleaning {}"; $(MAKE) -C `dirname {}` $@' \; $(Q)find . -mindepth 2 -name Makefile -exec sh -c 'echo "Cleaning {}"; $(MAKE) -C `dirname {}` $@' \;
$(Q)find . -name '*~' -exec rm -f {} \; $(Q)find . -name '*~' -exec rm -f {} \;
$(Q)rm -f paparazzi sw/simulator/launchsitl $(Q)rm -f paparazzi sw/simulator/launchsitl
$(Q)rm -rf tests/results/*
cleanspaces: cleanspaces:
find ./sw/airborne -name '*.[ch]' -exec sed -i {} -e 's/[ \t]*$$//' \; find ./sw/airborne -name '*.[ch]' -exec sed -i {} -e 's/[ \t]*$$//' \;
@@ -89,6 +89,7 @@ endif
$(MAKE) install -C apps DESTDIR=$(DESTDIR) $(MAKE) install -C apps DESTDIR=$(DESTDIR)
clean: clean:
$(MAKE) clean -C $(KSRC) M=$(shell pwd)/kernel $(MAKE) clean -C $(KSRC) $(shell pwd)/kernel
rm -f hotplug/wis-ezusb udev/wis-ezusb.rules rm -f hotplug/wis-ezusb udev/wis-ezusb.rules
$(MAKE) clean -C apps $(MAKE) clean -C apps