Makefile.inc revision 330311
1# Common defines for all of /stand/pc98/
2#
3# $FreeBSD: stable/11/stand/pc98/Makefile.inc 330311 2018-03-03 06:37:53Z kevans $
4
5LOADER_ADDRESS?=0x200000
6LDFLAGS+=	-nostdlib
7
8# BTX components
9BTXDIR=		${BOOTOBJ}/pc98/btx
10BTXLDR=		${BTXDIR}/btxldr/btxldr
11BTXKERN=	${BTXDIR}/btx/btx
12
13BTXSRC=		${BOOTSRC}/pc98/btx
14BTXCRT=		${BTXDIR}/lib/crt0.o
15
16# compact binary with no padding between text, data, bss
17LDSCRIPT=	${BOOTSRC}/i386/boot.ldscript
18#LDFLAGS_BIN=-e start -Ttext ${ORG} -Wl,-T,${LDSCRIPT},-S,--oformat,binary
19LDFLAGS_BIN=-e start -Ttext ${ORG} -Wl,-N,-S,--oformat,binary
20#LD_FLAGS_BIN=-static -T ${LDSCRIPT} --gc-sections
21LD_FLAGS_BIN=-static -N --gc-sections
22
23WARNS?=		0
24
25.include "../Makefile.inc"
26