Re: [PATCH 2/2] Makefile: "make kernelrelease" should show the correct full kernel version

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxx>

Brice

--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux