diff options
author | Kay Sievers <kay@pim.off.vrfy.org> | 2005-10-27 21:49:13 +0200 |
---|---|---|
committer | Kay Sievers <kay@pim.off.vrfy.org> | 2005-10-27 21:49:13 +0200 |
commit | 6cb1bbe471ea4e5098a47e4515765e6cae96b9a0 (patch) | |
tree | fc27fb1a1949eeefd870d98959921e3dee44be79 /Makefile | |
parent | c895fd002763d6ae808e820020dc54e74c347fc2 (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-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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): |