ARM: Fix build error when using KCONFIG_CONFIG
authorRussell King <[email protected]>
Sun, 19 Sep 2010 15:16:58 +0000 (16:16 +0100)
committerRussell King <[email protected]>
Sun, 19 Sep 2010 15:18:37 +0000 (16:18 +0100)
Jonathan Cameron reports that when using the environment
variable KCONFIG_CONFIG, he encounters this error:

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

Reported-by: Jonathan Cameron <[email protected]>
Signed-off-by: Russell King <[email protected]>
arch/arm/boot/compressed/Makefile

index b23f6bc46cfa1dd1029bb53dc7009c3c790f1088..65a7c1c588a94ab4623be0ddfe02a691fb2954c6 100644 (file)
@@ -116,5 +116,5 @@ CFLAGS_font.o := -Dstatic=
 $(obj)/font.c: $(FONTC)
        $(call cmd,shipped)
 
-$(obj)/vmlinux.lds: $(obj)/vmlinux.lds.in arch/arm/boot/Makefile .config
+$(obj)/vmlinux.lds: $(obj)/vmlinux.lds.in arch/arm/boot/Makefile $(KCONFIG_CONFIG)
        @sed "$(SEDFLAGS)" < $< > $@