Create a dynamically linked sysinst as part of the build process, but don't

install it.
This commit is contained in:
ad 2008-11-21 15:39:29 +00:00
parent 389c672366
commit ab165b17f6
3 changed files with 14 additions and 9 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.15 2008/08/21 06:17:41 lukem Exp $
# $NetBSD: Makefile,v 1.16 2008/11/21 15:39:51 ad Exp $
.include <bsd.own.mk>
@ -14,9 +14,7 @@ SUBDIR+= miniroot .WAIT
SUBDIR+= ${RELEASEMACHINE}
.endif
.if make(obj)
SUBDIR+= utils
.endif
TARGETS+=release
TARGETS+=iso_image

View File

@ -1,13 +1,11 @@
# $NetBSD: Makefile,v 1.17 2005/09/10 13:24:38 dsl Exp $
# $NetBSD: Makefile,v 1.18 2008/11/21 15:39:29 ad Exp $
.if make(obj)
SUBDIR= libhack more ssh tls \
x_dhclient x_ed x_gzip x_ifconfig \
x_netstat x_ping x_route x_umount zcat
.if exists(sysinst/arch/${MACHINE})
SUBDIR+=sysinst
.endif
.if ${MACHINE} == "acorn32"
SUBDIR+=sparkcrc
.endif
@ -15,4 +13,12 @@ SUBDIR+=sparkcrc
# IPv6
SUBDIR+=x_ping6
.endif
.if exists(sysinst/arch/${MACHINE})
SUBDIR+=sysinst
.endif
release:
.include <bsd.subdir.mk>

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.11 2008/03/31 23:55:29 chris Exp $
# $NetBSD: Makefile,v 1.12 2008/11/21 15:39:29 ad Exp $
#
# sysinst is usually built when the crunched install binary is built,
# but can be built here as a normal program for testing.
@ -42,5 +42,6 @@ SUBDIR += arch/zaurus
# XXX notyet SUBDIR += arch/iyonix
.endif
install:
.include <bsd.subdir.mk>