INIT died problem / build system robustness
Changes provoked by debugging / making 'PM: INIT died' error debuggable.
This was caused (in one instance) by a missing /dev/console (and everything
else) on the boot time ramdisk.
. sanity-check against this case by checking for console
. PM: print init stacktrace and exit status when init dies
. eliminate some explicitly invoked ${MAKE}s and a rm -rf in
Makefiles, causing race conditions; use explicit ordering (.WAIT)
instead, moving some of the burden of dependencies of partial builds
to the user. On the plus side, generate ramdisk just once.
. make mkfs.mfs fail as soon as it sees an error missing file in
the proto file. - except for EACCES on minix native for the mfs
test. also fix some fmt warnings.
. init: include debug info in executable
Change-Id: I8eea4986a4f64ecaf223aff5da321d8b4f4a3fa4
This commit is contained in:
7
Makefile
7
Makefile
@@ -138,12 +138,13 @@ _SRC_TOP_OBJ_=
|
||||
# BUILD_${dir}=no, or that have no ${dir}/Makefile.
|
||||
#
|
||||
_SUBDIR= tools lib include gnu external crypto/external bin games
|
||||
.if defined(__MINIX)
|
||||
_SUBDIR+= minix
|
||||
.endif # defined(__MINIX)
|
||||
_SUBDIR+= libexec sbin usr.bin
|
||||
_SUBDIR+= usr.sbin share sys etc tests compat
|
||||
_SUBDIR+= .WAIT rescue .WAIT distrib regress
|
||||
.if defined(__MINIX)
|
||||
# the minix subdir depends on some other things (e.g. lib/)
|
||||
_SUBDIR+= .WAIT minix
|
||||
.endif # defined(__MINIX)
|
||||
|
||||
.for dir in ${_SUBDIR}
|
||||
.if "${dir}" == ".WAIT" \
|
||||
|
||||
Reference in New Issue
Block a user