Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] Fix TARGET_PATH variable with external toolchain
@ 2009-10-24  0:04 Lionel Landwerlin
  2009-10-24 18:37 ` Peter Korsgaard
  0 siblings, 1 reply; 10+ messages in thread
From: Lionel Landwerlin @ 2009-10-24  0:04 UTC (permalink / raw)
  To: buildroot


Some time ago, an external toolchain improvement patch added
$(HOST_DIR)/bin and $(HOST_DIR)/usr/bin to the TARGET_PATH variable.
This patch also removed $(STAGING_DIR)/bin and $(STAGING_DIR)/usr/bin
to TARGET_PATH which breaks the build of the WebKit package for
example.

WebKit depends on the icu package, and when configuring the package,
there is a need to run icu-config which is installed inside the
staging directory.

Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
---
 package/Makefile.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/package/Makefile.in b/package/Makefile.in
index ccd7480..57bd6f5 100644
--- a/package/Makefile.in
+++ b/package/Makefile.in
@@ -119,7 +119,7 @@ else
 TOOLCHAIN_EXTERNAL_PREFIX:=$(call qstrip,$(BR2_TOOLCHAIN_EXTERNAL_PREFIX))
 TOOLCHAIN_EXTERNAL_PATH:=$(call qstrip,$(BR2_TOOLCHAIN_EXTERNAL_PATH))
 TOOLCHAIN_DIR=$(BASE_DIR)/toolchain
-TARGET_PATH="$(HOST_DIR)/bin:$(HOST_DIR)/usr/bin:$(TOOLCHAIN_DIR)/bin:$(TOOLCHAIN_EXTERNAL_PATH)/bin:$(PATH)"
+TARGET_PATH="$(HOST_DIR)/bin:$(HOST_DIR)/usr/bin:$(TOOLCHAIN_DIR)/bin:$(TOOLCHAIN_EXTERNAL_PATH)/bin:$(STAGING_DIR)/bin:$(STAGING_DIR)/usr/bin:$(PATH)"
 #IMAGE:=$(BINARIES_DIR)/$(BR2_ROOTFS_PREFIX).$(TOOLCHAIN_EXTERNAL_PREFIX)$(ROOTFS_SUFFIX)
 IMAGE:=$(BINARIES_DIR)/$(BR2_ROOTFS_PREFIX).$(ARCH)$(ROOTFS_SUFFIX)
 
-- 
1.6.4.3

^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2009-10-27 16:36 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-24  0:04 [Buildroot] [PATCH] Fix TARGET_PATH variable with external toolchain Lionel Landwerlin
2009-10-24 18:37 ` Peter Korsgaard
2009-10-24 19:52   ` Lionel Landwerlin
2009-10-24 20:22     ` Peter Korsgaard
2009-10-25 13:52       ` Lionel Landwerlin
2009-10-27  7:44   ` Thomas Petazzoni
2009-10-27  9:45     ` Lionel Landwerlin
2009-10-27  9:53       ` Thomas Petazzoni
2009-10-27 10:17         ` Lionel Landwerlin
2009-10-27 16:36           ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox