Add targets to prepare generated boothfs.uue binary file.
This commit is contained in:
parent
6b0e9f0301
commit
0970a93da7
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.2 2009/03/25 15:36:08 tsutsui Exp $
|
||||
# $NetBSD: Makefile,v 1.3 2009/03/29 04:52:12 tsutsui Exp $
|
||||
|
||||
HOSTPROG= macppc_mkboothfs
|
||||
SRCS= mkboothfs.c
|
||||
@ -14,4 +14,17 @@ COMPATOBJ!= cd ${NETBSDSRCDIR}/tools/compat && ${PRINTOBJDIR}
|
||||
HOST_CPPFLAGS+= -I${NETBSDSRCDIR}/tools/compat
|
||||
.endif
|
||||
|
||||
|
||||
UUENCODE?= uuencode # XXX no ${TOOL_UUENCODE}
|
||||
|
||||
boothfs: ${HOSTPROG}
|
||||
./${HOSTPROG} boothfs
|
||||
|
||||
boothfs.uue: boothfs
|
||||
echo '$$NetBSD: Makefile,v 1.3 2009/03/29 04:52:12 tsutsui Exp $$' > ${.TARGET}.tmp
|
||||
${UUENCODE} boothfs boothfs >> ${.TARGET}.tmp
|
||||
cp ${.TARGET}.tmp ${NETBSDSRCDIR}/distrib/cdrom/${.TARGET}
|
||||
|
||||
CLEANFILES+= boothfs.uue.tmp
|
||||
|
||||
.include <bsd.hostprog.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user