From patchwork Wed Mar 30 05:50:38 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vasant Hegde X-Patchwork-Id: 603237 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id 3qZcH72drCz9sBg for ; Wed, 30 Mar 2016 16:52:19 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 8D8D88C031; Wed, 30 Mar 2016 05:52:18 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id d30312XwCsG0; Wed, 30 Mar 2016 05:52:17 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 28F368BEB8; Wed, 30 Mar 2016 05:52:17 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 50B331C1EDF for ; Wed, 30 Mar 2016 05:52:16 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 49F0F8BEB8 for ; Wed, 30 Mar 2016 05:52:16 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5efbET1j4H1U for ; Wed, 30 Mar 2016 05:52:15 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from e23smtp02.au.ibm.com (e23smtp02.au.ibm.com [202.81.31.144]) by whitealder.osuosl.org (Postfix) with ESMTPS id 300198BAD4 for ; Wed, 30 Mar 2016 05:52:15 +0000 (UTC) Received: from localhost by e23smtp02.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 30 Mar 2016 15:52:02 +1000 Received: from d23dlp01.au.ibm.com (202.81.31.203) by e23smtp02.au.ibm.com (202.81.31.208) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Wed, 30 Mar 2016 15:52:02 +1000 X-IBM-Helo: d23dlp01.au.ibm.com X-IBM-MailFrom: hegdevasant@linux.vnet.ibm.com X-IBM-RcptTo: buildroot@buildroot.org Received: from d23relay08.au.ibm.com (d23relay08.au.ibm.com [9.185.71.33]) by d23dlp01.au.ibm.com (Postfix) with ESMTP id 81CD12CE8057 for ; Wed, 30 Mar 2016 16:51:41 +1100 (EST) Received: from d23av04.au.ibm.com (d23av04.au.ibm.com [9.190.235.139]) by d23relay08.au.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id u2U5pRxv21758110 for ; Wed, 30 Mar 2016 16:51:40 +1100 Received: from d23av04.au.ibm.com (localhost [127.0.0.1]) by d23av04.au.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id u2U5p35m014063 for ; Wed, 30 Mar 2016 16:51:03 +1100 Received: from hegdevasant.in.ibm.com (hegdevasant.in.ibm.com [9.124.35.231]) by d23av04.au.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id u2U5p2kK013395; Wed, 30 Mar 2016 16:51:02 +1100 From: Vasant Hegde To: buildroot@buildroot.org Date: Wed, 30 Mar 2016 11:20:38 +0530 Message-ID: <20160330054905.13012.58031.stgit@hegdevasant.in.ibm.com> User-Agent: StGit/0.17.1-dirty MIME-Version: 1.0 X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 16033005-0005-0000-0000-000007345A56 Cc: thomas.petazzoni@free-electrons.com Subject: [Buildroot] [PATCH v2] powerpc-utils: Bump powerpc-utils to v1.3.1 X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" This patch makes below changes to powerpc-utils package: - Update to latest upstream version (v1.3.1) - Update License (from CPL to GPLv2) - Update source link (from SF to github) - Disable librtas by default - Finally make necessary adjustment to compile the source (run autogen.sh before ./configure as we don't have configure in new tarball). RTAS: This package contains few tools (like nvram, ppc64_cpu, etc) which are not dependent on RTAS support. Traditionally we always had RTAS support (at least on IBM Power system). But now a days we do have environments like PowerNV host where we do not have RTAS support. Instead we use OPAL for runtime service [1]. Hence lets disable RTAS by default. If someone wants to build powerpc-utils with RTAS they can enable it. [1] https://github.com/open-power/skiboot.git Signed-off-by: Vasant Hegde --- Changes in v2: - Updated to v1.3.1 instead of v1.3.0 - Addressed Thomas review comments - Removed powerpc-utils.hash file -Vasant package/powerpc-utils/Config.in | 3 +-- package/powerpc-utils/powerpc-utils.hash | 3 --- package/powerpc-utils/powerpc-utils.mk | 9 +++++---- 3 files changed, 6 insertions(+), 9 deletions(-) delete mode 100644 package/powerpc-utils/powerpc-utils.hash diff --git a/package/powerpc-utils/Config.in b/package/powerpc-utils/Config.in index e18254c..4037c55 100644 --- a/package/powerpc-utils/Config.in +++ b/package/powerpc-utils/Config.in @@ -10,7 +10,7 @@ config BR2_PACKAGE_POWERPC_UTILS help System utilities for PowerPC machines. - http://sourceforge.net/projects/powerpc-utils/ + https://github.com/nfont/powerpc-utils if BR2_PACKAGE_POWERPC_UTILS @@ -18,7 +18,6 @@ config BR2_PACKAGE_POWERPC_UTILS_RTAS bool "RTAS support" select BR2_PACKAGE_LIBRTAS depends on BR2_TOOLCHAIN_USES_GLIBC - default y help Enable support for functions that require RTAS. diff --git a/package/powerpc-utils/powerpc-utils.hash b/package/powerpc-utils/powerpc-utils.hash deleted file mode 100644 index d02f16a..0000000 --- a/package/powerpc-utils/powerpc-utils.hash +++ /dev/null @@ -1,3 +0,0 @@ -# From http://sourceforge.net/projects/powerpc-utils/files/powerpc-utils/ -sha1 975c668e8eaedd5222a7870e82ce295d06dfe649 powerpc-utils-1.2.24.tar.gz -md5 f492a72f2d4522eba5d9b329c84b3ed3 powerpc-utils-1.2.24.tar.gz diff --git a/package/powerpc-utils/powerpc-utils.mk b/package/powerpc-utils/powerpc-utils.mk index ae4d662..3aa6c9b 100644 --- a/package/powerpc-utils/powerpc-utils.mk +++ b/package/powerpc-utils/powerpc-utils.mk @@ -4,11 +4,12 @@ # ################################################################################ -POWERPC_UTILS_VERSION = 1.2.24 -POWERPC_UTILS_SITE = http://downloads.sourceforge.net/project/powerpc-utils/powerpc-utils +POWERPC_UTILS_VERSION = v1.3.1 +POWERPC_UTILS_SITE = $(call github,nfont,powerpc-utils,$(POWERPC_UTILS_VERSION)) POWERPC_UTILS_DEPENDENCIES = zlib -POWERPC_UTILS_LICENSE = Common Public License Version 1.0 -POWERPC_UTILS_LICENSE_FILES = COPYRIGHT +POWERPC_UTILS_AUTORECONF = YES +POWERPC_UTILS_LICENSE = GPLv2 +POWERPC_UTILS_LICENSE_FILES = COPYING POWERPC_UTILS_CONF_ENV = \ ax_cv_check_cflags___fstack_protector_all=$(if $(BR2_TOOLCHAIN_HAS_SSP),yes,no)