Commit 584a87ac authored by Michael Shigorin's avatar Michael Shigorin Committed by Anton Midyukov

e2k: fix 20-initrd-e2k-kms on v6

Not only "case", but the subsequent logic is e2kv6-specific too. Found while trying to build slinux.iso with mcst-e1cp kernel.
parent 530e6508
......@@ -8,7 +8,7 @@ echo "MODULES_ADD += radeon"
find /lib/modules -name mga2.ko >/dev/null &&
echo "MODULES_ADD += mga2" &&
echo "MODULES_ADD += dw_hdmi_imx panel-lvds"
[ "$GLOBAL_ARCH" = "e2kv6" ] &&
[ "$GLOBAL_ARCH" = "e2kv6" ] && {
case "$BRANCH" in
p10)
MGA2=mga25
......@@ -22,5 +22,6 @@ esac
find /lib/modules -name "$MGA2".ko >/dev/null &&
echo "MODULES_ADD += $MGA2" &&
echo "MODULES_ADD += pwm-bl panel-lvds lp872x i2c-dev panel-simple ti-sn65dsi86 i2c-gpio dw-mipi-dsi sii902x sil164 simple-bridge display-connector $DW_HDMI"
}
} >> /etc/initrd.mk
:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment