LWN.net Logo

atm: List files to be deleted during clean and mrproper 2/6

From:  Sam Ravnborg <sam@ravnborg.org>
To:  Linus Torvalds <torvalds@transmeta.com>, linux-kernel@vger.kernel.org
Subject:  [PATCH] atm: List files to be deleted during clean and mrproper 2/6
Date:  Tue, 10 Sep 2002 23:03:44 +0200

Atm makefile updated

	Sam

diff -Nru a/drivers/atm/Makefile b/drivers/atm/Makefile
--- a/drivers/atm/Makefile	Tue Sep 10 22:37:43 2002
+++ b/drivers/atm/Makefile	Tue Sep 10 22:37:43 2002
@@ -58,6 +58,12 @@
 
 EXTRA_CFLAGS := -g
 
+# Files generated that shall be removed upon make clean
+clean := {atmsar11,pca200e,pca200e_ecd,sba200e_ecd}.{bin,bin1,bin2} 
+
+# Firmware generated that shall be removed upon make mrproper
+mrproper := fore200e_pca_fw.c fore200e_sba_fw.c
+
 include $(TOPDIR)/Rules.make
 
 # FORE Systems 200E-series firmware magic
@@ -72,6 +78,6 @@
 	  -i $(CONFIG_ATM_FORE200E_SBA_FW) -o $@
 
 # deal with the various suffixes of the binary firmware images
-$(obj)/%.bin $(obj)/%.bin1 $(obj)/%.bin2: $(obj)/%.data
+$(obj)/%.bin $(obj)/%.bin1 $(obj)/%.bin2: $(src)/%.data
 	objcopy -Iihex $< -Obinary $@.gz
 	gzip -df $@.gz
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Copyright © 2002, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds