mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-13 10:02:38 +00:00
851f1a1121
There were two main problems here: 1.) sys/dts/Makefile.inc is not included from various */overlays directories by default, only ../Makefile.inc 2.) When shelling out for DTS/DTSO, cwd != .CURDIR, so enumeration always failed These changes allow make test-dts and make test-dtso to function in their respective directories. Reviewed by: manu MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D17961
14 lines
296 B
Makefile
14 lines
296 B
Makefile
# $FreeBSD$
|
|
|
|
SYSDIR?=${SRCTOP}/sys
|
|
|
|
test-dts:
|
|
.for dts in ${DTS}
|
|
@env MACHINE=`basename ${.CURDIR}` ${SYSDIR}/tools/fdt/make_dtb.sh ${SYSDIR} ${dts} /tmp
|
|
.endfor
|
|
|
|
test-dtso:
|
|
.for dtso in ${DTSO}
|
|
@env MACHINE=`basename ${.CURDIR}` ${SYSDIR}/tools/fdt/make_dtbo.sh ${SYSDIR} ${dtso} /tmp
|
|
.endfor
|