diff options
author | John Crispin <john@openwrt.org> | 2008-06-10 07:18:41 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2008-06-10 07:18:41 +0000 |
commit | c9d9f8045c5aebdfeb96d7f9833927751d854bc1 (patch) | |
tree | 23ca4ef3aee50468acaf784ace88dfa0d2bf0fec /rules.mk | |
parent | 80e70b78fd12c0ace10bb0f505aa4c8593b8981c (diff) | |
download | openwrt-c9d9f8045c5aebdfeb96d7f9833927751d854bc1.tar.gz openwrt-c9d9f8045c5aebdfeb96d7f9833927751d854bc1.tar.bz2 openwrt-c9d9f8045c5aebdfeb96d7f9833927751d854bc1.zip |
adds missing patch for native toolchain
SVN-Revision: 11425
Diffstat (limited to 'rules.mk')
-rw-r--r-- | rules.mk | 14 |
1 files changed, 9 insertions, 5 deletions
@@ -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:= |