From 76b29e9c4f767d151e6e1e3ef4be3ca33402f0b9 Mon Sep 17 00:00:00 2001 From: Rui Paulo Date: Fri, 6 Jun 2014 23:53:59 +0000 Subject: [PATCH] Add Makefiles to automatically test all the DTS files. There are several broken DTS files right now in the arm directory. --- sys/boot/fdt/dts/Makefile | 5 +++++ sys/boot/fdt/dts/Makefile.inc | 7 +++++++ sys/boot/fdt/dts/arm/Makefile | 7 +++++++ sys/boot/fdt/dts/mips/Makefile | 7 +++++++ sys/boot/fdt/dts/powerpc/Makefile | 7 +++++++ 5 files changed, 33 insertions(+) create mode 100644 sys/boot/fdt/dts/Makefile create mode 100644 sys/boot/fdt/dts/Makefile.inc create mode 100644 sys/boot/fdt/dts/arm/Makefile create mode 100644 sys/boot/fdt/dts/mips/Makefile create mode 100644 sys/boot/fdt/dts/powerpc/Makefile diff --git a/sys/boot/fdt/dts/Makefile b/sys/boot/fdt/dts/Makefile new file mode 100644 index 000000000000..66f65a712fe4 --- /dev/null +++ b/sys/boot/fdt/dts/Makefile @@ -0,0 +1,5 @@ +# $FreeBSD$ + +SUBDIR=arm mips powerpc + +.include diff --git a/sys/boot/fdt/dts/Makefile.inc b/sys/boot/fdt/dts/Makefile.inc new file mode 100644 index 000000000000..e10280f44119 --- /dev/null +++ b/sys/boot/fdt/dts/Makefile.inc @@ -0,0 +1,7 @@ +# $FreeBSD$ + +test-dts: +.for dts in ${DTS} + dtc -I dts -O dtb -o /dev/null ${dts} +.endfor + diff --git a/sys/boot/fdt/dts/arm/Makefile b/sys/boot/fdt/dts/arm/Makefile new file mode 100644 index 000000000000..03d156d94770 --- /dev/null +++ b/sys/boot/fdt/dts/arm/Makefile @@ -0,0 +1,7 @@ +# $FreeBSD$ + +DTS!=ls *.dts + +all: test-dts + +.include diff --git a/sys/boot/fdt/dts/mips/Makefile b/sys/boot/fdt/dts/mips/Makefile new file mode 100644 index 000000000000..03d156d94770 --- /dev/null +++ b/sys/boot/fdt/dts/mips/Makefile @@ -0,0 +1,7 @@ +# $FreeBSD$ + +DTS!=ls *.dts + +all: test-dts + +.include diff --git a/sys/boot/fdt/dts/powerpc/Makefile b/sys/boot/fdt/dts/powerpc/Makefile new file mode 100644 index 000000000000..03d156d94770 --- /dev/null +++ b/sys/boot/fdt/dts/powerpc/Makefile @@ -0,0 +1,7 @@ +# $FreeBSD$ + +DTS!=ls *.dts + +all: test-dts + +.include