[kernel] r12989 - dists/trunk/firmware-nonfree/bnx2/fwcutter
Ben Hutchings
benh at alioth.debian.org
Sat Mar 7 03:15:52 UTC 2009
Author: benh
Date: Sat Mar 7 03:15:50 2009
New Revision: 12989
Log:
Allow for multi-line macro definitions in bnx2.h
Modified:
dists/trunk/firmware-nonfree/bnx2/fwcutter/Makefile
Modified: dists/trunk/firmware-nonfree/bnx2/fwcutter/Makefile
==============================================================================
--- dists/trunk/firmware-nonfree/bnx2/fwcutter/Makefile (original)
+++ dists/trunk/firmware-nonfree/bnx2/fwcutter/Makefile Sat Mar 7 03:15:50 2009
@@ -17,7 +17,7 @@
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $<
bnx2_fwcutter_$(KERNEL_VERSION).h: $(KERNEL_SOURCE)/drivers/net/bnx2.h
- grep "^#define BNX2" $^ > $@
+ sed "/^#define BNX2.*[^\\]$$/p; /^#define BNX2.*\\$$/,/[^\\]$$/p; d" $^ > $@
else
all:
$(error Please define KERNEL_SOURCE and KERNEL_VERSION)
More information about the Kernel-svn-changes
mailing list