[Skiboot] [PATCH] devicetree: Don't set path to dtc in makefile

Joel Stanley joel at jms.id.au
Fri May 10 15:21:55 AEST 2019


By setting the path we fail to build under buildroot which has it's own
set of host tools in PATH, but not at /usr/bin.

Keep the variable so it can be set if need be but default to whatever
'dtc' is in the users path.

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

diff --git a/external/devicetree/Makefile b/external/devicetree/Makefile
index 5a136f49999a..2ce622b0e397 100644
--- a/external/devicetree/Makefile
+++ b/external/devicetree/Makefile
@@ -1,4 +1,4 @@
-DTC=/usr/bin/dtc
+DTC=dtc
 OUT=p9-simics.dtb
 
 all: $(OUT)
-- 
2.20.1



More information about the Skiboot mailing list