Re: [PATCH 1/5] CSI camera interface driver for MX1

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

 



On Fri, Mar 27, 2009 at 08:33:27AM +0100, Holger Schurig wrote:
> > Sparse is another tool which can be used while building the
> > kernel to increase the build time checking, but it can be
> > quite noisy, so please only look at stuff which pops up for
> > your specific area.
> 
> To get rid of some of the warnings, you can analyze only the 
> parts of the source that you're working on. You just need sparse 
> in your PATH and issue:
> 
> $ make SUBDIRS=arch/arm/mach-mx2 C=2
> 
> 
> Unfortunately, the arm tree is a bit different to mainline linux, 
> because
> 
> $ make SUBDIRS=arch/arm C=2
> arch/arm/Makefile:31: *** Recursive variable `KBUILD_CFLAGS' 
> references itself (eventually).  Stop.
> make: *** [_module_arch/arm] Error 2

Line 31 is the KBUILD_CFLAGS line of:

ifeq ($(CONFIG_FRAME_POINTER),y)
KBUILD_CFLAGS   +=-fno-omit-frame-pointer -mapcs -mno-sched-prolog
endif

which is _not_ a recursive definition.  Either your make is broken or
you have local changes to that line.
--
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