Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Jun 2014 23:54:00 +0000 (UTC)
From:      Rui Paulo <rpaulo@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r267197 - in head/sys/boot/fdt/dts: . arm mips powerpc
Message-ID:  <201406062354.s56Ns0PO036784@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406062354.s56Ns0PO036784>