From 4f575cdcf669879141ff8173187c57d1356da3eb Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Thu, 11 Apr 2013 10:10:20 +0200 Subject: Kernel: build fix for the 3.8.4 kernel when USB drivers are built as modules. --- source.local/k/k.SlackBuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3