summaryrefslogtreecommitdiffstats
path: root/scripts
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 /scripts
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 'scripts')
-rw-r--r--scripts/Makefile.lib3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib
index 319ac19975..80d76b177c 100644
--- a/scripts/Makefile.lib
+++ b/scripts/Makefile.lib
@@ -365,6 +365,9 @@ cmd_env_S = \
$(obj)/%.bbenv$(DEFAULT_COMPRESSION_SUFFIX).S: $(src)/%.bbenv$(DEFAULT_COMPRESSION_SUFFIX) FORCE
$(call if_changed,env_S)
+quiet_cmd_envgen = ENVGEN $@
+cmd_envgen=$(srctree)/scripts/genenv $(objtree) $(objtree) $@ $2
+
quiet_cmd_env = ENV $@
cmd_env=$(srctree)/scripts/genenv $(srctree) $(objtree) $@ $<