]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - stand/pc98/Makefile.inc
Merge branch 'releng/11.3' into releng-CDN/11.3
[FreeBSD/FreeBSD.git] / stand / pc98 / Makefile.inc
1 # Common defines for all of /stand/pc98/
2 #
3 # $FreeBSD$
4
5 LOADER_ADDRESS?=0x200000
6 LDFLAGS+=       -nostdlib
7
8 # BTX components
9 BTXDIR=         ${BOOTOBJ}/pc98/btx
10 BTXLDR=         ${BTXDIR}/btxldr/btxldr
11 BTXKERN=        ${BTXDIR}/btx/btx
12
13 BTXSRC=         ${BOOTSRC}/pc98/btx
14 BTXCRT=         ${BTXDIR}/lib/crt0.o
15
16 # compact binary with no padding between text, data, bss
17 LDSCRIPT=       ${BOOTSRC}/i386/boot.ldscript
18 #LDFLAGS_BIN=-e start -Ttext ${ORG} -Wl,-T,${LDSCRIPT},-S,--oformat,binary
19 LDFLAGS_BIN=-e start -Ttext ${ORG} -Wl,-N,-S,--oformat,binary
20 #LD_FLAGS_BIN=-static -T ${LDSCRIPT} --gc-sections
21 LD_FLAGS_BIN=-static -N --gc-sections
22
23 WARNS?=         0
24
25 .include "../Makefile.inc"