diff options
author | Amerigo Wang <amwang@redhat.com> | 2010-08-20 05:36:06 -0400 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2010-08-20 13:55:56 +0200 |
commit | 7b8ea53d7f1865cd8f05dfb8f706a4ff5a72abcf (patch) | |
tree | 3cdfb27bac033c9612cebb0e71dccff3af54d6d9 /Makefile | |
parent | e981b060767b3c4ac9393ad8d2558d648e35dfcb (diff) | |
download | kernel_samsung_tuna-7b8ea53d7f1865cd8f05dfb8f706a4ff5a72abcf.zip kernel_samsung_tuna-7b8ea53d7f1865cd8f05dfb8f706a4ff5a72abcf.tar.gz kernel_samsung_tuna-7b8ea53d7f1865cd8f05dfb8f706a4ff5a72abcf.tar.bz2 |
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 <Brice.Goglin@inria.fr>
Tested-by: Brice Goglin <Brice.Goglin@inria.fr>
Signed-off-by: WANG Cong <amwang@redhat.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) |