summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKay Sievers <kay@pim.off.vrfy.org>2005-10-27 21:49:13 +0200
committerKay Sievers <kay@pim.off.vrfy.org>2005-10-27 21:49:13 +0200
commit6cb1bbe471ea4e5098a47e4515765e6cae96b9a0 (patch)
treefc27fb1a1949eeefd870d98959921e3dee44be79 /Makefile
parentc895fd002763d6ae808e820020dc54e74c347fc2 (diff)
"make STRIPCMD=" will disable the stripping of binaries
Almost all packagers have always patched the stripping out, cause the buildsystems takes care of it. Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f69ac96e9d..d309cf6c90 100644
--- 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 ($(strip $(STRIPCMD)),)
$(QUIET) $(STRIPCMD) $@
+endif
# our own copy of klibc, it is not used if KLCC is given
$(KLCC):