Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9bf69a26 authored by Pierre Ossman's avatar Pierre Ossman
Browse files

cb710: handle DEBUG define in Makefile



Signed-off-by: default avatarPierre Ossman <pierre@ossman.eu>
parent 10eb4f90
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
ifeq ($(CONFIG_CB710_DEBUG),y)
	EXTRA_CFLAGS		+= -DDEBUG
endif

obj-$(CONFIG_CB710_CORE)	+= cb710.o

cb710-y				:= core.o sgbuf2.o
+0 −4
Original line number Diff line number Diff line
@@ -10,10 +10,6 @@
#ifndef LINUX_CB710_DRIVER_H
#define LINUX_CB710_DRIVER_H

#ifdef CONFIG_CB710_DEBUG
#define DEBUG
#endif

/* verify assumptions on platform_device framework */
#define CONFIG_CB710_DEBUG_ASSUMPTIONS