mirror of
https://github.com/Fishwaldo/build.git
synced 2025-07-23 13:29:33 +00:00
Install out-of-tree drivers only if headers are available
This commit is contained in:
parent
f738d7cc84
commit
fbd0b46b37
2 changed files with 2 additions and 2 deletions
|
@ -76,7 +76,7 @@ install_mt7601()
|
|||
# TODO: Set the module to build automatically via dkms in the future here
|
||||
}
|
||||
|
||||
if [[ $BRANCH == default ]]; then
|
||||
if [[ $BRANCH == default && $INSTALL_HEADERS == yes ]]; then
|
||||
display_alert "Installing additional driver" "MT7601U" "info"
|
||||
install_mt7601
|
||||
fi
|
||||
|
|
|
@ -57,7 +57,7 @@ install_rtl8192cu()
|
|||
#cp blacklist*.conf $SDCARD/etc/modprobe.d/
|
||||
}
|
||||
|
||||
if [[ $BRANCH == default && $ARCHITECTURE == arm ]]; then
|
||||
if [[ $BRANCH == default && $ARCHITECTURE == arm && $INSTALL_HEADERS == yes ]]; then
|
||||
display_alert "Installing additional driver" "RT8192" "info"
|
||||
install_rtl8192cu
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue