usb: change to new flag variable
[platform/adaptation/renesas_rcar/renesas_kernel.git] / drivers / usb / core / Makefile
index ec16e60..17c8e2d 100644 (file)
@@ -16,6 +16,4 @@ endif
 
 obj-$(CONFIG_USB)      += usbcore.o
 
-ifeq ($(CONFIG_USB_DEBUG),y)
-EXTRA_CFLAGS += -DDEBUG
-endif
+ccflags-$(CONFIG_USB_DEBUG) := -DDEBUG