summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorAhmad Fatoum <ahmad@a3f.at>2021-04-10 12:45:05 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2021-04-13 08:09:55 +0200
commit38b017d9b198e8f4fd6ad40eee3181b02b1385e4 (patch)
treefed19d93b436c865ed67e65cdaf487cfb9ac30d4 /Makefile
parent5e7499310e334eae50ab72bdd858f58598113903 (diff)
downloadbarebox-38b017d9b198e8f4fd6ad40eee3181b02b1385e4.tar.gz
barebox-38b017d9b198e8f4fd6ad40eee3181b02b1385e4.tar.xz
common: add option for shipping KCONFIG_CONFIG as /env/data/config
Add a new option that enables access to the barebox configuration file through /env/data/config. This can be useful in environments where a fatter barebox can be tolerated (like on an EFI system partition). It could also be used to conditionally skip tests on disabled functionality in the future. Signed-off-by: Ahmad Fatoum <ahmad@a3f.at> Tested-by: Roland Hieber <rhi@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index e8f1f8dc2d..e80584b9c9 100644
--- a/Makefile
+++ b/Makefile
@@ -350,6 +350,8 @@ endif
KCONFIG_CONFIG ?= .config
+export KCONFIG_CONFIG
+
# Default file for 'make defconfig'. This may be overridden by arch-Makefile.
export KBUILD_DEFCONFIG := defconfig