MF tbemd: move to using specific architecture makefiles
This commit is contained in:
parent
dab222df9b
commit
5d0150b96a
@ -1,31 +1,13 @@
|
||||
# $FreeBSD$
|
||||
|
||||
.include <bsd.own.mk>
|
||||
.include <bsd.arch.inc.mk>
|
||||
|
||||
.if ${MK_FORTH} != "no"
|
||||
# Build the add-in FORTH interpreter.
|
||||
SUBDIR+= ficl
|
||||
.endif
|
||||
|
||||
# Build EFI library.
|
||||
.if ${MACHINE_ARCH} == "amd64" || ${MACHINE} == "i386" || ${MACHINE_ARCH} == "ia64"
|
||||
SUBDIR+= efi
|
||||
.endif
|
||||
|
||||
# Build Open Firmware library.
|
||||
.if ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "powerpc64" || ${MACHINE_ARCH} == "sparc64"
|
||||
SUBDIR+= ofw
|
||||
.endif
|
||||
|
||||
# Build U-Boot library.
|
||||
.if ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "powerpc64" || ${MACHINE_ARCH} == "arm"
|
||||
SUBDIR+= uboot
|
||||
.endif
|
||||
|
||||
.if ${MACHINE_ARCH} == "amd64" || ${MACHINE} == "i386"
|
||||
SUBDIR+= zfs
|
||||
.endif
|
||||
|
||||
.if ${MK_FDT} != "no"
|
||||
SUBDIR+= fdt
|
||||
.endif
|
||||
|
4
sys/boot/Makefile.amd64
Normal file
4
sys/boot/Makefile.amd64
Normal file
@ -0,0 +1,4 @@
|
||||
# $FreeBSD$
|
||||
|
||||
SUBDIR+= efi
|
||||
SUBDIR+= zfs
|
3
sys/boot/Makefile.arm
Normal file
3
sys/boot/Makefile.arm
Normal file
@ -0,0 +1,3 @@
|
||||
# $FreeBSD$
|
||||
|
||||
SUBDIR+= uboot
|
4
sys/boot/Makefile.i386
Normal file
4
sys/boot/Makefile.i386
Normal file
@ -0,0 +1,4 @@
|
||||
# $FreeBSD$
|
||||
|
||||
SUBDIR+= efi
|
||||
SUBDIR+= zfs
|
3
sys/boot/Makefile.ia64
Normal file
3
sys/boot/Makefile.ia64
Normal file
@ -0,0 +1,3 @@
|
||||
# $FreeBSD$
|
||||
|
||||
SUBDIR+= efi
|
4
sys/boot/Makefile.pc98
Normal file
4
sys/boot/Makefile.pc98
Normal file
@ -0,0 +1,4 @@
|
||||
# $FreeBSD$
|
||||
|
||||
# Blank, to override Makefile.i386 since Makefile.$MACHINE is included before
|
||||
# Makefile.$MACHINE_ARCH
|
4
sys/boot/Makefile.powerpc
Normal file
4
sys/boot/Makefile.powerpc
Normal file
@ -0,0 +1,4 @@
|
||||
# $FreeBSD$
|
||||
|
||||
SUBDIR+= ofw
|
||||
SUBDIR+= uboot
|
3
sys/boot/Makefile.sparc64
Normal file
3
sys/boot/Makefile.sparc64
Normal file
@ -0,0 +1,3 @@
|
||||
# $FreeBSD$
|
||||
|
||||
SUBDIR+= ofw
|
@ -7,7 +7,7 @@ SRCS= delay.c efi_console.c efinet.c efipart.c errno.c handles.c \
|
||||
libefi.c time.c
|
||||
|
||||
CFLAGS+= -I${.CURDIR}/../include
|
||||
CFLAGS+= -I${.CURDIR}/../include/${MACHINE_ARCH:S/amd64/i386/}
|
||||
CFLAGS+= -I${.CURDIR}/../include/${MACHINE_CPUARCH:S/amd64/i386/}
|
||||
CFLAGS+= -I${.CURDIR}/../../../../lib/libstand
|
||||
|
||||
# Pick up the bootstrap header for some interface items
|
||||
|
Loading…
Reference in New Issue
Block a user