forked from altcloud/mkimage-profiles
x11: add e2k-specific bits
xorg-drv-mga2 is MCST Graphics Array driver for 2D part of videochip found in Elbrus-1C+ APU (also to be a part of Elbrus-2C3). xorg-drv-smi is another fork of xorg-drv-siliconmotion that's absent in p9/sisyphus; *might* be of some interest to mipsel folks (they've got yet another fork it seems). Ah, and do not override targets on e2k.
This commit is contained in:
parent
ef05303be2
commit
240c8fbf14
@ -12,13 +12,13 @@ use/x11:
|
||||
@$(call add,THE_KMODULES,$$(NVIDIA_KMODULES) $$(RADEON_KMODULES))
|
||||
@$(call add,THE_PACKAGES,$$(NVIDIA_PACKAGES) $$(RADEON_PACKAGES))
|
||||
|
||||
use/x11/xorg:: use/x11 use/x11/armsoc; @:
|
||||
|
||||
# x86: free drivers for various hardware (might lack acceleration)
|
||||
ifeq (,$(filter-out i586 x86_64 aarch64,$(ARCH)))
|
||||
use/x11/xorg: use/x11/intel use/x11/nouveau use/x11/radeon use/x11/amdgpu \
|
||||
use/x11/xorg:: use/x11/intel use/x11/nouveau use/x11/radeon use/x11/amdgpu \
|
||||
use/x11/armsoc
|
||||
@$(call add,THE_LISTS,$(call tags,desktop xorg))
|
||||
else
|
||||
use/x11/xorg: use/x11 use/x11/armsoc; @:
|
||||
endif
|
||||
|
||||
ifeq (,$(filter-out i586 x86_64,$(ARCH)))
|
||||
@ -36,6 +36,23 @@ else
|
||||
use/x11/armsoc: use/x11; @:
|
||||
endif
|
||||
|
||||
ifeq (,$(filter-out e2k%,$(ARCH)))
|
||||
# e2k: mostly radeon, 101 got mga2/vivante
|
||||
use/x11/xorg:: use/x11/radeon use/x11/amdgpu
|
||||
|
||||
ifeq (,$(filter-out e2kv4,$(ARCH)))
|
||||
use/x11/mga2: use/x11
|
||||
@$(call add,THE_PACKAGES,xorg-drv-mga2)
|
||||
else
|
||||
use/x11/mga2: use/x11; @:
|
||||
endif
|
||||
|
||||
use/x11/smi: use/x11
|
||||
@$(call add,THE_PACKAGES,xorg-drv-smi)
|
||||
else
|
||||
use/x11/smi: use/x11; @:
|
||||
endif
|
||||
|
||||
# for those cases when no 3D means no use at all
|
||||
# NB: blobs won't Just Work (TM) along with nouveau/radeon
|
||||
# as free drivers get prioritized during autodetection
|
||||
|
Loading…
x
Reference in New Issue
Block a user