Add more complexity because of the path mess in the dts files. Requested
by jmcneill@
This commit is contained in:
parent
6d44e11a08
commit
fb3b90b27d
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user