From bd07d92aaddd32f7648d7e1f59d34a41019d4744 Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Mon, 16 Mar 2009 15:48:43 +0000 Subject: Makefile: introduce $(HOST_DIR) for host binaries Add HOST_DIR directory handling. HOST_DIR should be used just like STAGING_DIR, but for host files instead of target ones. --- package/Makefile.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'package') diff --git a/package/Makefile.in b/package/Makefile.in index 28099c69a..42f0fcd4d 100644 --- a/package/Makefile.in +++ b/package/Makefile.in @@ -290,7 +290,9 @@ HOST_CONFIGURE_OPTS=PATH=$(TARGET_PATH) \ ORIGINAL_AS_FOR_TARGET="$(TARGET_AS)" \ ORIGINAL_LD_FOR_TARGET="$(TARGET_LD)" \ ORIGINAL_NM_FOR_TARGET="$(TARGET_NM)" \ - ORIGINAL_OBJDUMP_FOR_TARGET="$(TARGET_OBJDUMP)" + ORIGINAL_OBJDUMP_FOR_TARGET="$(TARGET_OBJDUMP)" \ + PKG_CONFIG="$(STAGING_DIR)/usr/bin/pkg-config" \ + PKG_CONFIG_PATH="$(HOST_DIR)/usr/lib/pkgconfig:$(PKG_CONFIG_PATH)" ####################################################################### # settings we need to pass to configure -- cgit v1.2.3