[Buildroot] [PATCH] Export BR2_EXTERNAL for post-build/support scripts

Julian Scheel julian at jusst.de
Wed Feb 4 15:34:57 UTC 2015

Especially post-build scripts might want to make use of BR2_EXTERNAL variable,
so export it.

Signed-off-by: Julian Scheel <julian at jusst.de>
 Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Makefile b/Makefile
index e554a30..92ae3fa 100644
--- a/Makefile
+++ b/Makefile
@@ -349,6 +349,7 @@ endif
 # Scripts in support/ or post-build scripts may need to reference
 # these locations, so export them so it is easier to use
 export BR2_CONFIG
+export BR2_EXTERNAL
 export TARGET_DIR
 export HOST_DIR

More information about the buildroot mailing list