svn commit: r267197 - in head/sys/boot/fdt/dts: . arm mips powerpc
Rui Paulo
rpaulo at FreeBSD.org
Fri Jun 6 23:54:01 UTC 2014
Author: rpaulo
Date: Fri Jun 6 23:53:59 2014
New Revision: 267197
URL: http://svnweb.freebsd.org/changeset/base/267197
Log:
Add Makefiles to automatically test all the DTS files.
There are several broken DTS files right now in the arm directory.
Added:
head/sys/boot/fdt/dts/Makefile (contents, props changed)
head/sys/boot/fdt/dts/Makefile.inc (contents, props changed)
head/sys/boot/fdt/dts/arm/Makefile (contents, props changed)
head/sys/boot/fdt/dts/mips/Makefile (contents, props changed)
head/sys/boot/fdt/dts/powerpc/Makefile (contents, props changed)
Added: head/sys/boot/fdt/dts/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sys/boot/fdt/dts/Makefile Fri Jun 6 23:53:59 2014 (r267197)
@@ -0,0 +1,5 @@
+# $FreeBSD$
+
+SUBDIR=arm mips powerpc
+
+.include <bsd.subdir.mk>
Added: head/sys/boot/fdt/dts/Makefile.inc
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sys/boot/fdt/dts/Makefile.inc Fri Jun 6 23:53:59 2014 (r267197)
@@ -0,0 +1,7 @@
+# $FreeBSD$
+
+test-dts:
+.for dts in ${DTS}
+ dtc -I dts -O dtb -o /dev/null ${dts}
+.endfor
+
Added: head/sys/boot/fdt/dts/arm/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sys/boot/fdt/dts/arm/Makefile Fri Jun 6 23:53:59 2014 (r267197)
@@ -0,0 +1,7 @@
+# $FreeBSD$
+
+DTS!=ls *.dts
+
+all: test-dts
+
+.include <bsd.init.mk>
Added: head/sys/boot/fdt/dts/mips/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sys/boot/fdt/dts/mips/Makefile Fri Jun 6 23:53:59 2014 (r267197)
@@ -0,0 +1,7 @@
+# $FreeBSD$
+
+DTS!=ls *.dts
+
+all: test-dts
+
+.include <bsd.init.mk>
Added: head/sys/boot/fdt/dts/powerpc/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sys/boot/fdt/dts/powerpc/Makefile Fri Jun 6 23:53:59 2014 (r267197)
@@ -0,0 +1,7 @@
+# $FreeBSD$
+
+DTS!=ls *.dts
+
+all: test-dts
+
+.include <bsd.init.mk>
More information about the svn-src-head
mailing list