diff options
author | Nico Huber <nico.huber@secunet.com> | 2015-09-29 16:41:19 +0200 |
---|---|---|
committer | Nico Huber <nico.h@gmx.de> | 2016-09-19 11:14:49 +0200 |
commit | be5492aec0a02e416cf12a7ad7517900540d9991 (patch) | |
tree | 2ca46cf377203c8146378bcc74a0be6317f09ef2 /Makefile.inc | |
parent | 2e09d2b239ff2dfdba89011fd64d9a07da0d8717 (diff) |
Add minimal GNAT run time system (RTS)
Add a stripped-down version of libgnat. This is somehow comparable to
libgcc but for Ada programs. It's licensed under GPLv3 but with the
runtime library exception. So it's totally fine to link it with our
GPLv2 code and keep it under GPLv2.
Change-Id: Ie6522abf093f0a516b9ae18ddc69131bd721dc0c
Signed-off-by: Nico Huber <nico.huber@secunet.com>
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.coreboot.org/11836
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Edward O'Callaghan <edward.ocallaghan@koparo.com>
Diffstat (limited to 'Makefile.inc')
-rw-r--r-- | Makefile.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.inc b/Makefile.inc index 316cd22921..40e8942e24 100644 --- a/Makefile.inc +++ b/Makefile.inc @@ -197,6 +197,9 @@ romstage-c-deps:=$$(OPTION_TABLE_H) libverstage-c-deps:=$$(OPTION_TABLE_H) 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))) # Add handler to copy linker scripts define generic-objs_ld_template_gen |