I think I have found the source of this. linux/drivers/media/video/omap3isp/Makefile contains this: ifdef CONFIG_VIDEO_OMAP3_DEBUG EXTRA_CFLAGS += -DDEBUG endif but this module is not turned on,nor is the _DEBUG setting for it. % grep OMAP3 media_build/v4l/.config # CONFIG_VIDEO_OMAP3_DEBUG is not set # CONFIG_VIDEO_OMAP3 is not set % grep OMAP3 media_build/v4l/.myconfig CONFIG_VIDEO_OMAP3_DEBUG := n CONFIG_VIDEO_OMAP3 := n nonetheless: % grep DDEBUG media_build/v4l/.imon.o.cmd ... -fconserve-stack -Idrivers/media/dvb/dvb-core -Idrivers/media/dvb/dvb-usb -Idrivers/media/dvb/frontends -Idrivers/media/dvb/dvb-core -Idrivers/media/video -Idrivers/media/common/tuners -Idrivers/media/dvb/dvb-core -Idrivers/media/dvb/frontends -Idrivers/media/video -Idrivers/media/common/tuners -Idrivers/media/dvb/dvb-core -Idrivers/media/dvb/frontends -DDEBUG -Isound -Idrivers/staging/cxd2099/ -g ... Commenting out the three lines above in the omap3isp/Makefile gets rid of the -DDEBUG in the .cmd files. It seems to be the only Makefile that sets -DDEBUG in this way. Not sure what the real remedy is here. -- 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