public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* Bug: media_build always compiles with '-DDEBUG'
@ 2011-06-18 20:46 Oliver Endriss
  2011-06-18 21:11 ` Helmut Auer
  0 siblings, 1 reply; 10+ messages in thread
From: Oliver Endriss @ 2011-06-18 20:46 UTC (permalink / raw)
  To: linux-media; +Cc: Mauro Carvalho Chehab, Helmut Auer

Hi Mauro,

bug is triggered by the code block

  ifdef CONFIG_VIDEO_OMAP3_DEBUG
  EXTRA_CFLAGS += -DDEBUG
  endif

from media/video/omap3isp/Makefile,
which is part of Makefile.media.

The expression above is always true, as make_myconfig.pl initialises
boolean options to 'n', i.e. 
  CONFIG_VIDEO_OMAP3_DEBUG := n

As a result, EXTRA_CFLAGS contains -DDEBUG.

So either make_myconfig.pl or omap3isp/Makefile must be fixed.

Replacing
    ifdef CONFIG_VIDEO_OMAP3_DEBUG
by
    ifeq ($(CONFIG_VIDEO_OMAP3_DEBUG),y)
would do the trick.

Thanks to Helmut Auer for reporting the bug.

CU
Oliver

----------------------------------------------------------------
VDR Remote Plugin 0.4.0: http://www.escape-edv.de/endriss/vdr/
4 MByte Mod: http://www.escape-edv.de/endriss/dvb-mem-mod/
Full-TS Mod: http://www.escape-edv.de/endriss/dvb-full-ts-mod/
----------------------------------------------------------------

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2011-06-20 14:24 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-18 20:46 Bug: media_build always compiles with '-DDEBUG' Oliver Endriss
2011-06-18 21:11 ` Helmut Auer
2011-06-18 21:38   ` Oliver Endriss
2011-06-19  5:00     ` Helmut Auer
2011-06-19 11:47       ` Mauro Carvalho Chehab
2011-06-20 12:35         ` Laurent Pinchart
2011-06-20 12:50           ` Mauro Carvalho Chehab
2011-06-20 13:38             ` Laurent Pinchart
2011-06-20 14:05               ` Mauro Carvalho Chehab
2011-06-20 14:25                 ` Laurent Pinchart

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox