From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id kGorEV6h4GVtJgEAe85BDQ:P1 (envelope-from ) for ; Thu, 29 Feb 2024 16:23:10 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id kGorEV6h4GVtJgEAe85BDQ (envelope-from ) for ; Thu, 29 Feb 2024 16:23:10 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=foundationdevices.com header.s=google header.b=XoGkri4w; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1709220190; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=nGaEWohkJKsiDn26XxzfyrRm3DHHf3dRP9xNIuceCkY=; b=jkmSbCo8XPzGdoq4aft9IWn2x8gNRQBHKvKu75f8WF9amrWu+LmYtUznOhPWCD1gieFffs Sixa5ARQvEz3ITu6764N7HKwe5ulK4p8q8Yn6v2zxlmkhBk2MQZa00ke0KtvTYbGWWkMlM Nr0zRxW13L8fTw9V6rF9KQqzeHxEUZvtDJ8LCtUV4WVwmyrTrXrEnIeg6An+JROq9budCB K1OBr1yy5RdMc9mNi1ZMsJ2o8bChV04VzkLV0Mdb7J/l2IeLIY5qqGG4JcRrTBMCoFARKI LG1nhsS1xAMm77dHc8ZHTuV7R2oiiAqnfff/QaoV5WKA1yXHW7eDxWAqITt2gg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=foundationdevices.com header.s=google header.b=XoGkri4w; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1709220190; a=rsa-sha256; cv=none; b=ibL267UGh89KgZZ4gm0Jfep8cMRHxphjvO3x2w5GahD8WpXV2YFqmc05kLAcSw/EjcIXui dg7px4aC6gegKkwSr/FC+opmybq+MmbUFYljdO8WAp5Hfk8wD8jzb8tHJs++AUqgtivrOf nYMETKXnbFJzXG2ncviR5fMCmavM/fZrJOG2flpLCCjtgRddubQTGbki3JxRH/A7q1JDuN KH5Ed1X2XMy9SWzT5RXGCF+w2hCzz+A7AJmcH28Ktnw7bK3x1JlcGbNqQHkLFzvmaE2LJX rurq+DSuiVqWSlnYks5acW63egF1EIMRKMAlhsa1rH9ySY1U8UUgjYw77uotiQ== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 13CF06B65E for ; Thu, 29 Feb 2024 16:23:10 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rfiF8-00072t-19; Thu, 29 Feb 2024 10:22:42 -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 1rfiF3-0006ye-Qj for guix-patches@gnu.org; Thu, 29 Feb 2024 10:22:38 -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 1rfiF2-0004WN-RP; Thu, 29 Feb 2024 10:22:36 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rfiFU-0004hE-0b; Thu, 29 Feb 2024 10:23:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69476] [PATCH 5/8] gnu: ath9k-htc-firmware: Use xtensa-ath9k-elf. Resent-From: Jean-Pierre De Jesus DIAZ Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, ludo@gnu.org, vagrant@debian.org, guix-patches@gnu.org Resent-Date: Thu, 29 Feb 2024 15:23:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69476 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69476@debbugs.gnu.org Cc: Jean-Pierre De Jesus DIAZ , Efraim Flashner , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Vagrant Cascadian X-Debbugs-Original-Xcc: Efraim Flashner , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Vagrant Cascadian Received: via spool by 69476-submit@debbugs.gnu.org id=B69476.170922016617977 (code B ref 69476); Thu, 29 Feb 2024 15:23:03 +0000 Received: (at 69476) by debbugs.gnu.org; 29 Feb 2024 15:22:46 +0000 Received: from localhost ([127.0.0.1]:35031 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rfiFB-0004fs-V2 for submit@debbugs.gnu.org; Thu, 29 Feb 2024 10:22:46 -0500 Received: from mail-wm1-f47.google.com ([209.85.128.47]:60681) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rfiEz-0004eJ-Vz for 69476@debbugs.gnu.org; Thu, 29 Feb 2024 10:22:34 -0500 Received: by mail-wm1-f47.google.com with SMTP id 5b1f17b1804b1-412a14299a4so7993465e9.1 for <69476@debbugs.gnu.org>; Thu, 29 Feb 2024 07:22:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foundationdevices.com; s=google; t=1709220061; x=1709824861; 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=nGaEWohkJKsiDn26XxzfyrRm3DHHf3dRP9xNIuceCkY=; b=XoGkri4wd3WCJjdRCX72Fy2IA/3XRGel3U9+dy7O8KL3Lrrb1tK+R52H4Aoci11oJV cq+CNGH/RMG3YLa256tDZhtav3NY20ggqocZ9qnS6cpJcPKivcsifp3vcJvAFfRTSO4t 9LPQ9bLQiOFDFt6wXkYhOKhKqc4pazrzxOJVl9AwRUcwsD7gJr7V4BKS4FCKLFAzjnWT 37DtFYmVXk6bKPBuHKtyHc9edhHc4P755saXV/FsmKsFVUdFrrwsBvwHjQepbLBoAdVe dL7iCdD2tamSG0dTnq0xz8gFDFsaP4zBVyTIpiB++ebPTWnEqevoM03htlNJDxMmaUjK 9E9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709220061; x=1709824861; 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=nGaEWohkJKsiDn26XxzfyrRm3DHHf3dRP9xNIuceCkY=; b=Gozlupf/B1T0SwjbumKbxlsSNCGuZYVyUbdbMWjOFtY0cE24Ev0Kad9VIaAGtlFEQv qtLQTgutaILEmB6TapZBRlWU2zyTzt0AVVW2xYdupj8mUjXtAYtTG79HbhISXILm4XYb TjB6F1IVV8q3Rx28KVaY9b6u5CVKOpr3dXkLDRKZ318c7a6cK9rX0Cad0y86v0U6oF7W ChYTPHrSiQhna1uui3NblZnCpWyxlrPA+y3co8gLXuxVyvX9BLZQbwe8jTv6FDiZhE32 cAJm4AKDaT7qImLRJtiS0M7nufgi9UysFCGDoFBY1/9Mi5jhcjfhJKFEn7xHtgIebC3N opkQ== X-Gm-Message-State: AOJu0YzC0+uKLR5OO0AdyMQ70kF2BDXrK7Tfx9kZdNdQacfl7E61Aj4/ b+f56ZJNcBMGn8b+YSWQJTSuyDgZCb3GAFI+f//bK5eLq4/9kIHmdXw9Ap3nwPACYS4Kk+WxYUJ FTqI= X-Google-Smtp-Source: AGHT+IFxNtGzPVg5TtWcJfYKr/l1oobrAzIt/gkPRXJvRUwFwJuy31T3OSQrnzViVqP/zqjGmQ2Sbg== X-Received: by 2002:a05:600c:a08:b0:412:ae57:379 with SMTP id z8-20020a05600c0a0800b00412ae570379mr1934935wmp.17.1709220060807; Thu, 29 Feb 2024 07:21:00 -0800 (PST) Received: from jeandudey.home ([89.131.29.87]) by smtp.gmail.com with ESMTPSA id n6-20020a05600c4f8600b0041273fc463csm5584786wmq.17.2024.02.29.07.21.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Feb 2024 07:21:00 -0800 (PST) Date: Thu, 29 Feb 2024 16:20:47 +0100 Message-ID: <51b3861e69dc0ab0e52692448e9280a364a3397e.1709219325.git.jean@foundationdevices.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 From: Jean-Pierre De Jesus DIAZ via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -4.41 X-Spam-Score: -4.41 X-Migadu-Queue-Id: 13CF06B65E X-TUID: ScAYj3kkWxv1 * gnu/packages/firmware.scm (ath9k-htc-firmware): Use the xtensa-ath9k-elf target for the cross toolchain. Change-Id: Ic1a7c4088312290a86a508f371f4f0e784e301a5 --- gnu/packages/cross-base.scm | 4 ++-- gnu/packages/firmware.scm | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/gnu/packages/cross-base.scm b/gnu/packages/cross-base.scm index 2d79e0acf6..93383089e5 100644 --- a/gnu/packages/cross-base.scm +++ b/gnu/packages/cross-base.scm @@ -118,8 +118,8 @@ (define* (cross-binutils* target #:key (binutils binutils)) ;; target libs, not native libs, so this is safe. `(cons "--with-sysroot=/" ,flags))))))) - ;; For Xtensa, apply Qualcomm's patch. - (cross (cond ((string-prefix? "xtensa-" target) + ;; For xtensa-ath9k-elf, apply Qualcomm's patch. + (cross (cond ((string=? target "xtensa-ath9k-elf") (package-with-patches binutils (search-patches "ath9k-htc-firmware-binutils.patch"))) diff --git a/gnu/packages/firmware.scm b/gnu/packages/firmware.scm index da7835a95d..6993925387 100644 --- a/gnu/packages/firmware.scm +++ b/gnu/packages/firmware.scm @@ -121,7 +121,7 @@ (define-public ath9k-htc-firmware ;; 'configure' is a simple script that runs 'cmake' with ;; the right flags. (substitute* "configure" - (("^TARGET.*$") "TARGET=xtensa-elf\n") + (("^TARGET.*$") "TARGET=xtensa-ath9k-elf\n") (("^TOOLCHAIN=.*$") (string-append "TOOLCHAIN=" (assoc-ref (or native-inputs inputs) "cross-gcc") @@ -140,12 +140,12 @@ (define-public ath9k-htc-firmware ;; The firmware is cross-compiled using a "bare bones" compiler (no libc.) ;; Use our own tool chain for that. (native-inputs `(("cross-gcc" ,(cross-gcc - "xtensa-elf" + "xtensa-ath9k-elf" #:xbinutils (cross-binutils - "xtensa-elf" + "xtensa-ath9k-elf" #:binutils binutils-2.33))) ("cross-binutils" ,(cross-binutils - "xtensa-elf" + "xtensa-ath9k-elf" #:binutils binutils-2.33)) ("cmake" ,cmake-minimal) ("perl" ,perl))) -- 2.41.0