[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4C6BA524.2040308@inria.fr>
Date: Wed, 18 Aug 2010 11:17:24 +0200
From: Brice Goglin <Brice.Goglin@...ia.fr>
To: Cong Wang <amwang@...hat.com>
CC: linux-kernel@...r.kernel.org, linux-kbuild@...r.kernel.org,
David Rientjes <rientjes@...gle.com>,
Michal Marek <mmarek@...e.cz>
Subject: Re: [PATCH 2/2] Makefile: "make kernelrelease" should show the correct
full kernel version
Le 18/08/2010 11:20, Cong Wang a écrit :
> 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)
>
It works, thanks!
Tested-by: Brice Goglin <Brice.Goglin@...ia.fr>
Brice
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists