[klibc] [PATCH] Remove .config directory dependency

Greg Thelen gthelen at google.com
Thu Mar 10 11:32:15 PST 2011

Previously klibc $(objtree)/.config depended on the kernel output
directory.  This would cause 'defconfig has changed, please remove or
edit .config' build errors if $(KLIBCKERNELOBJ) directory was modified.
This directory dependency is a false dependency that does not indicate
that the target, $(objtree)/.config, needs to be regenerated.

Signed-off-by: Greg Thelen <gthelen at google.com>
 Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Makefile b/Makefile
index 8e4dbb0..d2cd577 100644
--- a/Makefile
+++ b/Makefile
@@ -91,7 +91,7 @@ klibc := -f $(srctree)/scripts/Kbuild.klibc obj
 .PHONY: all klcc klibc
 all: klcc klibc
-$(objtree)/.config: $(srctree)/defconfig $(KLIBCKERNELOBJ)
+$(objtree)/.config: $(srctree)/defconfig
 	@echo "defconfig has changed, please remove or edit .config"

More information about the klibc mailing list