mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-02 12:20:51 +00:00
Fix test-dts{,o} targets
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
This commit is contained in:
parent
af14df7703
commit
851f1a1121
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=340390
@ -5,9 +5,9 @@ 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
|
||||
|
@ -1,6 +1,6 @@
|
||||
# $FreeBSD$
|
||||
|
||||
DTS!=ls *.dts
|
||||
DTS!=ls ${.CURDIR}/*.dts
|
||||
|
||||
all: test-dts
|
||||
|
||||
|
3
sys/dts/arm/Makefile.inc
Normal file
3
sys/dts/arm/Makefile.inc
Normal file
@ -0,0 +1,3 @@
|
||||
# $FreeBSD$
|
||||
|
||||
.include "../Makefile.inc"
|
@ -1,6 +1,6 @@
|
||||
# $FreeBSD$
|
||||
|
||||
DTSO!=ls *.dtso
|
||||
DTSO!=ls ${.CURDIR}/*.dtso
|
||||
|
||||
all: test-dtso
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
# $FreeBSD$
|
||||
|
||||
DTS!=ls *.dts
|
||||
DTS!=ls ${.CURDIR}/*.dts
|
||||
|
||||
all: test-dts
|
||||
|
||||
|
3
sys/dts/arm64/Makefile.inc
Normal file
3
sys/dts/arm64/Makefile.inc
Normal file
@ -0,0 +1,3 @@
|
||||
# $FreeBSD$
|
||||
|
||||
.include "../Makefile.inc"
|
@ -1,6 +1,6 @@
|
||||
# $FreeBSD$
|
||||
|
||||
DTSO!=ls *.dtso
|
||||
DTSO!=ls ${.CURDIR}/*.dtso
|
||||
|
||||
all: test-dtso
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
# $FreeBSD$
|
||||
|
||||
DTS!=ls *.dts
|
||||
DTS!=ls ${.CURDIR}/*.dts
|
||||
|
||||
all: test-dts
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
# $FreeBSD$
|
||||
|
||||
DTS!=ls *.dts
|
||||
DTS!=ls ${.CURDIR}/*.dts
|
||||
|
||||
all: test-dts
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user