[svn-commits] file: branch file/zaptel-firmware r1863 - in /team/file/zaptel-firmware: ./ f...

svn-commits at lists.digium.com svn-commits at lists.digium.com
Thu Jan 18 23:43:18 MST 2007


Author: file
Date: Fri Jan 19 00:43:17 2007
New Revision: 1863

URL: http://svn.digium.com/view/zaptel?view=rev&rev=1863
Log:
Add clean target for firmware which will just clean up anything we did, and make normal Makefile hop to it.

Modified:
    team/file/zaptel-firmware/Makefile
    team/file/zaptel-firmware/firmware/Makefile

Modified: team/file/zaptel-firmware/Makefile
URL: http://svn.digium.com/view/zaptel/team/file/zaptel-firmware/Makefile?view=diff&rev=1863&r1=1862&r2=1863
==============================================================================
--- team/file/zaptel-firmware/Makefile (original)
+++ team/file/zaptel-firmware/Makefile Fri Jan 19 00:43:17 2007
@@ -497,6 +497,7 @@
 	$(MAKE) -C wct4xxp clean
 	$(MAKE) -C datamods clean
 endif
+	$(MAKE) -C firmware clean
 	rm -f xpp/*.ko xpp/*.mod.c xpp/.*o.cmd
 	rm -f xpp/*.o xpp/*.mod.o
 	rm -rf .tmp_versions

Modified: team/file/zaptel-firmware/firmware/Makefile
URL: http://svn.digium.com/view/zaptel/team/file/zaptel-firmware/firmware/Makefile?view=diff&rev=1863&r1=1862&r2=1863
==============================================================================
--- team/file/zaptel-firmware/firmware/Makefile (original)
+++ team/file/zaptel-firmware/firmware/Makefile Fri Jan 19 00:43:17 2007
@@ -70,11 +70,14 @@
 	(cat $@ | gzip -d | tar -xf -)
 
 # Clean up any downloaded/extracted firmware packages
-dist-clean:
-	rm -f zaptel-fw-*.o
-	rm -f zaptel-fw-*.h
+dist-clean: clean
 	rm -f zaptel-fw-*.bin
 	rm -f zaptel-fw-*.tar.gz
+
+# Clean up anything we built
+clean:
+	rm -f zaptel-fw-*.o
+	rm -r zaptel-fw-*.h
 
 # Create object files suitable for linking against
 object-build: $(FIRMWARE) $(OBJECT_FILES)



More information about the svn-commits mailing list