Use BOOTSRC here.

sponsored by: Netflix
This commit is contained in:
Warner Losh 2017-10-22 22:50:23 +00:00
parent 45e0c11351
commit b022947e0e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=324880

View File

@ -29,7 +29,7 @@ BTXKERN= ${BTXDIR}/btx/btx
BTXCRT= ${BTXDIR}/lib/crt0.o
# compact binary with no padding between text, data, bss
LDSCRIPT= ${SRCTOP}/sys/boot/i386/boot.ldscript
LDSCRIPT= ${BOOTSRC}/i386/boot.ldscript
# LDFLAGS_BIN=-e start -Ttext ${ORG} -Wl,-T,${LDSCRIPT},-S,--oformat,binary
# LD_FLAGS_BIN=-static -T ${LDSCRIPT} --gc-sections
LDFLAGS_BIN=-e start -Ttext ${ORG} -Wl,-N,-S,--oformat,binary