ARM: i.MX: make HAB certificate pathes explicitly overwritable
When building HAB images for i.MX we have to specify some pathes to
the certificates. This can be done with Kconfig variables. For better
build system integration we also want to be able to specify the pathes
in environment variables. This currently doesn't work as we specify
the variables from the environment with the -D option to cpp, but also
include generated/autoconf.h which overwrites the variables with the
values from Kconfig.

To overcome this introduce a Kconfig switch that explcitly selects
whether we want to have the variables from Kconfig or the environment.
Also, only pass the variables from the environment when explicitly
wanted.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 6e64774 commit 432b4e38794d42c98935975c751c6da5d69097c8
@Sascha Hauer Sascha Hauer authored on 7 Sep 2018
Showing 2 changed files
View
arch/arm/mach-imx/Kconfig
View
scripts/Makefile.lib