summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@suse.de>2006-03-28 03:09:18 +0200
committerKay Sievers <kay.sievers@suse.de>2006-03-28 03:09:18 +0200
commit15ff0ba36e9c1f051fe1e35e69f8569d0dfe2d66 (patch)
treeb3cf8d571bb5085764e483bd0c465fe87a3bba59
parent92da64c700371126ee3bde79f983e0b3056d9442 (diff)
remove all stripping code
-rw-r--r--Makefile10
-rw-r--r--README3
-rw-r--r--extras/ata_id/Makefile4
-rw-r--r--extras/cdrom_id/Makefile4
-rw-r--r--extras/dasd_id/Makefile4
-rw-r--r--extras/edd_id/Makefile4
-rw-r--r--extras/firmware/Makefile4
-rw-r--r--extras/floppy/Makefile4
-rw-r--r--extras/run_directory/Makefile4
-rw-r--r--extras/scsi_id/Makefile4
-rw-r--r--extras/usb_id/Makefile4
-rw-r--r--extras/volume_id/Makefile4
12 files changed, 1 insertions, 52 deletions
diff --git a/Makefile b/Makefile
index d3341a6c83..1b9534c7b8 100644
--- a/Makefile
+++ b/Makefile
@@ -117,8 +117,6 @@ LD = $(CROSS_COMPILE)gcc
AR = $(CROSS_COMPILE)ar
RANLIB = $(CROSS_COMPILE)ranlib
HOSTCC = gcc
-STRIP = $(CROSS_COMPILE)strip
-STRIPCMD = $(STRIP) -s
CFLAGS = -g -Wall -pipe -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
WARNINGS = -Wstrict-prototypes -Wsign-compare -Wshadow \
@@ -138,7 +136,6 @@ endif
# if DEBUG is enabled, then we do not strip
ifeq ($(strip $(DEBUG)),true)
CFLAGS += -DDEBUG
- STRIPCMD =
endif
ifeq ($(strip $(USE_GCOV)),true)
@@ -178,7 +175,6 @@ all: $(PROGRAMS) $(MAN_PAGES)
CFLAGS="$(CFLAGS)" \
LD="$(LD)" \
LDFLAGS="$(LDFLAGS)" \
- STRIPCMD="$(STRIPCMD)" \
LIB_OBJS="$(LIB_OBJS)" \
LIBUDEV="$(PWD)/$(LIBUDEV)" \
-C $$target $@ || exit 1; \
@@ -198,10 +194,6 @@ all: $(PROGRAMS) $(MAN_PAGES)
$(PROGRAMS): %: $(HEADERS) $(GEN_HEADERS) $(LIBUDEV) %.o
$(E) " LD " $@
$(Q) $(LD) $(LDFLAGS) $@.o -o $@ $(LIBUDEV) $(LIB_OBJS)
-ifneq ($(STRIPCMD),)
- $(E) " STRIP " $@
- $(Q) $(STRIPCMD) $@
-endif
$(LIBUDEV): $(HEADERS) $(GEN_HEADERS) $(UDEV_OBJS)
$(Q) rm -f $@
@@ -349,7 +341,7 @@ ChangeLog: Makefile
@ rm $@.tmp
gcov-all:
- $(MAKE) clean all STRIPCMD= USE_GCOV=true
+ $(MAKE) clean all USE_GCOV=true
@ echo
@ echo "binaries built with gcov support."
@ echo "run the tests and analyze with 'make udev_gcov.txt'"
diff --git a/README b/README
index 21a6c186dc..c188506b53 100644
--- a/README
+++ b/README
@@ -66,9 +66,6 @@ Compile Options:
If set to 'true', very verbose debugging messages will be compiled
into the udev binaries. The actual level of debugging is specified
in the udev config file.
- STRIPCMD
- If udev is compiled for packaging an empty string can be passed
- to disable the stripping of the binaries.
USE_SELINUX
If set to 'true', udev will be built with SELinux support
enabled. This is disabled by default.
diff --git a/extras/ata_id/Makefile b/extras/ata_id/Makefile
index 9049a35787..690100082e 100644
--- a/extras/ata_id/Makefile
+++ b/extras/ata_id/Makefile
@@ -36,10 +36,6 @@ all: $(PROG) $(MAN_PAGES)
$(PROG): %: $(HEADERS) %.o $(OBJS)
$(E) " LD " $@
$(Q) $(LD) $(LDFLAGS) $@.o $(OBJS) -o $@ $(LIBUDEV) $(LIB_OBJS)
-ifneq ($(strip $(STRIPCMD)),)
- $(E) " STRIP " $@
- $(Q) $(STRIPCMD) $@
-endif
# man pages
%.8: %.xml
diff --git a/extras/cdrom_id/Makefile b/extras/cdrom_id/Makefile
index 59c2532d41..c7479ed4ed 100644
--- a/extras/cdrom_id/Makefile
+++ b/extras/cdrom_id/Makefile
@@ -36,10 +36,6 @@ all: $(PROG) $(MAN_PAGES)
$(PROG): %: $(HEADERS) %.o $(OBJS)
$(E) " LD " $@
$(Q) $(LD) $(LDFLAGS) $@.o $(OBJS) -o $@ $(LIBUDEV) $(LIB_OBJS)
-ifneq ($(strip $(STRIPCMD)),)
- $(E) " STRIP " $@
- $(Q) $(STRIPCMD) $@
-endif
# man pages
%.8: %.xml
diff --git a/extras/dasd_id/Makefile b/extras/dasd_id/Makefile
index 6831a9d507..76f5949c12 100644
--- a/extras/dasd_id/Makefile
+++ b/extras/dasd_id/Makefile
@@ -36,10 +36,6 @@ all: $(PROG) $(MAN_PAGES)
$(PROG): %: $(HEADERS) %.o $(OBJS)
$(E) " LD " $@
$(Q) $(LD) $(LDFLAGS) $@.o $(OBJS) -o $@ $(LIBUDEV) $(LIB_OBJS)
-ifneq ($(strip $(STRIPCMD)),)
- $(E) " STRIP " $@
- $(Q) $(STRIPCMD) $@
-endif
# man pages
%.8: %.xml
diff --git a/extras/edd_id/Makefile b/extras/edd_id/Makefile
index 8afd8cc2fd..9671878a57 100644
--- a/extras/edd_id/Makefile
+++ b/extras/edd_id/Makefile
@@ -36,10 +36,6 @@ all: $(PROG) $(MAN_PAGES)
$(PROG): %: $(HEADERS) %.o $(OBJS)
$(E) " LD " $@
$(Q) $(LD) $(LDFLAGS) $@.o $(OBJS) -o $@ $(LIBUDEV) $(LIB_OBJS)
-ifneq ($(strip $(STRIPCMD)),)
- $(E) " STRIP " $@
- $(Q) $(STRIPCMD) $@
-endif
# man pages
%.8: %.xml
diff --git a/extras/firmware/Makefile b/extras/firmware/Makefile
index d6b13b20db..a30c0fcd5b 100644
--- a/extras/firmware/Makefile
+++ b/extras/firmware/Makefile
@@ -36,10 +36,6 @@ all: $(PROG) $(MAN_PAGES)
$(PROG): %: $(HEADERS) %.o $(OBJS)
$(E) " LD " $@
$(Q) $(LD) $(LDFLAGS) $@.o $(OBJS) -o $@ $(LIBUDEV) $(LIB_OBJS)
-ifneq ($(strip $(STRIPCMD)),)
- $(E) " STRIP " $@
- $(Q) $(STRIPCMD) $@
-endif
# man pages
%.8: %.xml
diff --git a/extras/floppy/Makefile b/extras/floppy/Makefile
index 7b46a5f00c..a06ebc8b39 100644
--- a/extras/floppy/Makefile
+++ b/extras/floppy/Makefile
@@ -36,10 +36,6 @@ all: $(PROG) $(MAN_PAGES)
$(PROG): %: $(HEADERS) %.o $(OBJS)
$(E) " LD " $@
$(Q) $(LD) $(LDFLAGS) $@.o $(OBJS) -o $@ $(LIBUDEV) $(LIB_OBJS)
-ifneq ($(strip $(STRIPCMD)),)
- $(E) " STRIP " $@
- $(Q) $(STRIPCMD) $@
-endif
# man pages
%.8: %.xml
diff --git a/extras/run_directory/Makefile b/extras/run_directory/Makefile
index 0b52326a9a..7ad6c547b8 100644
--- a/extras/run_directory/Makefile
+++ b/extras/run_directory/Makefile
@@ -35,10 +35,6 @@ all: $(PROG) $(MAN_PAGES)
$(PROG): %: $(HEADERS) %.o $(OBJS)
$(E) " LD " $@
$(Q) $(LD) $(LDFLAGS) $@.o $(OBJS) -o $@ $(LIBUDEV) $(LIB_OBJS)
-ifneq ($(strip $(STRIPCMD)),)
- $(E) " STRIP " $@
- $(Q) $(STRIPCMD) $@
-endif
# man pages
%.8: %.xml
diff --git a/extras/scsi_id/Makefile b/extras/scsi_id/Makefile
index b185998b19..544954dc7e 100644
--- a/extras/scsi_id/Makefile
+++ b/extras/scsi_id/Makefile
@@ -39,10 +39,6 @@ all: $(PROG) $(MAN_PAGES)
$(PROG): %: $(HEADERS) %.o $(OBJS)
$(E) " LD " $@
$(Q) $(LD) $(LDFLAGS) $@.o $(OBJS) -o $@ $(LIBUDEV) $(LIB_OBJS)
-ifneq ($(STRIPCMD),)
- $(E) " STRIP " $@
- $(Q) $(STRIPCMD) $@
-endif
scsi_id_version.h:
$(E) " GENHDR " $@
diff --git a/extras/usb_id/Makefile b/extras/usb_id/Makefile
index b3c417276a..40555fd52c 100644
--- a/extras/usb_id/Makefile
+++ b/extras/usb_id/Makefile
@@ -36,10 +36,6 @@ all: $(PROG) $(MAN_PAGES)
$(PROG): %: $(HEADERS) %.o $(OBJS)
$(E) " LD " $@
$(Q) $(LD) $(LDFLAGS) $@.o $(OBJS) -o $@ $(LIBUDEV) $(LIB_OBJS)
-ifneq ($(strip $(STRIPCMD)),)
- $(E) " STRIP " $@
- $(Q) $(STRIPCMD) $@
-endif
# man pages
%.8: %.xml
diff --git a/extras/volume_id/Makefile b/extras/volume_id/Makefile
index 72e2d3abb1..759ea549cc 100644
--- a/extras/volume_id/Makefile
+++ b/extras/volume_id/Makefile
@@ -41,10 +41,6 @@ ifeq ($(strip $(VOLUME_ID_STATIC)),true)
else
$(Q) $(LD) $(LDFLAGS) -o $@ $@.o $(LIBUDEV) -Llib -lvolume_id $(LIB_OBJS)
endif
-ifneq ($(strip $(STRIPCMD)),)
- $(E) " STRIP " $@
- $(Q) $(STRIPCMD) $@
-endif
# man pages
%.8: %.xml