summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-01-30 13:14:06 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-01-30 13:14:06 +0100
commit8f2b7e31247e9f0c9cbf702f955b9777b21130aa (patch)
treeedc91c94533cd072896434a4eba18151a56dc2f4 /mk
parent1e38e7fa943d16dde6dfee258bb97e9a1768f5f2 (diff)
allow to use strip, even when debug is on. required for gdbserver setups.
Diffstat (limited to 'mk')
-rw-r--r--mk/package.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/mk/package.mk b/mk/package.mk
index eded9c226..6565bad18 100644
--- a/mk/package.mk
+++ b/mk/package.mk
@@ -155,6 +155,9 @@ $$(IPKG_$(1)): $$(IDIR_$(1))/CONTROL/control $${_FAKE_COOKIE}
ifeq ($(ADK_DEBUG),)
$${RSTRIP} $${IDIR_$(1)} $(MAKE_TRACE)
endif
+ifeq ($(ADK_DEBUG_STRIP),y)
+ $${RSTRIP} $${IDIR_$(1)} $(MAKE_TRACE)
+endif
ifeq (${ADK_INSTALL_PACKAGE_INIT_SCRIPTS},y)
@for file in $$$$(ls ./files/*.init 2>/dev/null); do \
fname=$$$$(echo $$$$file| sed -e "s#.*/##" -e "s#.init##"); \