summaryrefslogtreecommitdiffstats
path: root/rules.mk
diff options
context:
space:
mode:
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-06-10 07:18:41 +0000
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-06-10 07:18:41 +0000
commitfbaee64c454b2aac14f6cc324188f8d4c753a0d1 (patch)
tree600275254679c20517388907252ad1c5afb1b831 /rules.mk
parent1a3c05003391f0d8119d0a5b7940d14d53df1eca (diff)
adds missing patch for native toolchain
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11425 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'rules.mk')
-rw-r--r--rules.mk14
1 files changed, 9 insertions, 5 deletions
diff --git a/rules.mk b/rules.mk
index 6d6dab09b..7153a04c2 100644
--- a/rules.mk
+++ b/rules.mk
@@ -120,11 +120,15 @@ TARGET_CONFIGURE_OPTS:= \
SIZE=$(TARGET_CROSS)size
# strip an entire directory
-RSTRIP:= \
- NM="$(TARGET_CROSS)nm" \
- STRIP="$(STRIP)" \
- STRIP_KMOD="$(TARGET_CROSS)strip --strip-unneeded --remove-section=.comment" \
- $(SCRIPT_DIR)/rstrip.sh
+ifneq ($(CONFIG_BUILD_DEVELOPER_SYSTEM),)
+ RSTRIP:=:
+else
+ RSTRIP:= \
+ NM="$(TARGET_CROSS)nm" \
+ STRIP="$(STRIP)" \
+ STRIP_KMOD="$(TARGET_CROSS)strip --strip-unneeded --remove-section=.comment" \
+ $(SCRIPT_DIR)/rstrip.sh
+endif
ifeq ($(CONFIG_ENABLE_LOCALE),true)
DISABLE_NLS:=