From: Tracey Dent Date: Sat, 2 Oct 2010 16:38:05 +0000 (-0400) Subject: Staging: usbip: Makefile: cleaned up Makefile cflag lines X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=6236709aceac4f7ceab3b3ec65bf94c584287fef;p=deliverable%2Flinux.git Staging: usbip: Makefile: cleaned up Makefile cflag lines Changed to use the proper ccflags-y option Signed-off-by: Tracey Dent Acked-by: Sam Ravnborg Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/usbip/Makefile b/drivers/staging/usbip/Makefile index 6f2916b1807a..10307f8a8259 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 +