Skip to contentSkip to conversation

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

DISCUSSION Jonathan Cameron 2 participants 4 messages Sep 18, 2010 – Sep 19, 2010

lore
Share & tools
lore
#0 lore raw

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?

Jonathan

#1 lore raw
Quoted 11 lines · Jonathan Cameron

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

?

#2 lore raw
Quoted 10 lines · Russell King - ARM Linux
Quoted 9 lines · Jonathan Cameron

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)" < $< > $@
Quoted 8 lines
Quoted 2 lines

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.

#3 lore raw
Quoted 14 lines · Jonathan Cameron
Quoted 13 lines · Russell King - ARM Linux
Quoted 11 lines · Jonathan Cameron

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?

Quoted 6 lines
Quoted 5 lines

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.