Files
netbsd/sys/arch/mmeye/stand/bootelf/Makefile
2014-01-15 10:53:42 +01:00

25 lines
617 B
Makefile

# $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>