From: Amerigo Wang Date: Fri, 20 Aug 2010 09:36:06 +0000 (-0400) Subject: makefile: not need to regenerate kernel.release file when make kernelrelease X-Git-Tag: v2.6.36-rc8~13^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7b8ea53d7f1865cd8f05dfb8f706a4ff5a72abcf;p=platform%2Fupstream%2Fkernel-adaptation-pc.git makefile: not need to regenerate kernel.release file when make kernelrelease Brice reported that 'kernelrelease' has a dependence on include/config/kernel.release, causes this file to be regenerated every time when invoke it. It doesn't have to. Reported-by: Brice Goglin Tested-by: Brice Goglin Signed-off-by: WANG Cong Signed-off-by: Michal Marek --- diff --git a/Makefile b/Makefile index f3bdff8..25da252 100644 --- a/Makefile +++ b/Makefile @@ -1408,8 +1408,8 @@ checkstack: $(OBJDUMP) -d vmlinux $$(find . -name '*.ko') | \ $(PERL) $(src)/scripts/checkstack.pl $(CHECKSTACK_ARCH) -kernelrelease: include/config/kernel.release - @echo $(KERNELRELEASE) +kernelrelease: + @echo "$(KERNELVERSION)$$($(CONFIG_SHELL) $(srctree)/scripts/setlocalversion $(srctree))" kernelversion: @echo $(KERNELVERSION)