diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2016-02-03 10:37:58 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2018-02-20 10:29:37 +0100 |
commit | 540cbd6f3a8972bf03934dd5879e1d0e8a07072d (patch) | |
tree | 4faa7cca09dcfb4155dc017c0f8cc656404ce21f /scripts | |
parent | 34fadb685905530a15bb78d1c09bb281bc91458b (diff) | |
download | barebox-540cbd6f3a8972bf03934dd5879e1d0e8a07072d.tar.gz barebox-540cbd6f3a8972bf03934dd5879e1d0e8a07072d.tar.xz |
Makefile.lib: imx hab: fix hab files with embedded variables
When passing variables this way, all embedded variables are expanded, so that
the path in the .config file can be kept relative.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
SIgned-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/Makefile.lib | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib index d202a7299c..fbd2f4725b 100644 --- a/scripts/Makefile.lib +++ b/scripts/Makefile.lib @@ -420,7 +420,13 @@ cmd_imximage_S_dcd= \ imxcfg_cpp_flags = -Wp,-MD,$(depfile) -nostdinc -x assembler-with-cpp \ -I $(srctree)/include -I $(srctree)/arch/arm/mach-imx/include \ - -include include/generated/autoconf.h + -include include/generated/autoconf.h \ + -DCONFIG_HABV3_SRK_PEM=\"$(CONFIG_HABV3_SRK_PEM)\" \ + -DCONFIG_HABV3_CSF_CRT_DER=\"$(CONFIG_HABV3_CSF_CRT_DER)\" \ + -DCONFIG_HABV3_IMG_CRT_DER=\"$(CONFIG_HABV3_IMG_CRT_DER)\" \ + -DCONFIG_HABV4_TABLE_BIN=\"$(CONFIG_HABV4_TABLE_BIN)\" \ + -DCONFIG_HABV4_CSF_CRT_PEM=\"$(CONFIG_HABV4_CSF_CRT_PEM)\" \ + -DCONFIG_HABV4_IMG_CRT_PEM=\"$(CONFIG_HABV4_IMG_CRT_PEM)\" dcd-tmp = $(subst $(comma),_,$(dot-target).dcd.tmp) |