Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Jun 2011 16:01:45 +0000 (UTC)
From:      Marius Strobl <marius@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r223539 - head/sys/boot
Message-ID:  <201106251601.p5PG1j7q013520@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marius
Date: Sat Jun 25 16:01:45 2011
New Revision: 223539
URL: http://svn.freebsd.org/changeset/base/223539

Log:
  As with EFI, OFW and U-Boot etc only compile FDT support on those
  architectures that actually use it.

Modified:
  head/sys/boot/Makefile
  head/sys/boot/Makefile.arm
  head/sys/boot/Makefile.powerpc

Modified: head/sys/boot/Makefile
==============================================================================
--- head/sys/boot/Makefile	Sat Jun 25 15:51:44 2011	(r223538)
+++ head/sys/boot/Makefile	Sat Jun 25 16:01:45 2011	(r223539)
@@ -8,10 +8,6 @@
 SUBDIR+=		ficl
 .endif
 
-.if ${MK_FDT} != "no"
-SUBDIR+=		fdt
-.endif
-
 # Pick the machine-dependent subdir based on the target architecture.
 ADIR=			${MACHINE:S/amd64/i386/:S/powerpc64/powerpc/}
 .if exists(${.CURDIR}/${ADIR}/.)

Modified: head/sys/boot/Makefile.arm
==============================================================================
--- head/sys/boot/Makefile.arm	Sat Jun 25 15:51:44 2011	(r223538)
+++ head/sys/boot/Makefile.arm	Sat Jun 25 16:01:45 2011	(r223539)
@@ -1,3 +1,7 @@
 # $FreeBSD$
 
+.if ${MK_FDT} != "no"
+SUBDIR+=		fdt
+.endif
+
 SUBDIR+=		uboot

Modified: head/sys/boot/Makefile.powerpc
==============================================================================
--- head/sys/boot/Makefile.powerpc	Sat Jun 25 15:51:44 2011	(r223538)
+++ head/sys/boot/Makefile.powerpc	Sat Jun 25 16:01:45 2011	(r223539)
@@ -1,4 +1,8 @@
 # $FreeBSD$
 
+.if ${MK_FDT} != "no"
+SUBDIR+=		fdt
+.endif
+
 SUBDIR+=		ofw
 SUBDIR+=		uboot



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