make[2]: *** No rule to make target `.config', needed by `arch/arm/boot/compressed/vmlinux.lds'

Russell King - ARM Linux linux at arm.linux.org.uk
Sun Sep 19 11:19:27 EDT 2010


On Sun, Sep 19, 2010 at 02:49:24PM +0100, Jonathan Cameron wrote:
> On 09/19/10 11:34, Russell King - ARM Linux wrote:
> > On Sat, Sep 18, 2010 at 04:24:57PM +0100, Jonathan Cameron wrote:
> >> when using the environment variable KCONFIG_CONFIG
> >>
> >> This comes from:
> >>
> >> arch/arm/boot/compressed/Makefile
> >>
> >> $(obj)/vmlinux.lds: $(obj)/vmlinux.lds.in arch/arm/boot/Makefile .config
> >> 	@sed "$(SEDFLAGS)" < $< > $@
> >>
> >> My immediate feel is that changing that .config for $(KCONFIG_CONFIG)
> >> ought to fix the problem. Is this right or am I missing something?
> > 
> > Does this work with relative pathnames, such as:
> > 
> > make ARCH=arm KCONFIG_CONFIG=my_config zImage
> > 
> > ?
> It seems to.

Ok, we'll go with your suggested solution - which I've committed.  Thanks.



More information about the linux-arm-kernel mailing list