From patchwork Fri Jan 19 13:54:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jean-Pierre De Jesus DIAZ X-Patchwork-Id: 59133 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id ED25427BBE2; Fri, 19 Jan 2024 13:56:55 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 57DC327BBE9 for ; Fri, 19 Jan 2024 13:56:55 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rQpM7-0003aj-A4; Fri, 19 Jan 2024 08:56:23 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rQpLp-0003Ru-Ah for guix-patches@gnu.org; Fri, 19 Jan 2024 08:56:07 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rQpLn-0007xh-OB for guix-patches@gnu.org; Fri, 19 Jan 2024 08:56:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rQpLo-0001wS-PB; Fri, 19 Jan 2024 08:56:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68355] [PATCH v2 7/9] gnu: make-crust-package: Use or1k-elf as target. Resent-From: Jean-Pierre De Jesus DIAZ Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, vagrant@debian.org, guix-patches@gnu.org Resent-Date: Fri, 19 Jan 2024 13:56:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68355 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68355@debbugs.gnu.org Cc: othacehe@gnu.org, Jean-Pierre De Jesus DIAZ , Efraim Flashner , Vagrant Cascadian X-Debbugs-Original-Xcc: Efraim Flashner , Vagrant Cascadian Received: via spool by 68355-submit@debbugs.gnu.org id=B68355.17056725407368 (code B ref 68355); Fri, 19 Jan 2024 13:56:04 +0000 Received: (at 68355) by debbugs.gnu.org; 19 Jan 2024 13:55:40 +0000 Received: from localhost ([127.0.0.1]:57881 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rQpLP-0001uf-Sr for submit@debbugs.gnu.org; Fri, 19 Jan 2024 08:55:40 -0500 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]:45185) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rQpLK-0001tp-Vq for 68355@debbugs.gnu.org; Fri, 19 Jan 2024 08:55:35 -0500 Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-40e86a9fc4bso9890295e9.2 for <68355@debbugs.gnu.org>; Fri, 19 Jan 2024 05:55:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foundationdevices.com; s=google; t=1705672527; x=1706277327; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=D/DO0qkxMu7/z0oA8v+GbJA1y4Jec/zVRHhYy44KRtM=; b=N7r2eKvH5m6QhAWun688IccduAnqhRx8PjyedIGVT3s6d2AoPzyqERPVMYL9KRVJvR wC1jk4p3OEEQJ3bUjrXgm83EvFNmPfUcuUCzriXsc+TCj7q++jfrkDWPQ5p01LvlfnB2 O6Nnsv1+c/bsnAeyC2k8bg773uzKhZ4xbn8dut7XeZ11sPc6xUgr4jXTKIn5unoyYhwN 35nEyv7d9OGqFMhgZO6d5yop0xqKM1ClNN1DQccQoF1FR0+ZGogJJIAPPk5KUuLUaOUN nGeexseWfqSbnFU8necTzc/p29AjohmiDmHXp3vx5qXdfh+wlZXHnprYkCsY0eVwF5MC IAvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705672527; x=1706277327; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=D/DO0qkxMu7/z0oA8v+GbJA1y4Jec/zVRHhYy44KRtM=; b=Q/0CNl4IiKQ9+ANQKzzb9/q1RQISRq0Y4nhWFo9hIM9GWKlEyFotnjlpdopiHaSkbO USeFMeLL2URlbVJub+lv09TDiOq2We4VZnSW8bQX9TO10GlZpLBAeEHWMrZ6QD4ALvxi ZNjwnQm/VoS5qgZ7RsRAZ/AJZK4ZBAkY7gDxiBnEVUNV4JzUXIVcJaVpccpkTEH2OuYz HpeHb8+7DLBLe9nPZQnJ3/d8rWemrURCrwJ4XLYeuBEaHSGD7PIG/2DuQ96Szh3HdLu7 pKNZQ/rTBZlBEfZWxK3L4vhU6eAv3JhfurHXnO9jH4G4XaXsralGbSJlfheqdX460m8q TlGg== X-Gm-Message-State: AOJu0Yzy/Rs50816MsvguAGcAyFIp+M+XF/CxHZH+delN2J3ugBjA7m7 QacUiaOZ7hDi+FCvv0w8sKRfj8XFpWubzOQmKU6e8/HciWqePTM7go1eIuA3ivcfsoyqzUhEPTz cqAo= X-Google-Smtp-Source: AGHT+IEtXExzU9ghEfh2C/LTW36NFljvMX8ZFU8C2g1YAdlhX+2iErZ8KH8+QAq6yXokKUJ3/8z0EQ== X-Received: by 2002:a1c:7514:0:b0:40e:70c2:d93f with SMTP id o20-20020a1c7514000000b0040e70c2d93fmr1415552wmc.121.1705672526784; Fri, 19 Jan 2024 05:55:26 -0800 (PST) Received: from jeandudey.home ([89.131.29.87]) by smtp.gmail.com with ESMTPSA id s8-20020a05600c45c800b0040e527602c8sm33314846wmo.9.2024.01.19.05.55.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Jan 2024 05:55:26 -0800 (PST) Date: Fri, 19 Jan 2024 14:54:46 +0100 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: <4e6b129a26d38305073c392c04707498a2ddfe69.1705672190.git.jean@foundationdevices.com> References: <4e6b129a26d38305073c392c04707498a2ddfe69.1705672190.git.jean@foundationdevices.com> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Jean-Pierre De Jesus DIAZ X-ACL-Warn: , Jean-Pierre De Jesus DIAZ via Guix-patches X-Patchwork-Original-From: Jean-Pierre De Jesus DIAZ via Guix-patches via From: Jean-Pierre De Jesus DIAZ Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/firmware.scm (make-crust-package): Use or1k-elf as the target. Change-Id: I6c8bf053527f1e12e35402f18cebf8e75557c788 --- gnu/packages/firmware.scm | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/gnu/packages/firmware.scm b/gnu/packages/firmware.scm index a2e3f785d5..129dd0dfdd 100644 --- a/gnu/packages/firmware.scm +++ b/gnu/packages/firmware.scm @@ -1217,13 +1217,13 @@ (define make-crust-package (build-system gnu-build-system) (arguments (list + #:target "or1k-elf" #:tests? #f ;no test suite - #:make-flags - #~(list "CROSS_COMPILE=or1k-elf-" - "V=1" - "HOSTAR=ar" - "HOSTCC=gcc" - "LEX=flex") + #:make-flags #~'("CROSS_COMPILE=or1k-elf-" + "V=1" + "HOSTAR=ar" + "HOSTCC=gcc" + "LEX=flex") #:phases #~(modify-phases %standard-phases (delete 'configure) @@ -1237,13 +1237,7 @@ (define make-crust-package (install-file file (string-append #$output "/libexec"))) (find-files "." "(scp\\.bin|\\.config)$"))))))) - ;; The firmware is cross-compiled using a "bare bones" compiler (no libc). - ;; Use our own tool chain for that. - (native-inputs - (list bison - (cross-gcc "or1k-elf") - (cross-binutils "or1k-elf") - flex)) + (native-inputs (list bison flex)) (home-page "https://github.com/crust-firmware/crust") (synopsis "Firmware for Allwinner sunxi SoCs") (description "Crust improves battery life and thermal performance by