mirror of
https://github.com/armbian/build.git
synced 2026-01-06 09:58:46 -08:00
Install out-of-tree drivers only if headers are available
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user