diff options
author | jake <jake@FreeBSD.org> | 2002-07-07 18:23:10 +0000 |
---|---|---|
committer | jake <jake@FreeBSD.org> | 2002-07-07 18:23:10 +0000 |
commit | 0985bbadd97d8ec2fd1c4e84495bd61f3caee434 (patch) | |
tree | 4a1b2d6901874126c8f2e20e113f48c7edbe00d3 /sys | |
parent | 3a7ffc70d9beeeec58f68ba5a99d6333f5186b1f (diff) | |
download | FreeBSD-src-0985bbadd97d8ec2fd1c4e84495bd61f3caee434.zip FreeBSD-src-0985bbadd97d8ec2fd1c4e84495bd61f3caee434.tar.gz |
Make building with ficl work. Unfortunately booting with it doesn't.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/boot/sparc64/loader/Makefile | 9 | ||||
-rw-r--r-- | sys/boot/sparc64/loader/version | 6 |
2 files changed, 10 insertions, 5 deletions
diff --git a/sys/boot/sparc64/loader/Makefile b/sys/boot/sparc64/loader/Makefile index 1a1f42a..8d615ef 100644 --- a/sys/boot/sparc64/loader/Makefile +++ b/sys/boot/sparc64/loader/Makefile @@ -9,7 +9,7 @@ INSTALLFLAGS= -b NOFORTH= yes # Architecture-specific loader code -SRCS= locore.S main.c metadata.c +SRCS= locore.S main.c metadata.c vers.c LOADER_DISK_SUPPORT?= yes LOADER_UFS_SUPPORT?= yes @@ -54,7 +54,7 @@ LIBFICL= ${.CURDIR}/../../ficl/libficl.a CFLAGS+= -I${.CURDIR}/../../common CFLAGS+= -I${.CURDIR}/../../.. -I. -CLEANFILES+= vers.c vers.o ${BASE}.help +CLEANFILES+= vers.c ${BASE}.help CFLAGS+= -ffreestanding LDFLAGS= -nostdlib -static @@ -74,11 +74,10 @@ LIBSTAND= -lstand .endif CFLAGS+= -I${.CURDIR}/../../../../lib/libstand/ -LDADD= ${LIBSTAND} ${LIBOFW} +LDADD= ${LIBFICL} ${LIBSTAND} ${LIBOFW} -vers.o: ${.CURDIR}/../../common/newvers.sh ${.CURDIR}/version +vers.c: ${.CURDIR}/../../common/newvers.sh ${.CURDIR}/version sh ${.CURDIR}/../../common/newvers.sh ${.CURDIR}/version ${NEWVERSWHAT} - ${CC} -c vers.c ${BASE}.help: help.common help.sparc64 cat ${.ALLSRC} | \ diff --git a/sys/boot/sparc64/loader/version b/sys/boot/sparc64/loader/version new file mode 100644 index 0000000..bef4091 --- /dev/null +++ b/sys/boot/sparc64/loader/version @@ -0,0 +1,6 @@ +$FreeBSD$ + +NOTE ANY CHANGES YOU MAKE TO THE BOOTBLOCKS HERE. The format of this +file is important. Make sure the current version number is on line 6. + +1.0: I hate the loader. |