From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: [PATCH] gnu: Update sunxi-tools to 1.4 Date: Wed, 26 Oct 2016 23:21:32 +0200 Message-ID: <20161026212132.11164-1-dannym@scratchpost.org> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50833) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bzVdn-0005pF-MP for guix-devel@gnu.org; Wed, 26 Oct 2016 17:21:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bzVdk-0008Ja-IG for guix-devel@gnu.org; Wed, 26 Oct 2016 17:21:43 -0400 Received: from dd1012.kasserver.com ([85.13.128.8]:48098) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1bzVdk-0008Ih-Bj for guix-devel@gnu.org; Wed, 26 Oct 2016 17:21:40 -0400 List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org --- gnu/packages/admin.scm | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index d9b08ef..856d946 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -1859,14 +1859,14 @@ Kerberos and Heimdal and FAST is supported with recent MIT Kerberos.") (define-public sunxi-tools (package (name "sunxi-tools") - (version "1.3") + (version "1.4") (source (origin (method url-fetch) (uri (string-append "https://github.com/linux-sunxi/" "sunxi-tools/archive/v" version ".tar.gz")) (sha256 - (base32 "1iazm28gws1i8sls3gxwc5p108n56ags287zmh1rpvkn2k1az81a")) + (base32 "1hx72cx4wj9w4c6niq0b6l3c5aj259g392z6y3a5f7fnybanq3pq")) (modules '((guix build utils))) (snippet ;; Remove binaries contained in the tarball which are only for the @@ -1882,8 +1882,9 @@ Kerberos and Heimdal and FAST is supported with recent MIT Kerberos.") `(#:tests? #f ; no tests exist #:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")) - "TARGET_TOOLS=sunxi-pio sunxi-meminfo" - "CROSS_COMPILE=") + "TARGET_TOOLS=sunxi-pio sunxi-meminfo sunxi-script_extractor" + "CROSS_COMPILE=" + "CC=gcc") #:phases (modify-phases %standard-phases (add-after 'unpack 'fix-Makefile @@ -1892,7 +1893,7 @@ Kerberos and Heimdal and FAST is supported with recent MIT Kerberos.") ;; Upstream adds Makefile and config.h as dependencies ;; of all their tools which means $^ would pass them to gcc. ;; gcc won't know what to do with a Makefile. - (("-o [$][@] [$]\\^") "-o $@ meminfo.c")) + (("-o [$][@] [$]\\^") "-o $@ $<")) #t)) (delete 'configure)))) (home-page "https://github.com/linux-sunxi/sunxi-tools") @@ -1910,5 +1911,8 @@ bootloader) parameters. @item @command{sunxi-pio}: Sets GPIO parameters and oscillates a GPIO in order to be able to find it. @item @command{sunxi-meminfo}: Prints memory bus settings. +@item @command{sunxi-nand-image-builder}: Prepares raw NAND images. +@item @command{sunxi-script_extractor}: Extracts script.bin from a +running Linux 3.4 kernel. @end enumerate") (license license:gpl2+)))