Changeset View
Changeset View
Standalone View
Standalone View
stand/sparc64/boot1/Makefile
# $FreeBSD$ | # $FreeBSD$ | ||||
.include <bsd.init.mk> | .include <bsd.init.mk> | ||||
PROG= boot1.elf | PROG= boot1.elf | ||||
INTERNALPROG= | INTERNALPROG= | ||||
FILES?= boot1 | FILES?= boot1 | ||||
SRCS= _start.s boot1.c | SRCS= _start.s boot1.c | ||||
CLEANFILES+=${FILES} boot1.aout | CLEANFILES+=${FILES} boot1.aout | ||||
DPADD+= ${LIBSA} | |||||
LDADD+= ${LIBSA} | |||||
BOOTBLOCKBASE= 0x4000 | BOOTBLOCKBASE= 0x4000 | ||||
CFLAGS.clang+=-mcmodel=small | CFLAGS.clang+=-mcmodel=small | ||||
CFLAGS.gcc+=-mcmodel=medlow | CFLAGS.gcc+=-mcmodel=medlow | ||||
CFLAGS+=-Os -I${LDRSRC} | CFLAGS+=-Os -I${LDRSRC} | ||||
LDFLAGS+=-Ttext ${BOOTBLOCKBASE} -Wl,-N | LDFLAGS+=-Ttext ${BOOTBLOCKBASE} -Wl,-N | ||||
# Construct boot1. sunlabel expects it to contain zeroed-out space for the | # Construct boot1. sunlabel expects it to contain zeroed-out space for the | ||||
Show All 11 Lines |