summaryrefslogtreecommitdiffstats
path: root/sys/boot/Makefile
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2004-11-23 05:52:00 +0000
committermarcel <marcel@FreeBSD.org>2004-11-23 05:52:00 +0000
commitc527877dbc142d39ca44c1864bf6101da28109af (patch)
tree0232fab9d9b53c898a98cc2572e563f51635103c /sys/boot/Makefile
parent0daeca7c3730bfa0627991bf16e71cd5187d276f (diff)
downloadFreeBSD-src-c527877dbc142d39ca44c1864bf6101da28109af.zip
FreeBSD-src-c527877dbc142d39ca44c1864bf6101da28109af.tar.gz
Visit the efi subdirectory before we visit the machine-specific
subdirectory so that the library built there can be used by the machine specific boot code.
Diffstat (limited to 'sys/boot/Makefile')
-rw-r--r--sys/boot/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/boot/Makefile b/sys/boot/Makefile
index 2fc9e02..5a720e8 100644
--- a/sys/boot/Makefile
+++ b/sys/boot/Makefile
@@ -5,6 +5,11 @@
SUBDIR+= ficl
.endif
+# Build EFI library.
+.if ${MACHINE_ARCH} == "ia64"
+SUBDIR+= efi
+.endif
+
# Build Open Firmware library.
.if ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "sparc64"
SUBDIR+= ofw
@@ -19,9 +24,4 @@ SUBDIR+= ${MACHINE:S/amd64/i386/}
#SUBDIR+= arc
#.endif
-# Build EFI executable on ia64.
-.if ${MACHINE_ARCH} == "ia64"
-SUBDIR+= efi
-.endif
-
.include <bsd.subdir.mk>
OpenPOWER on IntegriCloud