blob: 8df934714776acf97f2763885f6d90d6b0fe4c74 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# $NetBSD: Makefile,v 1.15 2013/08/21 07:04:38 matt Exp $
#
# NOTE: This program is *not* standalone, but a userlevel program -- this
# program was run from within boot-only, NetBSD-as-bootloader as a
# userlevel program, then in-kernel boot code loads another NetBSD
# image and jumps to it.
#
PROG= bootelf
SRCS= alloc.c boot.c byteorder.c loadfile.c loadfile_elf32.c
NOMAN= # defined
LIBSA= ${.CURDIR}/../../../../lib/libsa
.PATH: ${LIBSA}
CFLAGS+= -ffreestanding
CPPFLAGS+= -I${.CURDIR}/../../../.. -I${.OBJDIR}
LDSTATIC= -static
${PROG}: ${OBJS}
.include <bsd.prog.mk>
.include <bsd.klinks.mk>
|