From fb3b90b27d25e099b47537da650ce57ac74aedf8 Mon Sep 17 00:00:00 2001 From: christos Date: Sun, 3 Dec 2017 16:36:05 +0000 Subject: [PATCH] Add more complexity because of the path mess in the dts files. Requested by jmcneill@ --- sys/conf/dts.mk | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/sys/conf/dts.mk b/sys/conf/dts.mk index 7982896738bc..f5fc1e60f561 100644 --- a/sys/conf/dts.mk +++ b/sys/conf/dts.mk @@ -1,9 +1,15 @@ -# $NetBSD: dts.mk,v 1.3 2017/09/07 21:22:19 jmcneill Exp $ +# $NetBSD: dts.mk,v 1.4 2017/12/03 16:36:05 christos Exp $ DTSARCH?=${MACHINE_CPU} DTSGNUARCH?=${DTSARCH} DTSPADDING?=1024 +.BEGIN: + @mkdir -p dts +.for _arch in ${DTSGNUARCH} + @ln -sf ../$S/external/gpl2/dts/dist/arch/${_arch}/boot/dts dts/${_arch} +.endfor + DTSINC?=$S/external/gpl2/dts/dist/include .for _arch in ${DTSARCH} DTSDIR+=$S/arch/${_arch}/dts @@ -17,7 +23,7 @@ DTSDIR+=$S/external/gpl2/dts/dist/arch/${_arch}/boot/dts/${_dir} .endfor .endfor -DTSPATH=${DTSINC} ${DTSDIR} +DTSPATH=${DTSINC} ${DTSDIR} dts .SUFFIXES: .dtd .dtb .dts