mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-13 05:18:26 +02:00
use lazy evaluation for TARGET_CONFIGURE_OPTS to make it possible to override TARGET_CC and TARGET_CXX
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20566 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
a6b7402fe6
commit
66bce4ab80
2
rules.mk
2
rules.mk
@ -172,7 +172,7 @@ ifneq ($(CONFIG_CCACHE),)
|
|||||||
TARGET_CC:= ccache $(TARGET_CC)
|
TARGET_CC:= ccache $(TARGET_CC)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
TARGET_CONFIGURE_OPTS:= \
|
TARGET_CONFIGURE_OPTS = \
|
||||||
AR=$(TARGET_CROSS)ar \
|
AR=$(TARGET_CROSS)ar \
|
||||||
AS="$(TARGET_CC) -c $(TARGET_CFLAGS)" \
|
AS="$(TARGET_CC) -c $(TARGET_CFLAGS)" \
|
||||||
LD=$(TARGET_CROSS)ld \
|
LD=$(TARGET_CROSS)ld \
|
||||||
|
Loading…
Reference in New Issue
Block a user