chiark / gitweb /
libsysfs: remove brute-force "bus", "driver" searching for old kernels
[elogind.git] / Makefile
index f69ac96e9d61e469b1af210dff3e3cb55a065e18..8446eee924d527bf46fd6e036c532eba5b46dc63 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -169,7 +169,7 @@ endif
 # if DEBUG is enabled, then we do not strip
 ifeq ($(strip $(DEBUG)),true)
        CFLAGS  += -DDEBUG
-       STRIPCMD = /bin/true unstripped binary
+       STRIPCMD =
 endif
 
 ifeq ($(strip $(USE_GCOV)),true)
@@ -233,7 +233,9 @@ 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 ($(STRIPCMD),)
        $(QUIET) $(STRIPCMD) $@
+endif
 
 # our own copy of klibc, it is not used if KLCC is given
 $(KLCC):