[Skiboot] [PATCH] fix opal-gard installation rule

Dan Horák dan at danny.cz
Tue Jul 16 17:35:15 AEST 2019


Use $(EXE) for the binary name instead of hard-coding. This completes
the "gard: Use consistent name" change from commit 41109e5073bdd7eaf7da9eb81c824f3d79073881

Signed-off-by: Dan Horák <dan at danny.cz>
---
 external/gard/rules.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/external/gard/rules.mk b/external/gard/rules.mk
index 522b16f8..9e8b5813 100644
--- a/external/gard/rules.mk
+++ b/external/gard/rules.mk
@@ -44,7 +44,7 @@ $(EXE): $(OBJS)
 	$(CC) $(LDFLAGS) $(CFLAGS) $^ -o $@
 
 install: all
-	install -D gard $(DESTDIR)$(sbindir)/opal-gard
-	install -D -m 0644 opal-gard.1 $(DESTDIR)$(mandir)/man1/opal-gard.1
+	install -D $(EXE) $(DESTDIR)$(sbindir)/$(EXE)
+	install -D -m 0644 $(EXE).1 $(DESTDIR)$(mandir)/man1/$(EXE).1
 
 
-- 
2.21.0



More information about the Skiboot mailing list