defaultenv: Allow multiple defaultenvironment overlays
We can compile barebox for multiple boards at once, but currently
they all share a single default environment. This patch adds a
defaultenv_append() which boards can call to customize the default
environment during runtime. Each board now generate default environment
snippets using bbenv-y and add them during runtime with defaultenv_append()

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent b850dba commit 7fa10256c3f4b38f9ca899c5367584380c017bea
@Sascha Hauer Sascha Hauer authored on 18 Feb 2014
Showing 11 changed files
View
Makefile
View
arch/arm/configs/freescale-mx6-arm2_defconfig
View
arch/openrisc/cpu/barebox.lds.S
View
commands/loadenv.c
View
common/Kconfig
View
common/Makefile
View
common/environment.c
View
common/startup.c
View
defaultenv/Makefile 0 → 100644
View
defaultenv/defaultenv.c 0 → 100644
View
include/envfs.h