Bug: media_build always compiles with '-DDEBUG'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/
----------------------------------------------------------------
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux