Module Name: src Committed By: christos Date: Sun Dec 3 17:07:18 UTC 2017
Modified Files: src/sys/conf: dts.mk Log Message: handle absolute $S paths; we want to add ../ if they are relative only. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/conf/dts.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/conf/dts.mk diff -u src/sys/conf/dts.mk:1.4 src/sys/conf/dts.mk:1.5 --- src/sys/conf/dts.mk:1.4 Sun Dec 3 11:36:05 2017 +++ src/sys/conf/dts.mk Sun Dec 3 12:07:18 2017 @@ -1,4 +1,4 @@ -# $NetBSD: dts.mk,v 1.4 2017/12/03 16:36:05 christos Exp $ +# $NetBSD: dts.mk,v 1.5 2017/12/03 17:07:18 christos Exp $ DTSARCH?=${MACHINE_CPU} DTSGNUARCH?=${DTSARCH} @@ -7,7 +7,7 @@ DTSPADDING?=1024 .BEGIN: @mkdir -p dts .for _arch in ${DTSGNUARCH} - @ln -sf ../$S/external/gpl2/dts/dist/arch/${_arch}/boot/dts dts/${_arch} + @ln -sf ${S:S@^../@../../@}/external/gpl2/dts/dist/arch/${_arch}/boot/dts dts/${_arch} .endfor DTSINC?=$S/external/gpl2/dts/dist/include