patch-2.4.6 linux/arch/arm/tools/Makefile
Next file: linux/arch/arm/tools/getconstants.c
Previous file: linux/arch/arm/mm/mm-l7200.c
Back to the patch index
Back to the overall index
-  Lines: 9
-  Date:
Wed Jun 27 14:12:04 2001
-  Orig file: 
v2.4.5/linux/arch/arm/tools/Makefile
-  Orig date: 
Tue Mar  6 19:44:35 2001
diff -u --recursive --new-file v2.4.5/linux/arch/arm/tools/Makefile linux/arch/arm/tools/Makefile
@@ -16,7 +16,7 @@
 
 $(TOPDIR)/include/asm-arm/constants.h: constants-hdr getconstants.c
 	$(CC) $(CFLAGS) -S -o - getconstants.c | \
-	 sed 's/^\(#define .* \)#\(.*\)/\1\2/;/^#define/!d' | \
+	 sed 's/^\(#define .* \)[#$$]\(.*\)/\1\2/;/^#define/!d' | \
 	 cat constants-hdr - > $@.tmp
 	cmp $@.tmp $@ >/dev/null 2>&1 || mv $@.tmp $@; $(RM) $@.tmp
 
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)