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" @false -- 1.7.3.1
maximilian attems
2011-Mar-29 14:00 UTC
[klibc] [PATCH] Remove .config directory dependency
On Thu, 10 Mar 2011, Greg Thelen wrote:> 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(-) >thank you applied and pushed. -- maks