mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
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 changed files with 33 additions and 0 deletions
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 a new issue