summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNico Huber <nico.huber@secunet.com>2016-09-19 11:50:04 +0200
committerNico Huber <nico.h@gmx.de>2016-09-20 19:21:07 +0200
commitddb2465f8b04cd738b041930ebbfc8fde6952bc4 (patch)
treec5fdb76fb1007d315f88dd94b624d13a965502b1 /Makefile
parent6350a2e43f3657567f50160aa28d5d4305803be0 (diff)
downloadcoreboot-ddb2465f8b04cd738b041930ebbfc8fde6952bc4.tar.xz
Makefile: Give .ali files an empty recipe
For Ada sources, .ali files are emitted together with their respective .o files during compilation. To convince `make` that an .ali was updated when the .o was rebuilt, it needs an empty recipe. Change-Id: Ie47122ff3d00460600ed1db97362abf68f59b751 Signed-off-by: Nico Huber <nico.huber@secunet.com> Reviewed-on: https://review.coreboot.org/16639 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a79840c2e1..4401288760 100644
--- a/Makefile
+++ b/Makefile
@@ -332,7 +332,7 @@ $$(obj)/$(1)/b__$(1).o: $$(obj)/$(1)/b__$(1).adb
@printf " CC $$(subst $$(obj)/,,$$@)\n"
$(CC_$(1)) $$(ADAFLAGS_$(1)) -c -o $$@ $$<
$(1)-objs += $$(obj)/$(1)/b__$(1).o
-$($(1)-alis): %.ali: %.o
+$($(1)-alis): %.ali: %.o ;
endef
$(eval $(foreach class,$(filter-out libgnat-%,$(classes)), \