From: Nicolas Kaiser <nikai@nikai.net>
Date: Sun, 27 Jun 2010 15:27:51 +0000 (+0200)
Subject: USB: drivers/usb/Makefile: conditionally descend to 'early'
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f9ff70c25a7779cf6e2b0ff4aecf9c9b28eefae6;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git

USB: drivers/usb/Makefile: conditionally descend to 'early'

Don't descend to the EARLY_PRINTK_DBGP directory
unless it is actually used.

Signed-off-by: Nicolas Kaiser <nikai@nikai.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---

diff --git a/drivers/usb/Makefile b/drivers/usb/Makefile
index 80b4008c89b..239f050efa3 100644
--- a/drivers/usb/Makefile
+++ b/drivers/usb/Makefile
@@ -41,7 +41,7 @@ obj-$(CONFIG_USB_MICROTEK)	+= image/
 obj-$(CONFIG_USB_SERIAL)	+= serial/
 
 obj-$(CONFIG_USB)		+= misc/
-obj-y				+= early/
+obj-$(CONFIG_EARLY_PRINTK_DBGP)	+= early/
 
 obj-$(CONFIG_USB_ATM)		+= atm/
 obj-$(CONFIG_USB_SPEEDTOUCH)	+= atm/