summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTracey Dent <tdent48227@gmail.com>2010-10-02 12:38:05 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2010-10-05 11:56:40 -0700
commit6236709aceac4f7ceab3b3ec65bf94c584287fef (patch)
tree4094e3364e8bbf48232016bfb0245619a29db92a
parent54e2c96ed5009a08e490a2a8b1ed2d322305a2da (diff)
downloadop-kernel-dev-6236709aceac4f7ceab3b3ec65bf94c584287fef.zip
op-kernel-dev-6236709aceac4f7ceab3b3ec65bf94c584287fef.tar.gz
Staging: usbip: Makefile: cleaned up Makefile cflag lines
Changed to use the proper ccflags-y option Signed-off-by: Tracey Dent <tdent48227@gmail.com> Acked-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r--drivers/staging/usbip/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/staging/usbip/Makefile b/drivers/staging/usbip/Makefile
index 6f2916b..10307f8 100644
--- a/drivers/staging/usbip/Makefile
+++ b/drivers/staging/usbip/Makefile
@@ -7,6 +7,5 @@ vhci-hcd-objs := vhci_sysfs.o vhci_tx.o vhci_rx.o vhci_hcd.o
obj-$(CONFIG_USB_IP_HOST) += usbip.o
usbip-objs := stub_dev.o stub_main.o stub_rx.o stub_tx.o
-ifeq ($(CONFIG_USB_IP_DEBUG_ENABLE),y)
- EXTRA_CFLAGS += -DDEBUG
-endif
+ccflags-$(CONFIG_USB_IP_DEBUG_ENABLE) := -DDEBUG
+
OpenPOWER on IntegriCloud