[Buildroot] [PATCH v2 6/6] Makefile: export PATH

Samuel Martin s.martin49 at gmail.com
Sat Jan 18 19:41:42 UTC 2014


This can be useful for:
- package using custom build system that are not aware that the host
  tree is in $(O)/host/;
- post-{build,image} scripts, in case some host-tools were specifically
  built to be used by these scripts.

Signed-off-by: Samuel Martin <s.martin49 at gmail.com>

---
changes v1 -> v2:
- extend commit message
---
 Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Makefile b/Makefile
index a9178aa..a8e1585 100644
--- a/Makefile
+++ b/Makefile
@@ -332,6 +332,7 @@ export STAGING_DIR
 export HOST_DIR
 export BINARIES_DIR
 export BASE_DIR
+export PATH:=$(BR2_PATH)
 
 ################################################################################
 #
-- 
1.8.5.3



More information about the buildroot mailing list