use lazy evaluation for TARGET_CONFIGURE_OPTS to make it possible to override TARGET_CC and TARGET_CXX

SVN-Revision: 20566
This commit is contained in:
Felix Fietkau 2010-03-29 00:05:48 +00:00
parent 51fb4cee31
commit dd046f4759

View File

@ -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 \