From b56797707541a596427d59558f5a147415ea844f Mon Sep 17 00:00:00 2001 From: Nico Huber Date: Tue, 1 Jan 2019 22:06:01 +0100 Subject: Hook up Kconfig Ada spec file We generate a $(obj)/cb-config.ads once and copy it per stage that uses it to $(obj)//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 Reviewed-on: https://review.coreboot.org/c/30584 Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons --- Makefile.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Makefile.inc') 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 -- cgit v1.2.3