mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-18 21:28:02 +00:00
adds missing patch for native toolchain
SVN-Revision: 11425
This commit is contained in:
parent
80e70b78fd
commit
c9d9f8045c
@ -142,6 +142,10 @@ config EXTERNAL_KERNEL_TREE
|
|||||||
prompt "Use external kernel tree" if DEVEL
|
prompt "Use external kernel tree" if DEVEL
|
||||||
default ""
|
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"
|
source "toolchain/Config.in"
|
||||||
menuconfig BUILDSYSTEM_SETTINGS
|
menuconfig BUILDSYSTEM_SETTINGS
|
||||||
bool "Buildsystem settings"
|
bool "Buildsystem settings"
|
||||||
|
14
rules.mk
14
rules.mk
@ -120,11 +120,15 @@ TARGET_CONFIGURE_OPTS:= \
|
|||||||
SIZE=$(TARGET_CROSS)size
|
SIZE=$(TARGET_CROSS)size
|
||||||
|
|
||||||
# strip an entire directory
|
# strip an entire directory
|
||||||
RSTRIP:= \
|
ifneq ($(CONFIG_BUILD_DEVELOPER_SYSTEM),)
|
||||||
NM="$(TARGET_CROSS)nm" \
|
RSTRIP:=:
|
||||||
STRIP="$(STRIP)" \
|
else
|
||||||
STRIP_KMOD="$(TARGET_CROSS)strip --strip-unneeded --remove-section=.comment" \
|
RSTRIP:= \
|
||||||
$(SCRIPT_DIR)/rstrip.sh
|
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)
|
ifeq ($(CONFIG_ENABLE_LOCALE),true)
|
||||||
DISABLE_NLS:=
|
DISABLE_NLS:=
|
||||||
|
Loading…
Reference in New Issue
Block a user