diff options
author | Nico Huber <nico.huber@secunet.com> | 2016-09-19 11:50:04 +0200 |
---|---|---|
committer | Nico Huber <nico.h@gmx.de> | 2016-09-20 19:21:07 +0200 |
commit | ddb2465f8b04cd738b041930ebbfc8fde6952bc4 (patch) | |
tree | c5fdb76fb1007d315f88dd94b624d13a965502b1 | |
parent | 6350a2e43f3657567f50160aa28d5d4305803be0 (diff) |
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>
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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)), \ |