blob: 0893867c919151d8bc0185aaf9ca52b91981665c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
# $NetBSD: Makefile,v 1.5 2011/01/02 09:40:51 tsutsui Exp $
SRCS= boot.c conf.c devopen.c
PROG= boot.elf
LIBS= ${LIBSA} ${LIBKERN}
DPADD= ${LIBS}
CLEANFILES+= boot.bin
boot.bin: ${PROG}
${OBJCOPY} -O binary ${.OBJDIR}/boot.elf $@
.include "../Makefile.booters"
all realall: boot.bin
install: boot.bin
${INSTALL_FILE} ${STRIPFLAG} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
${.OBJDIR}/boot.bin ${DESTDIR}${MDEC_DIR}/boot
.include <bsd.prog.mk>
|