dist: move wmi back to core
Upstream: no To avoid depmod breakage. Signed-off-by: Kairui Song <kasong@tencent.com>
This commit is contained in:
parent
f909800b04
commit
18be89d1f7
|
|
@ -43,7 +43,7 @@ fsdrvs="affs befs cifs coda cramfs dlm ecryptfs hfs hfsplus jfs jffs2 minix ncpf
|
|||
singlemods="ntb_netdev iscsi_ibft iscsi_boot_sysfs megaraid pmcraid qedi qla1280 9pnet_rdma rpcrdma nvmet-rdma nvme-rdma hid-picolcd hid-prodikeys hwa-hc hwpoison-inject hid-sensor-hub target_core_user sbp_target cxgbit iw_cxgb3 iw_cxgb4 cxgb3i cxgb3i cxgb3i_ddp cxgb4i chcr chtls parport_serial ism regmap-sdw regmap-sdw-mbq arizona-micsupp hid-asus iTCO_wdt rnbd-client rnbd-server mlx5_ib mlx5_vdpa spi-altera-dfl nct6775 hid-playstation hid-nintendo ntc_thermistor configs"
|
||||
|
||||
# Overrides is individual modules which need to remain in kernel-core due to deps.
|
||||
overrides="cec"
|
||||
overrides="cec wmi"
|
||||
|
||||
BASE_DIR=$1
|
||||
KERNEL_UNAMER=$2
|
||||
|
|
@ -95,8 +95,8 @@ filter_override() {
|
|||
local filter_list
|
||||
|
||||
for mod in $1; do
|
||||
if filter_list=$(grep "$mod.ko" <<< "$modules_list"); then
|
||||
modules_list=$(grep -v "$mod.ko" <<< "$modules_list")
|
||||
if filter_list=$(grep "/$mod.ko" <<< "$modules_list"); then
|
||||
modules_list=$(grep -v "/$mod.ko" <<< "$modules_list")
|
||||
core_modules_list+=$filter_list
|
||||
core_modules_list+=$'\n'
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in New Issue