X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fusb%2Fmusb%2FMakefile;h=b6af0d687a73657b27fc87fd8c57153fc7f2021d;hb=d26acd92fa990764b72608a68224f46fac377032;hp=88eb67de08aeed097a0285026e1a08a30fec77aa;hpb=7db9cbb3748c46b80e5c99ffa91945b8dd4ed5e5;p=linux-2.6 diff --git a/drivers/usb/musb/Makefile b/drivers/usb/musb/Makefile index 88eb67de08..b6af0d687a 100644 --- a/drivers/usb/musb/Makefile +++ b/drivers/usb/musb/Makefile @@ -64,23 +64,6 @@ endif # Debugging -MUSB_DEBUG:=$(CONFIG_USB_MUSB_LOGLEVEL) - -ifeq ("$(strip $(MUSB_DEBUG))","") - ifdef CONFIG_USB_DEBUG - MUSB_DEBUG:=1 - else - MUSB_DEBUG:=0 - endif +ifeq ($(CONFIG_USB_MUSB_DEBUG),y) + EXTRA_CFLAGS += -DDEBUG endif - -ifneq ($(MUSB_DEBUG),0) - EXTRA_CFLAGS += -DDEBUG - - ifeq ($(CONFIG_PROC_FS),y) - musb_hdrc-objs += musb_procfs.o - endif - -endif - -EXTRA_CFLAGS += -DMUSB_DEBUG=$(MUSB_DEBUG)