From patchwork Mon Jan 7 21:52:03 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [1/3] Makefile: export BR2_CONFIG_FILE, pointing to our .config Date: Mon, 07 Jan 2013 11:52:03 -0000 From: "Yann E. MORIN" X-Patchwork-Id: 210247 Message-Id: To: buildroot@busybox.net Cc: "Yann E. MORIN" Support scripts (in support/) may need to parse the .config file, so give them an easy access to it, by exporting CONFIG_FILE with the fully-qualified path to .config. Signed-off-by: "Yann E. MORIN" --- Makefile | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/Makefile b/Makefile index 4b09437..7a2902d 100644 --- a/Makefile +++ b/Makefile @@ -91,6 +91,10 @@ EXTRAMAKEARGS = O=$(O) NEED_WRAPPER=y endif +# Scripts in support/ may need to parse out .config, so give +# them easy access +export BR2_CONFIG_FILE=$(CONFIG_DIR)/.config + # Pull in the user's configuration file ifeq ($(filter $(noconfig_targets),$(MAKECMDGOALS)),) -include $(CONFIG_DIR)/.config