[Skiboot] [PATCH] pflash: Use correct prefix when installing

Joel Stanley joel at jms.id.au
Fri Jun 1 14:30:26 AEST 2018


pflash uses lowercase prefix when running make install in it's
direcetory, but uppercase PREFIX when running it in shared. Use
lowercase everywhere.

With this the OpenBMC bitbake recipie can drop an out of tree patch it's
been carrying for years.

Signed-off-by: Joel Stanley <joel at jms.id.au>
---
 external/pflash/rules.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/external/pflash/rules.mk b/external/pflash/rules.mk
index 3ee82b50e241..5839fec64aad 100644
--- a/external/pflash/rules.mk
+++ b/external/pflash/rules.mk
@@ -24,7 +24,7 @@ OBJS		:= $(PFLASH_OBJS) $(SHARED)
 INSTALLDEPS	+= install-shared
 
 install-shared:
-	$(MAKE) -C ../shared install PREFIX=$(PREFIX)
+	$(MAKE) -C ../shared install prefix=$(prefix)
 
 $(SHARED):
 	$(MAKE) -C ../shared
-- 
2.17.0



More information about the Skiboot mailing list