Skip to content

Commit

Permalink
Testing adding custom drivers to build v3
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeeq committed Dec 3, 2019
1 parent 8fad868 commit 41a5ffb
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions patch_driver.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,11 @@ git diff HEAD >> ${REPO_PWD}/../patches/custom-drivers.patch
cd $REPO_PWD
for config_file in $(ls | grep kernel | grep '.config')
do
echo 'CONFIG_BCE_DRIVER=y' >> $config_file
echo 'CONFIG_TOUCHBAR_DRIVER=y' >> $config_file
echo 'CONFIG_BCE_DRIVER=m' >> $config_file
echo 'CONFIG_TOUCHBAR_DRIVER=m' >> $config_file
done

echo 'CONFIG_BCE_DRIVER=m' > kernel/configs/fedora/generic/CONFIG_BCE_DRIVER
echo 'CONFIG_TOUCHBAR_DRIVER=m' >> kernel/configs/fedora/generic/CONFIG_TOUCHBAR_DRIVER

echo -e "bce.ko\napple-ib-als.ko\napple-ib-tb.ko\napple-ibridge.ko" >> mod-extra.list

0 comments on commit 41a5ffb

Please sign in to comment.