Integrate new boot stuff into build scheme.

- Build sys with everything else.
- Gitignore files built by new boot stuff.
This commit is contained in:
Evgeniy Ivanov 2012-01-25 23:32:10 +04:00 committed by Ben Gras
parent 7f2d47d84c
commit 60a2ce010a
6 changed files with 19 additions and 1 deletions

View file

@ -67,6 +67,7 @@ commands: includes libraries
dep-all:
$(MAKE) CC=cc -C boot dependall
$(MAKE) CC=clang -C sys dependall
$(MAKE) -C commands dependall
$(MAKE) -C bin dependall
$(MAKE) -C sbin dependall
@ -85,6 +86,7 @@ etcforce:
all:
$(MAKE) CC=cc -C boot all
$(MAKE) CC=clang -C sys all
$(MAKE) -C commands all
$(MAKE) -C bin all
$(MAKE) -C sbin all
@ -95,6 +97,7 @@ all:
install:
$(MAKE) CC=cc -C boot install
$(MAKE) CC=clang -C sys install
$(MAKE) -C libexec install
$(MAKE) -C man install makedb
$(MAKE) -C commands install
@ -108,6 +111,7 @@ install:
clean: mkfiles
$(MAKE) -C boot clean
$(MAKE) -C sys clean
$(MAKE) -C commands clean
$(MAKE) -C bin clean
$(MAKE) -C sbin clean
@ -121,6 +125,7 @@ clean: mkfiles
cleandepend: mkfiles
$(MAKE) -C lib cleandepend_all
$(MAKE) -C boot cleandepend
$(MAKE) -C sys cleandepend
$(MAKE) -C commands cleandepend
$(MAKE) -C bin cleandepend
$(MAKE) -C sbin cleandepend

10
sys/Makefile Normal file
View file

@ -0,0 +1,10 @@
# Makefile for the boot stuff.
.include <bsd.own.mk>
SUBDIR= arch/i386/stand/mbr
SUBDIR+= arch/i386/stand/bootxx
SUBDIR+= arch/i386/stand/boot
SUBDIR+= arch/i386/stand/cdboot
.include <bsd.subdir.mk>

View file

@ -1,5 +1,6 @@
# $NetBSD: Makefile,v 1.3 2005/12/11 12:17:48 christos Exp $
PROG= boot_monitor
CLEANFILES= lib
.include <../Makefile.boot>

View file

@ -1,5 +1,6 @@
# $NetBSD: Makefile,v 1.1 2010/09/11 13:06:37 tsutsui Exp $
FS=ext2fs
CLEANFILES= lib
.include <../Makefile.bootxx>

View file

@ -2,6 +2,7 @@
PROG=bootxx_minixfs3
FS=minixfs3
CLEANFILES= lib
MINIX3_FIRST_SUBP_OFFSET=32

View file

@ -3,6 +3,6 @@
.include <bsd.own.mk>
# NetBSD imports
SUBDIR= pwd_mkdb user vipw zic
SUBDIR= installboot pwd_mkdb user vipw zic
.include <bsd.subdir.mk>