rules.mk: add TARGET_AR and TARGET_RANLIB
authorFelix Fietkau <nbd@openwrt.org>
Sat, 22 Sep 2012 20:10:24 +0000 (20:10 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 22 Sep 2012 20:10:24 +0000 (20:10 +0000)
SVN-Revision: 33508

rules.mk

index 995852e09bdbce3bb983f19c5726365c739c0003..e657eec7914773db0a12fb71eb2d70f08214a192 100644 (file)
--- 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