aboutsummaryrefslogtreecommitdiff
path: root/sys/boot
diff options
context:
space:
mode:
authorMarius Strobl <marius@FreeBSD.org>2011-06-25 16:01:45 +0000
committerMarius Strobl <marius@FreeBSD.org>2011-06-25 16:01:45 +0000
commit01ecc0328d66623630a851bfcf6ae20248b32781 (patch)
tree1f160c8abbc009a8b41e4787ec0a0604efef9e39 /sys/boot
parent1d63770b39da8b86e5205ad507f0b3177b36bc1e (diff)
downloadsrc-01ecc0328d66623630a851bfcf6ae20248b32781.tar.gz
src-01ecc0328d66623630a851bfcf6ae20248b32781.zip
As with EFI, OFW and U-Boot etc only compile FDT support on those
architectures that actually use it.
Notes
Notes: svn path=/head/; revision=223539
Diffstat (limited to 'sys/boot')
-rw-r--r--sys/boot/Makefile4
-rw-r--r--sys/boot/Makefile.arm4
-rw-r--r--sys/boot/Makefile.powerpc4
3 files changed, 8 insertions, 4 deletions
diff --git a/sys/boot/Makefile b/sys/boot/Makefile
index cfc82b98201f..06cffb12c267 100644
--- a/sys/boot/Makefile
+++ b/sys/boot/Makefile
@@ -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}/.)
diff --git a/sys/boot/Makefile.arm b/sys/boot/Makefile.arm
index f96104db47c5..46fc5742fbf6 100644
--- a/sys/boot/Makefile.arm
+++ b/sys/boot/Makefile.arm
@@ -1,3 +1,7 @@
# $FreeBSD$
+.if ${MK_FDT} != "no"
+SUBDIR+= fdt
+.endif
+
SUBDIR+= uboot
diff --git a/sys/boot/Makefile.powerpc b/sys/boot/Makefile.powerpc
index ca8c33139b11..b7660f4600d4 100644
--- a/sys/boot/Makefile.powerpc
+++ b/sys/boot/Makefile.powerpc
@@ -1,4 +1,8 @@
# $FreeBSD$
+.if ${MK_FDT} != "no"
+SUBDIR+= fdt
+.endif
+
SUBDIR+= ofw
SUBDIR+= uboot