mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-22 11:17:19 +00:00
30 lines
582 B
Makefile
30 lines
582 B
Makefile
# $NetBSD: Makefile,v 1.15 1998/03/28 00:21:35 thorpej Exp $
|
|
# $FreeBSD$
|
|
|
|
PROG= boot1.sym
|
|
INTERNALPROG=
|
|
NOMAN=
|
|
LINKS= ${BINDIR}/boot1 ${BINDIR}/boot
|
|
|
|
.PATH: ${.CURDIR}/../libalpha
|
|
|
|
SRCS= start.S boot1.c
|
|
CFLAGS+= -DSECONDARY_LOAD_ADDRESS=${SECONDARY_LOAD_ADDRESS} -DMINIMAL
|
|
CFLAGS+= -DBOOT1
|
|
CFLAGS+= -I${.CURDIR}/../../common
|
|
|
|
BOOT_RELOC = ${PRIMARY_LOAD_ADDRESS}
|
|
|
|
CLEANFILES= boot1
|
|
|
|
FILES= boot1
|
|
|
|
boot1: boot1.sym
|
|
objcopy -S -O binary boot1.sym ${.TARGET}
|
|
|
|
LDFLAGS=-Ttext ${BOOT_RELOC} -N -e start
|
|
DPADD= ${LIBALPHA} ${LIBSTAND}
|
|
LDADD= ${LIBALPHA} -lstand
|
|
|
|
.include <bsd.prog.mk>
|