[Skiboot] [PATCH] pflash: Add an install target

Joel Stanley joel at jms.id.au
Wed Nov 25 16:29:14 AEDT 2015


Signed-off-by: Joel Stanley <joel at jms.id.au>
---
 external/pflash/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/external/pflash/Makefile b/external/pflash/Makefile
index f0c3773c5d0d..0112f6414b66 100644
--- a/external/pflash/Makefile
+++ b/external/pflash/Makefile
@@ -27,6 +27,9 @@ $(OBJS): | links arch_links
 	@cmp -s $@ $@.tmp || cp $@.tmp $@
 	@rm -f $@.tmp
 
+install: all
+	install -D pflash $(DESTDIR)$(sbindir)/pflash
+
 .PHONY: dist
 #File is named $(PFLASH_VERSION).tar because the expectation is that pflash-
 #is always at the start of the verion. This remains consistent with skiboot
-- 
2.6.2



More information about the Skiboot mailing list