[coreboot-gerrit] New patch to review for coreboot: Makefile: Give .ali files an empty recipe

Nico Huber (nico.h@gmx.de) gerrit at coreboot.org
Mon Sep 19 11:55:03 CEST 2016


Nico Huber (nico.h at gmx.de) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/16639

-gerrit

commit fca457e8138b5aec55ba74f7dea80a5ee265372c
Author: Nico Huber <nico.huber at secunet.com>
Date:   Mon Sep 19 11:50:04 2016 +0200

    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 at secunet.com>
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index a79840c..4401288 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)), \



More information about the coreboot-gerrit mailing list