config.mk 3.62 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
ifeq (,$(filter-out e2kv4 e2kv5,$(ARCH)))
	@# 8C/8CB specific
	@$(call add,INSTALL2_PACKAGES,installer-feature-e2k-sensors-stage2)
19
endif
20 21 22
ifeq (,$(filter-out e2kv6 e2kv4,$(ARCH)))
	@# 1C+/2C3 specific
	@$(call add,SYSTEM_PACKAGES,softdep-mga2x)	# mcst#8089
23
endif
24
	@$(call add,SYSTEM_PACKAGES,softdep-i2c-mux)	# mcst#8627
25
	@$(call add,BASE_PACKAGES,mirror-e2k-alt)
26
	@$(call add,THE_PACKAGES,fruid_print)
27 28
	@$(call add,THE_PACKAGES,pwmd)
	@$(call add,DEFAULT_SERVICES_DISABLE,pwmd)
29
	@$(call add,DEFAULT_SERVICES_DISABLE,ModemManager)	# COM issues
30
	@$(call set,KFLAVOURS,elbrus-def)	# no other flavours for now
31
	@$(call set,REPO,http/pvt)	# the only working way right now
32
	@$(call xport,STAGE2_BOOTARGS)
33

34 35
use/e2k/x11: use/e2k use/x11
	@$(call add,THE_PACKAGES,xorg-server xinit)
36
	@$(call add,INSTALL2_PACKAGES,xorg-drv-amdgpu lccrt-blobs)
37

38 39
ifeq (,$(filter-out e2kv6,$(ARCH)))
use/e2k/multiseat/full:
40
	@$(call add,INSTALL2_PACKAGES,installer-feature-e2k-multiseat)
41
	@$(call add,MAIN_GROUPS,x-e2k/90-e1601)
42
	@$(call add,MAIN_GROUPS,$(addprefix x-e2k/e1601-,1seat 4seat))
43 44
	@#$(call add,MAIN_GROUPS,x-e2k/90-e201)	# wait for GPU split on *201*
	@#$(call add,MAIN_GROUPS,$(addprefix x-e2k/e201-,1seat 2seat))
45 46
endif

47 48 49 50 51
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:
52
	@$(call add,INSTALL2_PACKAGES,installer-feature-e2k-multiseat)
53 54 55 56 57 58 59 60 61
	@$(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

62
ifeq (,$(filter-out e2kv4,$(ARCH)))
63 64
use/e2k/multiseat/full: use/e2k/multiseat/801/full; @:

65
use/e2k/x11/101: use/e2k/x11; @:
66 67

use/e2k/multiseat/801/base:
68
	@$(call add,INSTALL2_PACKAGES,installer-feature-e2k-multiseat)
69 70 71 72 73 74 75
	@$(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
76 77
	@$(call add,MAIN_GROUPS,$(addprefix x-e2k/,e801-2seat-4port))
	@$(call add,MAIN_GROUPS,$(addprefix x-e2k/,e801-3seat-4port))
78
	@$(call add,MAIN_GROUPS,x-e2k/x-autologin)
79
	@$(call add,THE_PACKAGES,test-audio alterator-multiseat)
80
else
Michael Shigorin's avatar
Michael Shigorin committed
81
use/e2k/x11/101: use/e2k/x11; @:
82 83
endif	# e2kv4

84 85 86 87
ifeq (,$(filter-out e2k,$(ARCH)))
use/e2k/multiseat/full:; @:
endif	# e2k(v3)

88
ifeq (,$(filter-out e2k,$(ARCH)))
89
use/e2k/sound/401:
90
	@$(call add,THE_PACKAGES,setup-alsa-elbrus-401)
91 92 93 94

else
use/e2k/sound/401:; @:
endif	# e2k
95 96 97 98
else
use/e2k:; @:
use/e2k/%:; @:
endif	# e2k%