summaryrefslogtreecommitdiffstats
path: root/recipes-jailhouse/jailhouse/jailhouse-0.6/0003-workaround-if-changed-problem-in-tools-makefile.patch
blob: 7d02b55551099cbfb1734439b795b9132edc933a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Index: git/tools/Makefile
===================================================================
--- git.orig/tools/Makefile
+++ git/tools/Makefile
@@ -55,10 +55,11 @@ endef
 targets += jailhouse.o
 
 $(obj)/jailhouse: $(obj)/jailhouse.o
-	$(call if_changed,ld)
+	$(LD) $(LDFLAGS) -o $@ $^
 
 $(obj)/jailhouse-config-collect: $(src)/jailhouse-config-create $(src)/jailhouse-config-collect.tmpl
-	$(call if_changed,gen_collect)
+	$< -g $@; \
+	chmod +x $@
 
 install-bin: $(BINARIES) $(DESTDIR)$(sbindir)
 	$(INSTALL_PROGRAM) $^