mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-23 21:37:10 +02:00
adds missing patch for native toolchain
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11425 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
1a3c050033
commit
fbaee64c45
@ -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"
|
||||
|
14
rules.mk
14
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:=
|
||||
|
Loading…
Reference in New Issue
Block a user