1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-01 12:19:28 +00:00

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
anyway.
This commit is contained in:
Warner Losh 2014-04-01 14:24:08 +00:00
parent 8b77bb7921
commit e5c1052e48
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=263993

View File

@ -272,6 +272,7 @@ __DEFAULT_YES_OPTIONS = \
DYNAMICROOT \
ED_CRYPTO \
EXAMPLES \
FDT \
FLOPPY \
FMTREE \
FORMAT_EXTENSIONS \
@ -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)
__T=${TARGET_ARCH}
@ -427,13 +427,6 @@ __DEFAULT_NO_OPTIONS+=GNUCXX
__DEFAULT_YES_OPTIONS+=GNUCXX
.endif
.endif
# FDT is needed only for arm, mips and powerpc
.if ${__T:Marm*} || ${__T:Mpowerpc*} || ${__T:Mmips*}
__DEFAULT_YES_OPTIONS+=FDT
.else
__DEFAULT_NO_OPTIONS+=FDT
.endif
.undef __T
#
# MK_* options which default to "yes".