config.mk 1.31 KB
Newer Older
1
# "1" is not a typo
2
use/stage2: sub/stage1 use/initrd-propagator
3
	@$(call add_feature)
4
	@$(call add,STAGE1_PACKAGES,make-initrd file iproute2)
5
	@$(call add,STAGE1_MODLISTS,$$(FEATURES))
6
	@$(call xport,STAGE1_PACKAGES)
7
	@$(call xport,STAGE1_KCONFIG)
8

9 10 11 12
# building blocks for propagator's module cove
use/stage2/ata use/stage2/drm use/stage2/fs use/stage2/hid use/stage2/md \
	use/stage2/mmc use/stage2/net use/stage2/net-cifs use/stage2/net-nfs \
	use/stage2/pcmcia use/stage2/rtc use/stage2/scsi use/stage2/usb \
13
	use/stage2/virtio: \
14 15 16
	use/stage2/%: use/stage2
	@$(call add,STAGE1_MODLISTS,stage2-$*)

17 18 19 20 21 22
use/stage2/sbc: use/stage2
ifeq (,$(filter-out aarch64,$(ARCH)))
	@$(call add,STAGE1_MODLISTS,stage2-sbc-aarch64)
endif
	@:

23 24
use/stage2/kms: use/stage2/drm use/drm/stage2/full; @:

25
use/stage2/kms/nvidia: use/stage2/kms \
26
	use/drm/stage2/nvidia; @:
27

28
# install mount.cifs to stage1
29 30
# NB: there's builtin nfsmount there, no reason for nfs-utils
use/stage2/cifs: use/stage2/net-cifs
31 32
	@$(call add,STAGE1_PACKAGES,cifs-utils)

33 34 35 36 37
# eth0 instead of enp0s3
use/stage2/net-eth: use/stage2
	@$(call add,STAGE1_PACKAGES,udev-rule-generator-net)
	@$(call add,STAGE2_PACKAGES,udev-rule-generator-net livecd-net-eth)

38 39 40
# NB: sub/stage2 isn't used standalone but rather
#     as a base for various livecd modifications
#     (currently install2, live, rescue)