From: Felix Fietkau Date: Sat, 22 Sep 2012 20:10:24 +0000 (+0000) Subject: rules.mk: add TARGET_AR and TARGET_RANLIB X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=28665d55cd0febcd7b8e626244818390ac1efe7a;p=openwrt%2Fstaging%2Fsvanheule.git rules.mk: add TARGET_AR and TARGET_RANLIB SVN-Revision: 33508 --- diff --git a/rules.mk b/rules.mk index 995852e09b..e657eec791 100644 --- a/rules.mk +++ b/rules.mk @@ -178,6 +178,8 @@ HOST_CFLAGS:=-O2 $(HOST_CPPFLAGS) HOST_LDFLAGS:=-L$(STAGING_DIR_HOST)/lib TARGET_CC:=$(TARGET_CROSS)gcc +TARGET_AR:=$(TARGET_CROSS)ar +TARGET_RANLIB:=$(TARGET_CROSS)ranlib TARGET_CXX:=$(if $(CONFIG_INSTALL_LIBSTDCPP),$(TARGET_CROSS)g++,no) KPATCH:=$(SCRIPT_DIR)/patch-kernel.sh SED:=$(STAGING_DIR_HOST)/bin/sed -i -e