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
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to