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 995852e..e657eec 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