]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - stand/i386/Makefile.inc
Update Apache Serf to 1.3.9 to support OpenSSL 1.1.1.
[FreeBSD/FreeBSD.git] / stand / i386 / Makefile.inc
1 # Common defines for all of stand/i386/
2 #
3 # $FreeBSD$
4
5 LOADER_ADDRESS?=0x200000
6 LDFLAGS+=       -nostdlib
7 LDFLAGS.lld+=   -Wl,--no-rosegment
8
9 # BTX components
10 BTXDIR=         ${BOOTOBJ}/i386/btx
11 BTXLDR=         ${BTXDIR}/btxldr/btxldr
12 BTXKERN=        ${BTXDIR}/btx/btx
13 BTXCRT=         ${BTXDIR}/lib/crt0.o
14
15 BTXSRC=         ${BOOTSRC}/i386/btx
16 BTXLIB=         ${BTXSRC}/lib
17
18 CFLAGS+=        -I${BTXLIB}
19
20 # compact binary with no padding between text, data, bss
21 LDSCRIPT=       ${BOOTSRC}/i386/boot.ldscript
22 # LDFLAGS_BIN=-e start -Ttext ${ORG} -Wl,-T,${LDSCRIPT},-S,--oformat,binary
23 # LD_FLAGS_BIN=-static -T ${LDSCRIPT} --gc-sections
24 LDFLAGS_BIN=-e start -Ttext ${ORG} -Wl,-N,-S,--oformat,binary
25 LD_FLAGS_BIN=-static -N --gc-sections
26
27 .if ${MACHINE_CPUARCH} == "amd64"
28 DO32=1
29 .endif
30
31 .if defined(LOADER_FIREWIRE_SUPPORT)
32 MK_LOADER_FIREWIRE=yes
33 .warning "LOADER_FIREWIRE_SUPPORT deprecated, please move to WITH_LOADER_FIREWIRE"
34 .endif
35
36 .include "../Makefile.inc"