chiark / gitweb /
remove all stripping code
authorKay Sievers <kay.sievers@suse.de>
Tue, 28 Mar 2006 01:09:18 +0000 (03:09 +0200)
committerKay Sievers <kay.sievers@suse.de>
Tue, 28 Mar 2006 01:09:18 +0000 (03:09 +0200)
12 files changed:
Makefile
README
extras/ata_id/Makefile
extras/cdrom_id/Makefile
extras/dasd_id/Makefile
extras/edd_id/Makefile
extras/firmware/Makefile
extras/floppy/Makefile
extras/run_directory/Makefile
extras/scsi_id/Makefile
extras/usb_id/Makefile
extras/volume_id/Makefile

index d3341a6c835e928bf478cd97f34ba9d5a93bce83..1b9534c7b8100b18ff14fe95f6d9a1ca9a753093 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -117,8 +117,6 @@ LD = $(CROSS_COMPILE)gcc
 AR = $(CROSS_COMPILE)ar
 RANLIB = $(CROSS_COMPILE)ranlib
 HOSTCC = 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 \
 
 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
 # if DEBUG is enabled, then we do not strip
 ifeq ($(strip $(DEBUG)),true)
        CFLAGS  += -DDEBUG
-       STRIPCMD =
 endif
 
 ifeq ($(strip $(USE_GCOV)),true)
 endif
 
 ifeq ($(strip $(USE_GCOV)),true)
@@ -178,7 +175,6 @@ all: $(PROGRAMS) $(MAN_PAGES)
                        CFLAGS="$(CFLAGS)" \
                        LD="$(LD)" \
                        LDFLAGS="$(LDFLAGS)" \
                        CFLAGS="$(CFLAGS)" \
                        LD="$(LD)" \
                        LDFLAGS="$(LDFLAGS)" \
