X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=drivers%2Fbase%2FMakefile;h=5f51c3b4451e2a3c39fcefbc1c5c0a97e810d78b;hb=72e58063d63c5f0a7bf65312f1e3a5ed9bb5c2ff;hp=c12c7f2f2a6f62fc552b6ab33e184c5de4b90f9d;hpb=aa021baa3295fa6e3f367d80f8955dd5176656eb;p=mv-sheeva.git diff --git a/drivers/base/Makefile b/drivers/base/Makefile index c12c7f2f2a6..5f51c3b4451 100644 --- a/drivers/base/Makefile +++ b/drivers/base/Makefile @@ -19,7 +19,5 @@ obj-$(CONFIG_MODULES) += module.o endif obj-$(CONFIG_SYS_HYPERVISOR) += hypervisor.o -ifeq ($(CONFIG_DEBUG_DRIVER),y) -EXTRA_CFLAGS += -DDEBUG -endif +ccflags-$(CONFIG_DEBUG_DRIVER) := -DDEBUG