aboutsummaryrefslogtreecommitdiffstats
path: root/rules.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-09-22 20:10:24 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-09-22 20:10:24 +0000
commit28665d55cd0febcd7b8e626244818390ac1efe7a (patch)
tree2d5d7e433120ba1431d14781d526023d5fe32d63 /rules.mk
parent09fe127a14e396359a1e3daa42472cce6600d5e8 (diff)
downloadupstream-28665d55cd0febcd7b8e626244818390ac1efe7a.tar.gz
upstream-28665d55cd0febcd7b8e626244818390ac1efe7a.tar.bz2
upstream-28665d55cd0febcd7b8e626244818390ac1efe7a.zip
rules.mk: add TARGET_AR and TARGET_RANLIB
SVN-Revision: 33508
Diffstat (limited to 'rules.mk')
-rw-r--r--rules.mk2
1 files changed, 2 insertions, 0 deletions
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