From patchwork Mon Jun 28 03:01:06 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amerigo Wang X-Patchwork-Id: 108297 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.4/8.14.3) with ESMTP id o5S31eiG013639 for ; Mon, 28 Jun 2010 03:01:40 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754757Ab0F1DBQ (ORCPT ); Sun, 27 Jun 2010 23:01:16 -0400 Received: from mx1.redhat.com ([209.132.183.28]:31067 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755897Ab0F1DBP (ORCPT ); Sun, 27 Jun 2010 23:01:15 -0400 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o5S3180J025689 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 27 Jun 2010 23:01:08 -0400 Received: from localhost.localdomain (dhcp-65-141.nay.redhat.com [10.66.65.141]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o5S316Fo011497; Sun, 27 Jun 2010 23:01:06 -0400 Date: Sun, 27 Jun 2010 23:01:06 -0400 From: Amerigo Wang To: linux-kernel@vger.kernel.org Cc: linux-kbuild@vger.kernel.org, David Rientjes , Michal Marek , Amerigo Wang Message-Id: <20100628030516.5187.49089.sendpatchset@localhost.localdomain> In-Reply-To: <20100628030507.5187.95903.sendpatchset@localhost.localdomain> References: <20100628030507.5187.95903.sendpatchset@localhost.localdomain> Subject: [PATCH 2/2] Makefile: "make kernelrelease" should show the correct full kernel version X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12 Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Mon, 28 Jun 2010 03:01:40 +0000 (UTC) diff --git a/Makefile b/Makefile index 710f91c..2b517a1 100644 --- a/Makefile +++ b/Makefile @@ -414,7 +414,7 @@ endif no-dot-config-targets := clean mrproper distclean \ cscope TAGS tags help %docs check% \ include/linux/version.h headers_% \ - kernelrelease kernelversion + kernelversion config-targets := 0 mixed-targets := 0 @@ -1468,8 +1468,7 @@ checkstack: $(PERL) $(src)/scripts/checkstack.pl $(CHECKSTACK_ARCH) kernelrelease: - $(if $(wildcard include/config/kernel.release), $(Q)echo $(KERNELRELEASE), \ - $(error kernelrelease not valid - run 'make prepare' to update it)) + @echo $(kernelrelease) kernelversion: @echo $(KERNELVERSION)