Skip to content
Snippets Groups Projects
Commit c9d9f804 authored by John Crispin's avatar John Crispin
Browse files

adds missing patch for native toolchain

SVN-Revision: 11425
parent 80e70b78
No related branches found
No related tags found
No related merge requests found
......@@ -142,6 +142,10 @@ config EXTERNAL_KERNEL_TREE
prompt "Use external kernel tree" if DEVEL
default ""
config BUILD_DEVELOPER_SYSTEM
bool "build a non-stripped system, so gcc can be run natively on target" if DEVEL
default n
source "toolchain/Config.in"
menuconfig BUILDSYSTEM_SETTINGS
bool "Buildsystem settings"
......
......@@ -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:=
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment