summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKay Sievers <kay@pim.off.vrfy.org>2005-10-28 01:49:22 +0200
committerKay Sievers <kay@pim.off.vrfy.org>2005-10-28 01:49:22 +0200
commitc1bf1edeb726dc2cdedca5358f9b9cd88db72697 (patch)
tree91ce27bc8aecc531ff59c8a094317bb2493f9642
parent90e037dbe29fc55e72d0c7e31ed78a71b8dca2c9 (diff)
"STRIPCMD=" for the EXTRAS
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
-rw-r--r--Makefile2
-rw-r--r--extras/ata_id/Makefile2
-rw-r--r--extras/cdrom_id/Makefile2
-rw-r--r--extras/dasd_id/Makefile2
-rw-r--r--extras/edd_id/Makefile2
-rw-r--r--extras/firmware/Makefile2
-rw-r--r--extras/floppy/Makefile2
-rw-r--r--extras/run_directory/Makefile2
-rw-r--r--extras/scsi_id/Makefile2
-rw-r--r--extras/usb_id/Makefile2
-rw-r--r--extras/volume_id/Makefile2
11 files changed, 21 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d309cf6c90..8446eee924 100644
--- a/Makefile
+++ b/Makefile
@@ -233,7 +233,7 @@ all: $(KLCC) $(PROGRAMS) $(MAN_PAGES)
# "Static Pattern Rule" to build all programs
$(PROGRAMS): %: $(HOST_PROGS) $(KLCC) $(HEADERS) $(GEN_HEADERS) $(LIBSYSFS) $(LIBUDEV) %.o
$(QUIET) $(LD) $(LDFLAGS) $@.o -o $@ $(LIBUDEV) $(LIBSYSFS) $(LIB_OBJS)
-ifneq ($(strip $(STRIPCMD)),)
+ifneq ($(STRIPCMD),)
$(QUIET) $(STRIPCMD) $@
endif
diff --git a/extras/ata_id/Makefile b/extras/ata_id/Makefile
index d93e694778..fba0d0b719 100644
--- a/extras/ata_id/Makefile
+++ b/extras/ata_id/Makefile
@@ -35,7 +35,9 @@ all: $(PROG) $(MAN_PAGES)
$(PROG): %: $(HEADERS) %.o $(OBJS)
$(QUIET) $(LD) $(LDFLAGS) $@.o $(OBJS) -o $@ $(LIBUDEV) $(LIBSYSFS) $(LIB_OBJS)
+ifneq ($(STRIPCMD),)
$(QUIET) $(STRIPCMD) $@
+endif
# man pages
%.8: %.xml
diff --git a/extras/cdrom_id/Makefile b/extras/cdrom_id/Makefile
index c3ee6e3295..f06d2c65bf 100644
--- a/extras/cdrom_id/Makefile
+++ b/extras/cdrom_id/Makefile
@@ -35,7 +35,9 @@ all: $(PROG) $(MAN_PAGES)
$(PROG): %: $(HEADERS) %.o $(OBJS)
$(QUIET) $(LD) $(LDFLAGS) $@.o $(OBJS) -o $@ $(LIBUDEV) $(LIBSYSFS) $(LIB_OBJS)
+ifneq ($(strip $(STRIPCMD)),)
$(QUIET) $(STRIPCMD) $@
+endif
# man pages
%.8: %.xml
diff --git a/extras/dasd_id/Makefile b/extras/dasd_id/Makefile
index 2a14050d66..698253a9ee 100644
--- a/extras/dasd_id/Makefile
+++ b/extras/dasd_id/Makefile
@@ -35,7 +35,9 @@ all: $(PROG) $(MAN_PAGES)
$(PROG): %: $(HEADERS) %.o $(OBJS)
$(QUIET) $(LD) $(LDFLAGS) $@.o $(OBJS) -o $@ $(LIBUDEV) $(LIBSYSFS) $(LIB_OBJS)
+ifneq ($(strip $(STRIPCMD)),)
$(QUIET) $(STRIPCMD) $@
+endif
# man pages
%.8: %.xml
diff --git a/extras/edd_id/Makefile b/extras/edd_id/Makefile
index 70244ea468..65e023f542 100644
--- a/extras/edd_id/Makefile
+++ b/extras/edd_id/Makefile
@@ -35,7 +35,9 @@ all: $(PROG) $(MAN_PAGES)
$(PROG): %: $(HEADERS) %.o $(OBJS)
$(QUIET) $(LD) $(LDFLAGS) $@.o $(OBJS) -o $@ $(LIBUDEV) $(LIBSYSFS) $(LIB_OBJS)
+ifneq ($(strip $(STRIPCMD)),)
$(QUIET) $(STRIPCMD) $@
+endif
# man pages
%.8: %.xml
diff --git a/extras/firmware/Makefile b/extras/firmware/Makefile
index 7de94c40a7..48dacb4764 100644
--- a/extras/firmware/Makefile
+++ b/extras/firmware/Makefile
@@ -35,7 +35,9 @@ all: $(PROG) $(MAN_PAGES)
$(PROG): %: $(HEADERS) %.o $(OBJS)
$(QUIET) $(LD) $(LDFLAGS) $@.o $(OBJS) -o $@ $(LIBUDEV) $(LIBSYSFS) $(LIB_OBJS)
+ifneq ($(strip $(STRIPCMD)),)
$(QUIET) $(STRIPCMD) $@
+endif
# man pages
%.8: %.xml
diff --git a/extras/floppy/Makefile b/extras/floppy/Makefile
index 8568e28edf..344f48828d 100644
--- a/extras/floppy/Makefile
+++ b/extras/floppy/Makefile
@@ -35,7 +35,9 @@ all: $(PROG) $(MAN_PAGES)
$(PROG): %: $(HEADERS) %.o $(OBJS)
$(QUIET) $(LD) $(LDFLAGS) $@.o $(OBJS) -o $@ $(LIBUDEV) $(LIBSYSFS) $(LIB_OBJS)
+ifneq ($(strip $(STRIPCMD)),)
$(QUIET) $(STRIPCMD) $@
+endif
# man pages
%.8: %.xml
diff --git a/extras/run_directory/Makefile b/extras/run_directory/Makefile
index 20b3af340c..1b48719c61 100644
--- a/extras/run_directory/Makefile
+++ b/extras/run_directory/Makefile
@@ -34,7 +34,9 @@ all: $(PROG) $(MAN_PAGES)
$(PROG): %: $(HEADERS) %.o $(OBJS)
$(QUIET) $(LD) $(LDFLAGS) $@.o $(OBJS) -o $@ $(LIBUDEV) $(LIBSYSFS) $(LIB_OBJS)
+ifneq ($(strip $(STRIPCMD)),)
$(QUIET) $(STRIPCMD) $@
+endif
# man pages
%.8: %.xml
diff --git a/extras/scsi_id/Makefile b/extras/scsi_id/Makefile
index 8a8c714a87..fadd4a1dd4 100644
--- a/extras/scsi_id/Makefile
+++ b/extras/scsi_id/Makefile
@@ -49,7 +49,9 @@ all: $(PROG) $(MAN_PAGES)
$(PROG): %: $(HEADERS) %.o $(OBJS)
$(QUIET) $(LD) $(LDFLAGS) $@.o $(OBJS) -o $@ $(LIBUDEV) $(LIBSYSFS) $(LIB_OBJS)
+ifneq ($(strip $(STRIPCMD)),)
$(QUIET) $(STRIPCMD) $@
+endif
scsi_id_version.h:
@echo "/* This file is auto-generated by the Makefile */" > $@
diff --git a/extras/usb_id/Makefile b/extras/usb_id/Makefile
index 1796aaea09..9f82fd5b2c 100644
--- a/extras/usb_id/Makefile
+++ b/extras/usb_id/Makefile
@@ -35,7 +35,9 @@ all: $(PROG) $(MAN_PAGES)
$(PROG): %: $(HEADERS) %.o $(OBJS)
$(QUIET) $(LD) $(LDFLAGS) $@.o $(OBJS) -o $@ $(LIBUDEV) $(LIBSYSFS) $(LIB_OBJS)
+ifneq ($(strip $(STRIPCMD)),)
$(QUIET) $(STRIPCMD) $@
+endif
# man pages
%.8: %.xml
diff --git a/extras/volume_id/Makefile b/extras/volume_id/Makefile
index 56cab10e23..a936e43bb2 100644
--- a/extras/volume_id/Makefile
+++ b/extras/volume_id/Makefile
@@ -38,7 +38,9 @@ all: $(PROG) $(MAN_PAGES)
$(PROG): %: $(HEADERS) %.o $(OBJS)
$(QUIET) $(LD) $(LDFLAGS) $@.o $(OBJS) -o $@ $(LIBUDEV) $(LIBSYSFS) $(LIB_OBJS)
+ifneq ($(strip $(STRIPCMD)),)
$(QUIET) $(STRIPCMD) $@
+endif
# man pages
%.8: %.xml