-                       STRIPCMD="$(STRIPCMD)" \
                        LIB_OBJS="$(LIB_OBJS)" \
                        LIBUDEV="$(PWD)/$(LIBUDEV)" \
                        -C $$target $@ || exit 1; \
                        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)
 $(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 $@
 
 $(LIBUDEV): $(HEADERS) $(GEN_HEADERS) $(UDEV_OBJS)
        $(Q) rm -f $@
@@ -349,7 +341,7 @@ ChangeLog: Makefile
        @ rm $@.tmp
 
 gcov-all:
        @ 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'"
        @ 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 21a6c186dc91292d5bf000fcade7be2ef7e9a9ab..c188506b53cd0f6ae77645552351b83f44a5857a 100644 (file)
--- 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.
        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.
   USE_SELINUX
        If set to 'true', udev will be built with SELinux support
        enabled.  This is disabled by default.
index 9049a357876f5a742d578860d020cad94c0dd303..690100082eff1f59f2e6bd8deeaa02fff9646f8f 100644 (file)
@@ -36,10 +36,6 @@ all: $(PROG) $(MAN_PAGES)
 $(PROG): %: $(HEADERS) %.o $(OBJS)
        $(E) "  LD      " $@
        $(Q) $(LD) $(LDFLAGS) $@.o $(OBJS) -o $@ $(LIBUDEV) $(LIB_OBJS)
 $(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
 
 # man pages
 %.8: %.xml
index 59c2532d41c7ebeac1812b3934787dd9fb0325ff..c7479ed4ed54bfc06dafa7a1739547fd4eff14e5 100644 (file)
@@ -36,10 +36,6 @@ all: $(PROG) $(MAN_PAGES)
 $(PROG): %: $(HEADERS) %.o $(OBJS)
        $(E) "  LD      " $@
        $(Q) $(LD) $(LDFLAGS) $@.o $(OBJS) -o $@ $(LIBUDEV) $(LIB_OBJS)
 $(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
 
 # man pages
 %.8: %.xml
index 6831a9d507efa200dc979191a239a77d4a226a7b..76f5949c1248c244045ec854261559f671b653fd 100644 (file)
@@ -36,10 +36,6 @@ all: $(PROG) $(MAN_PAGES)
 $(PROG): %: $(HEADERS) %.o $(OBJS)
        $(E) "  LD      " $@
        $(Q) $(LD) $(LDFLAGS) $@.o $(OBJS) -o $@ $(LIBUDEV) $(LIB_OBJS)
 $(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
 
 # man pages
 %.8: %.xml
index 8afd8cc2fd841fb672d1fa1f90ac3566275f8230..9671878a57233ed0475d13a555729bfdb776d828 100644 (file)
@@ -36,10 +36,6 @@ all: $(PROG) $(MAN_PAGES)
 $(PROG): %: $(HEADERS) %.o $(OBJS)
        $(E) "  LD      " $@
        $(Q) $(LD) $(LDFLAGS) $@.o $(OBJS) -o $@ $(LIBUDEV) $(LIB_OBJS)
 $(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
 
 # man pages
 %.8: %.xml
index d6b13b20db7fdfd6b6224c2b8e9c0a72e855c3ea..a30c0fcd5b197ba0ec124d3ff6d52752c5d1fcd8 100644 (file)
@@ -36,10 +36,6 @@ all: $(PROG) $(MAN_PAGES)
 $(PROG): %: $(HEADERS) %.o $(OBJS)
        $(E) "  LD      " $@
        $(Q) $(LD) $(LDFLAGS) $@.o $(OBJS) -o $@ $(LIBUDEV) $(LIB_OBJS)
 $(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
 
 # man pages
 %.8: %.xml
index 7b46a5f00c497e22b1394398969e14c7051cd51d..a06ebc8b39015791416b5d333ec864b40f118e79 100644 (file)
@@ -36,10 +36,6 @@ all: $(PROG) $(MAN_PAGES)
 $(PROG): %: $(HEADERS) %.o $(OBJS)
        $(E) "  LD      " $@
        $(Q) $(LD) $(LDFLAGS) $@.o $(OBJS) -o $@ $(LIBUDEV) $(LIB_OBJS)
 $(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
 
 # man pages
 %.8: %.xml
index 0b52326a9a5b77472e3763588a9035248e5cedc3..7ad6c547b810c7794e55f0e96ab63bff42b4b315 100644 (file)
@@ -35,10 +35,6 @@ all: $(PROG) $(MAN_PAGES)
 $(PROG): %: $(HEADERS) %.o $(OBJS)
        $(E) "  LD      " $@
        $(Q) $(LD) $(LDFLAGS) $@.o $(OBJS) -o $@ $(LIBUDEV) $(LIB_OBJS)
 $(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
 
 # man pages
 %.8: %.xml
index b185998b1979e024626f20c74f7785b75bf99415..544954dc7e98f22d168596e990d6785c56d80868 100644 (file)
@@ -39,10 +39,6 @@ all: $(PROG) $(MAN_PAGES)
 $(PROG): %: $(HEADERS) %.o $(OBJS)
        $(E) "  LD      " $@
        $(Q) $(LD) $(LDFLAGS) $@.o $(OBJS) -o $@ $(LIBUDEV) $(LIB_OBJS)
 $(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  " $@
 
 scsi_id_version.h:
        $(E) "  GENHDR  " $@
index b3c417276a02a8bd16b0dd2bc4ea0ab57f3d8058..40555fd52c52c0eef06f8e1bf4bb5c64bef13f25 100644 (file)
@@ -36,10 +36,6 @@ all: $(PROG) $(MAN_PAGES)
 $(PROG): %: $(HEADERS) %.o $(OBJS)
        $(E) "  LD      " $@
        $(Q) $(LD) $(LDFLAGS) $@.o $(OBJS) -o $@ $(LIBUDEV) $(LIB_OBJS)
 $(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
 
 # man pages
 %.8: %.xml
index 72e2d3abb10fb930daa0fe015f1aed3f7bf9f1e8..759ea549cc7fd56933135700a5c5e2ed6c4c37eb 100644 (file)
@@ -41,10 +41,6 @@ ifeq ($(strip $(VOLUME_ID_STATIC)),true)
 else
        $(Q) $(LD) $(LDFLAGS) -o $@ $@.o $(LIBUDEV) -Llib -lvolume_id $(LIB_OBJS)
 endif
 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
 
 # man pages
 %.8: %.xml