svn commit: r209126 - head/share/mk

Rafal Jaworowski raj at FreeBSD.org
Sun Jun 13 12:53:45 UTC 2010


Author: raj
Date: Sun Jun 13 12:53:44 2010
New Revision: 209126
URL: http://svn.freebsd.org/changeset/base/209126

Log:
  Do not set WITH_FDT by default based on arch, as this does not work for
  a bootstrap stage tool.
  
  FDT-enabled platforms will have to specify WITH_FDT explicitly at buildworld
  time for now until TBEMD is complete, which is going to provide means for such
  arch based selection of build components.
  
  Discussed with:	imp

Modified:
  head/share/mk/bsd.own.mk

Modified: head/share/mk/bsd.own.mk
==============================================================================
--- head/share/mk/bsd.own.mk	Sun Jun 13 12:46:32 2010	(r209125)
+++ head/share/mk/bsd.own.mk	Sun Jun 13 12:53:44 2010	(r209126)
@@ -278,15 +278,6 @@ WITH_HESIOD=
 WITH_IDEA=
 .endif
 
-# Enable FDT by default for selected platforms.
-.if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "powerpc"
-# XXX this is temporarily disabled until all FDT support code is in place.
-#_fdt=	FDT
-_no_fdt= FDT
-.else
-_no_fdt= FDT
-.endif
-
 #
 # Default behaviour of MK_CLANG depends on the architecture.
 #
@@ -335,7 +326,6 @@ _clang_no=CLANG
     DICT \
     DYNAMICROOT \
     EXAMPLES \
-    ${_fdt} \
     FLOPPY \
     FORTH \
     FP_LIBC \
@@ -431,7 +421,7 @@ MK_${var}:=	yes
     BIND_SIGCHASE \
     BIND_XML \
     ${_clang_no} \
-    ${_no_fdt} \
+    FDT \
     HESIOD \
     IDEA
 .if defined(WITH_${var}) && defined(WITHOUT_${var})


More information about the svn-src-all mailing list