diff options
author | marius <marius@FreeBSD.org> | 2011-06-25 16:01:45 +0000 |
---|---|---|
committer | marius <marius@FreeBSD.org> | 2011-06-25 16:01:45 +0000 |
commit | 063a61ac2583c8d873a3df53ec1ebf20eba1a508 (patch) | |
tree | 1f160c8abbc009a8b41e4787ec0a0604efef9e39 /sys/boot | |
parent | 7bf33d894c26f24291366fab4fb5bdd5557ec031 (diff) | |
download | FreeBSD-src-063a61ac2583c8d873a3df53ec1ebf20eba1a508.zip FreeBSD-src-063a61ac2583c8d873a3df53ec1ebf20eba1a508.tar.gz |
As with EFI, OFW and U-Boot etc only compile FDT support on those
architectures that actually use it.
Diffstat (limited to 'sys/boot')
-rw-r--r-- | sys/boot/Makefile | 4 | ||||
-rw-r--r-- | sys/boot/Makefile.arm | 4 | ||||
-rw-r--r-- | sys/boot/Makefile.powerpc | 4 |
3 files changed, 8 insertions, 4 deletions
diff --git a/sys/boot/Makefile b/sys/boot/Makefile index cfc82b9..06cffb1 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 f96104d..46fc574 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 ca8c331..b7660f4 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 |