svn commit: r263993 - head/share/mk

Warner Losh imp at
Tue Apr 1 14:24:08 UTC 2014

Author: imp
Date: Tue Apr  1 14:24:08 2014
New Revision: 263993

  Eliminate FDT being treated specially. When the BSDL DTC was
  introduced, the meaning of WITH_FDT changed from 'do FDT in boot
  loader and build dtc compiler' to be simply 'do FDT things in the boot
  loader'. Now that we test for FDT in the architecture specific files,
  this test here is now redunant and encourages bad behavior, so just
  eliminate it and make it always yes. Those architectures whose boot
  loaders don't support FDT already omit it when it is set to yes


Modified: head/share/mk/
--- head/share/mk/	Tue Apr  1 14:24:03 2014	(r263992)
+++ head/share/mk/	Tue Apr  1 14:24:08 2014	(r263993)
@@ -272,6 +272,7 @@ __DEFAULT_YES_OPTIONS = \
     ED_CRYPTO \
+    FDT \
     FLOPPY \
     FMTREE \
@@ -381,8 +382,7 @@ __DEFAULT_NO_OPTIONS = \
 # this means that we have to test TARGET_ARCH (the buildworld case) as well
 # as MACHINE_ARCH (the non-buildworld case).  Normally TARGET_ARCH is not
 # used at all in bsd.*.mk, but we have to make an exception here if we want
-# to allow defaults for some things like clang and fdt to vary by target
-# architecture.
+# to allow defaults for some things like clang to vary by target architecture.
 .if defined(TARGET_ARCH)
@@ -427,13 +427,6 @@ __DEFAULT_NO_OPTIONS+=GNUCXX
-# FDT is needed only for arm, mips and powerpc
-.if ${__T:Marm*} || ${__T:Mpowerpc*} || ${__T:Mmips*}
-.undef __T
 # MK_* options which default to "yes".

More information about the svn-src-head mailing list