config.mk 2.94 KB
Newer Older
1
ifeq (,$(filter-out e2k%,$(ARCH)))
2
use/e2k: use/tty/S0 use/l10n/default/ru_RU
3
	@$(call add_feature)
4
	@$(call add,BASE_PACKAGES,installer-feature-e2k-fix-clock-stage3)
5 6 7 8
	@$(call add,LIVE_PACKAGES,installer-feature-e2k-fix-boot-stage2)
	@$(call add,LIVE_PACKAGES,installer-feature-e2k-ignore-cf-stage2)
	@$(call add,LIVE_PACKAGES,blacklist-ide)	# avoid overwriting hda
	@$(call add,STAGE2_PACKAGES,agetty)
9
	@$(call add,INSTALL2_PACKAGES,installer-feature-e2k-xorg-conf-stage2)
10
	@$(call add,INSTALL2_PACKAGES,installer-feature-e2k-fix-boot-stage2)
11
	@$(call add,INSTALL2_PACKAGES,installer-feature-e2k-sensors-stage2)
12
	@$(call add,INSTALL2_PACKAGES,installer-feature-fstrim-stage2)
13 14
	@$(call add,INSTALL2_PACKAGES,blacklist-ide)	# avoid overwriting hda
	@$(call add,INSTALL2_PACKAGES,ifplugd)	# for net-eth link status
15
	@$(call add,INSTALL2_CLEANUP_PACKAGES,llvm)
16 17 18 19
ifeq (,$(filter-out e2kv4 e2kv5,$(ARCH)))
	@# 8C/8CB specific
	@$(call add,INSTALL2_PACKAGES,installer-feature-e2k-sensors-stage2)
endif
20
	@$(call add,BASE_PACKAGES,mirror-e2k-alt)
21
	@$(call add,THE_PACKAGES,fruid_print)
22 23
	@$(call add,THE_PACKAGES,pwmd)
	@$(call add,DEFAULT_SERVICES_DISABLE,pwmd)
24 25
	@$(call set,KFLAVOURS,elbrus-def)	# no other flavours for now
	@$(call xport,STAGE2_BOOTARGS)
26

27 28
use/e2k/x11: use/e2k use/x11
	@$(call add,THE_PACKAGES,xorg-server xinit)
29
	@$(call add,INSTALL2_PACKAGES,xorg-drv-amdgpu lccrt-blobs)
30

31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
ifeq (,$(filter-out e2kv5,$(ARCH)))
use/e2k/multiseat/full: use/e2k/multiseat/901/full; @:

# 6seat not tested so far but 1E8CB has three suitable PCIe slots
use/e2k/multiseat/901:
	@$(call add,INSTALL2_PACKAGES,installer-feature-e2k-801-multiseat) #sic!
	@$(call add,MAIN_GROUPS,x-e2k/90-e901)
	@$(call add,MAIN_GROUPS,$(addprefix x-e2k/,e901-1seat e901-2seat))
	@$(call add,MAIN_GROUPS,$(addprefix x-e2k/,e901-3seat))

use/e2k/multiseat/901/full: use/e2k/multiseat/901 use/control
	@$(call add,MAIN_GROUPS,x-e2k/x-autologin)
	@$(call add,THE_PACKAGES,test-audio alterator-multiseat)
endif	# e2kv5

46
ifeq (,$(filter-out e2kv4,$(ARCH)))
47 48
use/e2k/multiseat/full: use/e2k/multiseat/801/full; @:

49 50
use/e2k/x11/101: use/e2k/x11
	@$(call add,MAIN_GROUPS,x-e2k/91-e101)
51
	@$(call add,MAIN_GROUPS,$(addprefix x-e2k/,e101-modesetting))
52 53 54 55 56 57 58 59 60 61 62

use/e2k/multiseat/801/base:
	@$(call add,INSTALL2_PACKAGES,installer-feature-e2k-801-multiseat)
	@$(call add,MAIN_GROUPS,x-e2k/90-e801)
	@$(call add,MAIN_GROUPS,$(addprefix x-e2k/,e801-1seat e801-2seat))

use/e2k/multiseat/801: use/e2k/multiseat/801/base
	@$(call add,MAIN_GROUPS,$(addprefix x-e2k/,e801-3seat e801-6seat))

use/e2k/multiseat/801/full: use/e2k/multiseat/801 use/control
	@$(call add,MAIN_GROUPS,x-e2k/x-autologin)
63
	@$(call add,THE_PACKAGES,test-audio alterator-multiseat)
64 65
else
use/e2k/x11/101:; @:
66 67
endif	# e2kv4

68 69 70 71
ifeq (,$(filter-out e2k,$(ARCH)))
use/e2k/multiseat/full:; @:
endif	# e2k(v3)

72
ifeq (,$(filter-out e2k,$(ARCH)))
73
use/e2k/sound/401:
74
	@$(call add,THE_PACKAGES,setup-alsa-elbrus-401)
75 76 77 78

else
use/e2k/sound/401:; @:
endif	# e2k
79 80 81 82
else
use/e2k:; @:
use/e2k/%:; @:
endif	# e2k%