From 8e776bf5aeb10583c85adace687a2beb9fa01add Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Fri, 24 Oct 2014 00:16:48 +0000 Subject: [PATCH] netlogic: fix modular USB build Signed-off-by: Florian Fainelli SVN-Revision: 43039 --- .../netlogic/patches-3.14/001-modular_usb.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 target/linux/netlogic/patches-3.14/001-modular_usb.patch 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 000000000000..c6c647393dfb --- /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 -- 2.30.2