minix/minix/drivers/Makefile
Ben Gras cd34841de5 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
2014-08-28 08:52:50 +02:00

28 lines
513 B
Makefile

.include <bsd.own.mk>
.if ${MKIMAGEONLY} == "no"
SUBDIR+= audio
SUBDIR+= clock
SUBDIR+= eeprom
SUBDIR+= examples
SUBDIR+= iommu
SUBDIR+= net
SUBDIR+= power
SUBDIR+= printer
SUBDIR+= sensors
SUBDIR+= system
SUBDIR+= usb
SUBDIR+= video
SUBDIR+= vmm_guest
.endif # ${MKIMAGEONLY} == "no"
# The following folders contain drivers which are always required
SUBDIR+= bus
SUBDIR+= tty
SUBDIR+= hid
# BJG - build storage last as the ramdisk depends on some other things
SUBDIR+= .WAIT storage
.include <bsd.subdir.mk>