make[2]: *** No rule to make target `.config', needed by `arch/arm/boot/compressed/vmlinux.lds'
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
Quoted 11 lines · Jonathan Cameron
when using the environment variable
KCONFIG_CONFIGThis 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
?
Quoted 10 lines · Russell King - ARM Linux
Quoted 9 lines · Jonathan Cameron
when using the environment variable
KCONFIG_CONFIGThis 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.
Quoted 14 lines · Jonathan Cameron
Quoted 13 lines · Russell King - ARM Linux
Quoted 11 lines · Jonathan Cameron
when using the environment variable
KCONFIG_CONFIGThis 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.