pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/sysutils/dtc



Module Name:    pkgsrc
Committed By:   jmcneill
Date:           Wed May 31 13:24:31 UTC 2017

Modified Files:
        pkgsrc/sysutils/dtc: linux-dtb.mk

Log Message:
Change to DTS_DIR before running dtc so include "foo.dtsi" does the right
thing.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/sysutils/dtc/linux-dtb.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/sysutils/dtc/linux-dtb.mk
diff -u pkgsrc/sysutils/dtc/linux-dtb.mk:1.1 pkgsrc/sysutils/dtc/linux-dtb.mk:1.2
--- pkgsrc/sysutils/dtc/linux-dtb.mk:1.1        Thu May 25 21:39:57 2017
+++ pkgsrc/sysutils/dtc/linux-dtb.mk    Wed May 31 13:24:31 2017
@@ -1,4 +1,4 @@
-# $NetBSD: linux-dtb.mk,v 1.1 2017/05/25 21:39:57 jmcneill Exp $
+# $NetBSD: linux-dtb.mk,v 1.2 2017/05/31 13:24:31 jmcneill Exp $
 
 LK_VERSION=    4.11.3
 PKGNAME=       dtb-${DTB_ARCH}-${DTB_DEVICE}-${LK_VERSION}
@@ -27,10 +27,11 @@ DTS_ARCH_INC=       ${DTS_DIR}/include
 
 do-build:
 .for d in ${DTB_DTS}
-       ${CPP} -P -x assembler-with-cpp -I ${DTS_INC} -I ${DTS_ARCH_INC} \
-           -include ${DTS_DIR}/${d} /dev/null | \
-           ${DTC} -i ${DTS_INC} -i ${DTS_ARCH_INC} -I dts -O dtb \
-               -p 1024 -b 0 -o ${DTS_DIR}/${d:C/dts$/dtb/}
+       cd ${DTS_DIR} && \
+           ${CPP} -P -x assembler-with-cpp -I ${DTS_INC} -I ${DTS_ARCH_INC} \
+               -include ${DTS_DIR}/${d} /dev/null | \
+               ${DTC} -i ${DTS_INC} -i ${DTS_ARCH_INC} -I dts -O dtb \
+                   -p 1024 -b 0 -o ${DTS_DIR}/${d:C/dts$/dtb/}
 .endfor
 
 do-install:



Home | Main Index | Thread Index | Old Index