MK option to build only system image programs
This commit is contained in:
parent
afd132adc9
commit
3eb22ca4d1
@ -3,17 +3,23 @@
|
|||||||
|
|
||||||
.include <bsd.own.mk>
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
|
.if ${MKIMAGEONLY} == "yes"
|
||||||
|
|
||||||
# memory driver must be last for ramdisk image
|
# memory driver must be last for ramdisk image
|
||||||
|
SUBDIR= at_wini bios_wini floppy log tty pci .WAIT ramdisk .WAIT memory
|
||||||
|
|
||||||
|
.else
|
||||||
|
|
||||||
.if ${COMPILER_TYPE} == "gnu"
|
.if ${COMPILER_TYPE} == "gnu"
|
||||||
SUBDIR = acpi
|
SUBDIR = acpi
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
# memory driver must be last for ramdisk image
|
||||||
SUBDIR+= ahci amddev atl2 at_wini audio bios_wini dec21140A dp8390 dpeth \
|
SUBDIR+= ahci amddev atl2 at_wini audio bios_wini dec21140A dp8390 dpeth \
|
||||||
e1000 filter floppy fxp hello lance log orinoco pci printer \
|
e1000 filter floppy fxp hello lance log orinoco pci printer \
|
||||||
random readclock rtl8139 rtl8169 ti1225 tty \
|
random readclock rtl8139 rtl8169 ti1225 tty \
|
||||||
.WAIT ramdisk .WAIT memory
|
.WAIT ramdisk .WAIT memory
|
||||||
|
|
||||||
# memory driver must be last for ramdisk image
|
.endif
|
||||||
IMAGE_SUBDIR= at_wini bios_wini floppy log tty pci .WAIT ramdisk .WAIT memory
|
|
||||||
|
|
||||||
.include <bsd.subdir.mk>
|
.include <bsd.subdir.mk>
|
||||||
|
@ -3,9 +3,15 @@
|
|||||||
|
|
||||||
.include <bsd.own.mk>
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
|
.if ${MKIMAGEONLY} == "yes"
|
||||||
|
|
||||||
|
SUBDIR= ds init mfs pfs pm rs sched vfs vm
|
||||||
|
|
||||||
|
.else
|
||||||
|
|
||||||
SUBDIR= ds ext2 hgfs inet init ipc is iso9660fs \
|
SUBDIR= ds ext2 hgfs inet init ipc is iso9660fs \
|
||||||
mfs pfs pm procfs rs sched vfs vm devman
|
mfs pfs pm procfs rs sched vfs vm devman
|
||||||
|
|
||||||
IMAGE_SUBDIR= ds init mfs pfs pm rs sched vfs vm
|
.endif
|
||||||
|
|
||||||
.include <bsd.subdir.mk>
|
.include <bsd.subdir.mk>
|
||||||
|
@ -770,6 +770,9 @@ _MKVARS.no= \
|
|||||||
MKPCC MKPCCCMDS \
|
MKPCC MKPCCCMDS \
|
||||||
MKSOFTFLOAT MKSTRIPIDENT \
|
MKSOFTFLOAT MKSTRIPIDENT \
|
||||||
MKUNPRIVED MKUPDATE MKX11 MKZFS
|
MKUNPRIVED MKUPDATE MKX11 MKZFS
|
||||||
|
#MINIX-specific vars
|
||||||
|
_MKVARS.no+= \
|
||||||
|
MKIMAGEONLY
|
||||||
.for var in ${_MKVARS.no}
|
.for var in ${_MKVARS.no}
|
||||||
${var}?=no
|
${var}?=no
|
||||||
.endfor
|
.endfor
|
||||||
|
Loading…
x
Reference in New Issue
Block a user