From b8801f559db82b5752f32dbc4a6eb575dfdbc9b6 Mon Sep 17 00:00:00 2001 From: Johannes Berg Date: Mon, 15 Apr 2013 13:37:21 +0200 Subject: [PATCH] backports: fix rndis-wlan usb dependencies I included that file always, but then when the copy-list doesn't contain the drivers/net/usb/ directory it would fail to build ... fix that by including that directory only conditionally when USB_NET_RNDIS_WLAN is selected. Signed-off-by: Johannes Berg --- backport/Makefile.kernel | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backport/Makefile.kernel b/backport/Makefile.kernel index 2f80cc8e6fc7..5f4655971f16 100644 --- a/backport/Makefile.kernel +++ b/backport/Makefile.kernel @@ -29,7 +29,7 @@ obj-$(CPTCFG_BT) += drivers/bluetooth/ obj-$(CPTCFG_SSB) += drivers/ssb/ obj-$(CPTCFG_BCMA) += drivers/bcma/ obj-$(CPTCFG_ETHERNET) += drivers/net/ethernet/ -obj-m += drivers/net/usb/ +obj-$(CTPCFG_USB_NET_RNDIS_WLAN) += drivers/net/usb/ obj-$(CPTCFG_DRM) += drivers/gpu/drm/ obj-$(CPTCFG_NFC) += net/nfc/ obj-$(CPTCFG_NFC) += drivers/nfc/ -- 2.30.2