diff options
-rwxr-xr-x | source.local/k/k.SlackBuild | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source.local/k/k.SlackBuild b/source.local/k/k.SlackBuild index c97bc75..cd2ce41 100755 --- a/source.local/k/k.SlackBuild +++ b/source.local/k/k.SlackBuild @@ -130,6 +130,9 @@ rm -rf $SRC/linux-${KVER} find $CWD/sources/firmware -type f \ -exec tar -C $SRC/linux-${KVER}/firmware -xvf {} \; + # Build fix for compiling Tegra USB support as modules: + sed -i '/obj-$(CONFIG_USB_COMMON).*+= phy\// a\obj-$(CONFIG_USB_EHCI_TEGRA) += phy\/' drivers/usb/Makefile || exit 1 + chown -R root:root . echo "Fixing permissions... takes a long time in a VM or on ARM..." find . -perm 666 -exec chmod 644 {} \; @@ -179,7 +182,6 @@ if [ -n "$PATCHDIR" ]; then done fi - # End of preparations if echo "$*" | grep -qw -- --prep ; then exit 0 |