Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/Makefile,v rcsdiff: /ftp/cvs/cvsroot/src/Makefile,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.262.2.5 retrieving revision 1.269 diff -u -p -r1.262.2.5 -r1.269 --- src/Makefile 2011/03/08 17:47:59 1.262.2.5 +++ src/Makefile 2009/04/15 10:18:34 1.269 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.262.2.5 2011/03/08 17:47:59 riz Exp $ +# $NetBSD: Makefile,v 1.269 2009/04/15 10:18:34 tsutsui Exp $ # # This is the top-level makefile for building NetBSD. For an outline of @@ -94,6 +94,7 @@ # do-external-lib: builds and installs prerequisites from external/lib. # do-sys-rump-fs-lib: builds and installs prerequisites from sys/rump/fs/lib # do-sys-rump-net-lib: builds and installs prerequisites from sys/rump/net/lib +# do-sys-modules: builds and installs kernel modules (used by rump binaries) # do-ld.so: builds and installs prerequisites from libexec/ld.*_so. # do-compat-lib-csu: builds and installs prerequisites from compat/lib/csu # if ${MKCOMPAT} != "no". @@ -235,6 +236,9 @@ BUILDTARGET+= do-libpcc BUILDTARGETS+= do-lib-libc BUILDTARGETS+= do-lib do-gnu-lib do-external-lib BUILDTARGETS+= do-sys-rump-fs-lib do-sys-rump-net-lib +.if (${MACHINE} != "evbppc") +BUILDTARGETS+= do-sys-modules +.endif .if ${MKCOMPAT} != "no" BUILDTARGETS+= do-compat-lib-csu BUILDTARGETS+= do-compat-libgcc @@ -320,7 +324,7 @@ installworld: .PHONY .MAKE .endif .endif ${MAKEDIRTARGET} distrib/sets installsets \ - INSTALLDIR=${INSTALLWORLDDIR:U/} INSTALLSETS=${INSTALLSETS:Q} + INSTALLDIR=${INSTALLWORLDDIR:U/} INSTALLSETS= ${MAKEDIRTARGET} . postinstall-check DESTDIR=${INSTALLWORLDDIR} @echo "make ${.TARGET} started at: ${START_TIME}" @printf "make ${.TARGET} finished at: " && date @@ -397,23 +401,19 @@ BUILD_CC_LIB+= external/bsd/pcc/crtstuff BUILD_CC_LIB+= external/bsd/pcc/libpcc .endif -.for dir in tools tools/compat lib/csu ${BUILD_CC_LIB} lib/libc lib/libdes lib gnu/lib external/lib sys/rump/fs/lib sys/rump/net/lib +.if ${MKCOMPAT} != "no" +BUILD_COMPAT_LIBS= compat/lib/csu ${BUILD_CC_LIB:S/^/compat\//} compat/lib/libc +.else +BUILD_COMPAT_LIBS= +.endif + +.for dir in tools tools/compat lib/csu ${BUILD_CC_LIB} lib/libc lib/libdes lib gnu/lib external/lib sys/rump/fs/lib sys/rump/net/lib sys/modules ${BUILD_COMPAT_LIBS} do-${dir:S/\//-/g}: .PHONY .MAKE .for targ in dependall install ${MAKEDIRTARGET} ${dir} ${targ} .endfor .endfor -.if ${MKCOMPAT} != "no" -COMPAT_SUBDIR_LIST=lib/csu ${BUILD_CC_LIB} lib/libc -.for dir in ${COMPAT_SUBDIR_LIST} -do-compat-${dir:S/\//-/g}: .PHONY .MAKE -.for targ in obj dependall install - ${MAKEDIRTARGET} compat ${targ} BOOTSTRAP_SUBDIRS="../../../${dir}" -.endfor -.endfor -.endif - do-top-obj: .PHONY .MAKE ${MAKEDIRTARGET} . obj NOSUBDIR=