Move crc32.c, util.c and gpt.c over to libsa.
Sponsored by: Netflix
This commit is contained in:
parent
917587f435
commit
6f0970a4c6
@ -1,5 +1,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
.PATH: ${SRCTOP}/sys/boot/common ${SRCTOP}/sys/boot/libsa
|
||||
|
||||
SRCS+= boot.c commands.c console.c devopen.c interp.c
|
||||
SRCS+= interp_backslash.c interp_parse.c ls.c misc.c
|
||||
SRCS+= module.c panic.c
|
||||
@ -30,7 +32,6 @@ SRCS+= dev_net.c
|
||||
SRCS+= disk.c part.c
|
||||
CFLAGS+= -DLOADER_DISK_SUPPORT
|
||||
.if !defined(LOADER_NO_GPT_SUPPORT)
|
||||
SRCS+= crc32.c
|
||||
CFLAGS+= -DLOADER_GPT_SUPPORT
|
||||
.endif
|
||||
.if !defined(LOADER_NO_MBR_SUPPORT)
|
||||
|
@ -1,6 +1,8 @@
|
||||
# $FreeBSD$
|
||||
|
||||
.PATH: ${.CURDIR}/../boot2 ${.CURDIR}/../common ${.CURDIR}/../../common
|
||||
.include "../Makefile.inc"
|
||||
|
||||
.PATH: ${.CURDIR}/../boot2 ${.CURDIR}/../common ${SASRC}
|
||||
|
||||
FILES= gptboot
|
||||
MAN= gptboot.8
|
||||
@ -20,7 +22,7 @@ GPTBOOT_UFS?= UFS1_AND_UFS2
|
||||
#GPTBOOT_UFS?= UFS2_ONLY
|
||||
#GPTBOOT_UFS?= UFS1_ONLY
|
||||
|
||||
CFLAGS= -DBOOTPROG=\"gptboot\" \
|
||||
CFLAGS+=-DBOOTPROG=\"gptboot\" \
|
||||
-O1 \
|
||||
-DGPT \
|
||||
-D${GPTBOOT_UFS} \
|
||||
|
@ -1,10 +1,10 @@
|
||||
# $FreeBSD$
|
||||
|
||||
.include <bsd.own.mk>
|
||||
.include "../Makefile.inc"
|
||||
|
||||
.PATH: ${.CURDIR}/../boot2 ${.CURDIR}/../gptboot \
|
||||
${.CURDIR}/../zfsboot ${.CURDIR}/../common \
|
||||
${.CURDIR}/../../common ${.CURDIR}/../../../crypto/skein
|
||||
${.CURDIR}/../../../crypto/skein ${SASRC}
|
||||
|
||||
FILES= gptzfsboot
|
||||
MAN= gptzfsboot.8
|
||||
@ -19,7 +19,7 @@ REL1= 0x700
|
||||
ORG1= 0x7c00
|
||||
ORG2= 0x0
|
||||
|
||||
CFLAGS= -DBOOTPROG=\"gptzfsboot\" \
|
||||
CFLAGS+=-DBOOTPROG=\"gptzfsboot\" \
|
||||
-O1 \
|
||||
-DGPT -DZFS -DBOOT2 \
|
||||
-DSIOPRT=${BOOT_COMCONSOLE_PORT} \
|
||||
|
@ -1,7 +1,9 @@
|
||||
# $FreeBSD$
|
||||
|
||||
.include "../Makefile.inc"
|
||||
|
||||
.PATH: ${.CURDIR}/../boot2 ${.CURDIR}/../common \
|
||||
${.CURDIR}/../../common ${.CURDIR}/../../../crypto/skein
|
||||
${.CURDIR}/../../../crypto/skein ${SASRC}
|
||||
|
||||
FILES= zfsboot
|
||||
MAN= zfsboot.8
|
||||
|
@ -8,7 +8,7 @@ LIB= uboot
|
||||
INTERNALLIB=
|
||||
WARNS?= 2
|
||||
|
||||
SRCS= crc32.c console.c copy.c devicename.c elf_freebsd.c glue.c
|
||||
SRCS= console.c copy.c devicename.c elf_freebsd.c glue.c
|
||||
SRCS+= module.c net.c reboot.c time.c
|
||||
|
||||
CFLAGS+= -ffreestanding -msoft-float
|
||||
|
Loading…
Reference in New Issue
Block a user