Add Makefiles to automatically test all the DTS files.
There are several broken DTS files right now in the arm directory.
This commit is contained in:
parent
38d22923f7
commit
76b29e9c4f
5
sys/boot/fdt/dts/Makefile
Normal file
5
sys/boot/fdt/dts/Makefile
Normal file
@ -0,0 +1,5 @@
|
||||
# $FreeBSD$
|
||||
|
||||
SUBDIR=arm mips powerpc
|
||||
|
||||
.include <bsd.subdir.mk>
|
7
sys/boot/fdt/dts/Makefile.inc
Normal file
7
sys/boot/fdt/dts/Makefile.inc
Normal file
@ -0,0 +1,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
test-dts:
|
||||
.for dts in ${DTS}
|
||||
dtc -I dts -O dtb -o /dev/null ${dts}
|
||||
.endfor
|
||||
|
7
sys/boot/fdt/dts/arm/Makefile
Normal file
7
sys/boot/fdt/dts/arm/Makefile
Normal file
@ -0,0 +1,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
DTS!=ls *.dts
|
||||
|
||||
all: test-dts
|
||||
|
||||
.include <bsd.init.mk>
|
7
sys/boot/fdt/dts/mips/Makefile
Normal file
7
sys/boot/fdt/dts/mips/Makefile
Normal file
@ -0,0 +1,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
DTS!=ls *.dts
|
||||
|
||||
all: test-dts
|
||||
|
||||
.include <bsd.init.mk>
|
7
sys/boot/fdt/dts/powerpc/Makefile
Normal file
7
sys/boot/fdt/dts/powerpc/Makefile
Normal file
@ -0,0 +1,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
DTS!=ls *.dts
|
||||
|
||||
all: test-dts
|
||||
|
||||
.include <bsd.init.mk>
|
Loading…
Reference in New Issue
Block a user