summaryrefslogtreecommitdiff
path: root/Makefile.inc
diff options
context:
space:
mode:
authorNico Huber <nico.h@gmx.de>2019-01-01 22:06:01 +0100
committerPatrick Georgi <pgeorgi@google.com>2019-02-06 16:20:35 +0000
commitb56797707541a596427d59558f5a147415ea844f (patch)
tree9877667459c5a8d311e30c720efa1e5f58a8c421 /Makefile.inc
parent0226789dcca9e92591daf61aa288bbf01ceabdeb (diff)
downloadcoreboot-b56797707541a596427d59558f5a147415ea844f.tar.xz
Hook up Kconfig Ada spec file
We generate a $(obj)/cb-config.ads once and copy it per stage that uses it to $(obj)/<stage>/cb-config.ads (to simplify the gnat-bind step). The Ada package is called `CB.Config`. As there was no `CB` package yet, add that too. Change-Id: I963a6517ef4bcf84f2c8e9ae8d24a0d6b971d2b0 Signed-off-by: Nico Huber <nico.h@gmx.de> Reviewed-on: https://review.coreboot.org/c/30584 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'Makefile.inc')
-rw-r--r--Makefile.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.inc b/Makefile.inc
index 594ef36ad7..7d6bc7ce47 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -215,7 +215,9 @@ verstage-c-deps:=$$(OPTION_TABLE_H)
bootblock-c-deps:=$$(OPTION_TABLE_H)
$(foreach type,ads adb, \
$(foreach stage,$(COREBOOT_STANDARD_STAGES), \
- $(eval $(stage)-$(type)-deps := $(obj)/libgnat-$(ARCH-$(stage)-y)/libgnat.a)))
+ $(eval $(stage)-$(type)-deps := \
+ $(obj)/$(stage)/$(notdir $(KCONFIG_AUTOADS)) \
+ $(obj)/libgnat-$(ARCH-$(stage)-y)/libgnat.a)))
# Add handler to copy linker scripts
define generic-objs_ld_template_gen