From c1bf1edeb726dc2cdedca5358f9b9cd88db72697 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Fri, 28 Oct 2005 01:49:22 +0200 Subject: "STRIPCMD=" for the EXTRAS Signed-off-by: Kay Sievers --- Makefile | 2 +- extras/ata_id/Makefile | 2 ++ extras/cdrom_id/Makefile | 2 ++ extras/dasd_id/Makefile | 2 ++ extras/edd_id/Makefile | 2 ++ extras/firmware/Makefile | 2 ++ extras/floppy/Makefile | 2 ++ extras/run_directory/Makefile | 2 ++ extras/scsi_id/Makefile | 2 ++ extras/usb_id/Makefile | 2 ++ extras/volume_id/Makefile | 2 ++ 11 files changed, 21 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3-54-g00ecf