lkml.org 
[lkml]   [2014]   [Mar]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v2] [media] v4l: omap4iss: Add DEBUG compiler flag
From
Date
On Thu, 2014-03-06 at 02:52 +0100, Laurent Pinchart wrote:

Hi again Laurent

> I've thought about that, but it would require iss.h to be included before all
> other headers. I've also thought about creating an iss-debug.h header to be
> included first just to #define DEBUG, but decided to go for handling the OMAP4
> ISS debug option in the Makefile instead. If that's ugly and discouraged as
> reported by Mauro I can try to come up with something else.

Unless debugging logging statements are in system level static inlines,
adding #define DEBUG to iss.h should otherwise produce the same output
as -DDEBUG in a Makefile.



\
 
 \ /
  Last update: 2014-03-06 05:01    [W:0.054 / U:0.112 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site