aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2014-10-24 00:16:48 +0000
committerFlorian Fainelli <florian@openwrt.org>2014-10-24 00:16:48 +0000
commit765e350fdc442ecbeb96ff005b79689939643f4a (patch)
treebf05883ad2be6a22fbee0cce2e47f66a8d101102 /target
parentf5346a990261726863598190f148ec3abd30381e (diff)
downloadupstream-765e350fdc442ecbeb96ff005b79689939643f4a.tar.gz
upstream-765e350fdc442ecbeb96ff005b79689939643f4a.tar.bz2
upstream-765e350fdc442ecbeb96ff005b79689939643f4a.zip
netlogic: fix modular USB build
Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43039 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r--target/linux/netlogic/patches-3.14/001-modular_usb.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/target/linux/netlogic/patches-3.14/001-modular_usb.patch b/target/linux/netlogic/patches-3.14/001-modular_usb.patch
new file mode 100644
index 0000000000..c6c647393d
--- /dev/null
+++ b/target/linux/netlogic/patches-3.14/001-modular_usb.patch
@@ -0,0 +1,13 @@
+Index: linux-3.14.16/arch/mips/netlogic/xlp/Makefile
+===================================================================
+--- linux-3.14.16.orig/arch/mips/netlogic/xlp/Makefile 2014-08-07 16:50:59.000000000 -0700
++++ linux-3.14.16/arch/mips/netlogic/xlp/Makefile 2014-09-25 12:12:29.853539866 -0700
+@@ -1,4 +1,6 @@
+ obj-y += setup.o nlm_hal.o cop2-ex.o dt.o
+ obj-$(CONFIG_SMP) += wakeup.o
+-obj-$(CONFIG_USB) += usb-init.o
+-obj-$(CONFIG_USB) += usb-init-xlp2.o
++ifdef CONFIG_USB
++obj-y += usb-init.o
++obj-y += usb-init-xlp2.o
++endif