Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp127295lqp; Fri, 12 Apr 2024 12:26:30 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWYJ1Ezhm2BIVPRg5OZzFAaPsqx0+e+l8bw0ChLCXoccLoky5qKHEEIluEw7O4cPPxXWGO3k4+KtEFlb5otQ6eM5ur0e77Vl8m3yWiKsw== X-Google-Smtp-Source: AGHT+IF/rvZD3QqkQ2NjeDKvo9Zt3Bfm3gKWaFceLmWdI8QFYgkjbWdjpzQZaTEN0D5IhQaeTn5h X-Received: by 2002:a17:906:2932:b0:a51:969e:ba0 with SMTP id v18-20020a170906293200b00a51969e0ba0mr2255464ejd.44.1712949990061; Fri, 12 Apr 2024 12:26:30 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712949990; cv=pass; d=google.com; s=arc-20160816; b=G64UR4c9VGxNYQ4OwaNkVhkC+GfQIAWEdsUQipRkcc5pR8Zc5TDY4NMgsE8FuLndHX khEaPVaz5Q0RWiEx0rr/YtzQcScT+2bMqavSzH6GuGBxvAeIXPf1O1d4tYKeuBCZxJ/3 2vkB0Ty9dkJzOrF94MtPlOtDB0RRUuDrdhJZS6kUdOgk4TwuvG4X8rsszYmXupFa6WL/ UtjpGgts241/vTn9THtM+Pn2RcFvrjHH4YaT6uP7Ny9VOEGvhUCGPfawcepIJdSCBfYY FIet3BBoRp7wMHskDkdlPhB8715UhQ3drGolQ8k1YpkLbua5pRVtghGlie7EHos6TpnQ CSXg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Ps+47mM0+7BT6EQDFy0dqt8BKlRMH8/BPpupOPVP7+M=; fh=hpSiWDV2TATYBFp+C7SaBqs5cvg1YGMSr5mgbWRIU0s=; b=wDnsJYy35kGZ6ON8qy5g1A2IbhZQYx4KiPwLF/V/ZgN/cCYrHfARzRwjANiukhIDHY xhbrebMJgGYYvolsyu6Ty0aGO0n1h2qmrbZ/6kZEfbuzZlL2OShkVL/Ysmg0E5wfIEXI /3eD+E35LSEtR8FQVX9GOKngbtYSK812XZQdOrkct8NT7R/ulHc2fSdu5JGn9i4vQ6A5 dFutvfKunHgSyeBPQYdsVEuR9FVPxKFu5HK5NwegM4ooFgGIMEM7iT4lSfMx6b4lKXIm Y7UQM5TsRbDJh94ESHxVufbSV5jR4WNur1n76eWleoIYIej8EMjyClzbeIu6Fz7ocy33 rj/Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@wbinvd.org header.s=wbinvd header.b="ZSsuj/Ge"; arc=pass (i=1 spf=pass spfdomain=wbinvd.org dkim=pass dkdomain=wbinvd.org); spf=pass (google.com: domain of linux-kernel+bounces-143251-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-143251-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id k19-20020a1709061c1300b00a5227c90830si1487430ejg.17.2024.04.12.12.26.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Apr 2024 12:26:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-143251-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@wbinvd.org header.s=wbinvd header.b="ZSsuj/Ge"; arc=pass (i=1 spf=pass spfdomain=wbinvd.org dkim=pass dkdomain=wbinvd.org); spf=pass (google.com: domain of linux-kernel+bounces-143251-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-143251-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 09BFE1F23EF5 for ; Fri, 12 Apr 2024 19:26:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5BD7D14F9F2; Fri, 12 Apr 2024 19:26:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=wbinvd.org header.i=@wbinvd.org header.b="ZSsuj/Ge" Received: from mail-pl1-f173.google.com (mail-pl1-f173.google.com [209.85.214.173]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7AC60142E78 for ; Fri, 12 Apr 2024 19:26:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.173 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712949971; cv=none; b=cwecX46rw744kLX3utqcnCUQRFvlp5PjQ6cLd1hrMzl/SfxAar/hJTUcwLIeJrrMRoRX4TghN8gbSlMafvAUo7cJcykx7J6cUycfmv+bkd5dkmUunzfNOPXyJULAf1qm3ccdu8Rr7FujrQzciCX/GG7JVuDCfWFDIZ3700LkJqQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712949971; c=relaxed/simple; bh=eYKYUnIbe4yAEfAMfbPFL8XotCy/MMB0Onhvc8YTN6Y=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=rLoYTYbsjSofCkirZXLJrmqdH+VmAAAPyXMGJGwV5j3mEU5bkQSmS6bPMxGuFlQcGC9S2zF0sa38YK1g4Ugn+J8aEjZUpG7NPFUYa8xzqNBUQ1nakTBvSkJy7pfqB/f6DVjqt7+32IOAiZAYUZWMUkZNBpvgQTp+FdUvMWa+5Yo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=wbinvd.org; spf=pass smtp.mailfrom=wbinvd.org; dkim=pass (2048-bit key) header.d=wbinvd.org header.i=@wbinvd.org header.b=ZSsuj/Ge; arc=none smtp.client-ip=209.85.214.173 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=wbinvd.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=wbinvd.org Received: by mail-pl1-f173.google.com with SMTP id d9443c01a7336-1e45f339708so2993955ad.0 for ; Fri, 12 Apr 2024 12:26:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wbinvd.org; s=wbinvd; t=1712949969; x=1713554769; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=Ps+47mM0+7BT6EQDFy0dqt8BKlRMH8/BPpupOPVP7+M=; b=ZSsuj/GeJT+mSNm9ULpVIlRwJA2GsZLFZkDGha+YFexJ/Hj8KE7Gy8hXnImGdbCmj/ seyzU61yCv3HIXPo5oEeXkhWrw/knpCGG8RtJbqU5+H122bTUyn5wHnVKzKCVHKxgpd5 +K3G0m4GvFu1LJ/+UkCueQTYECRCuVHtwOfupTk5Suo8i4L2v91Wgoqb/cgpeepQ+TiC 83CM6TvpkJUtYWKwYSM0UoW60yPbtuJYjNrigKd2rM5+b2ME2ne9SNrovE81aIod9gcC 3iol3dvHZfGojlj1V40Gx3DjzsIZi5h4jbFtIUANBpHR0iclCIQVI1yLcV3SU02NuQhM njlw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712949969; x=1713554769; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=Ps+47mM0+7BT6EQDFy0dqt8BKlRMH8/BPpupOPVP7+M=; b=uXVoj1YPDaIG9KX2ZLuJsKIMUm2BpGkDRKHnYoJ3OqW0egU3Mu1b4E9IsKIEk62gST JGhxvfYEDjxIwSEnV60Ano+1c9SDyvrr1U289qFBlkhG0XO/FoBXb8eGgVRqvHWNB2G+ bT9i1Wl4/HhDPD0oTuAWl+kxTs8YvEi3vTFLcpwL7BalwjXrSPXF+i/T9b927JYuRAoP Sxjut/eFZiGEGHHPVkVI8vHKEFmR5hu8LfpXW/gzYwaUJi47R09lYN0UyBvj4d3RxuOA 99tz0YzERmAioYOOeV4KtFdMETENOBV5UM/16nNaWgb7WqIYJkt++Zc7KZ8pRIPpoeo5 sp6w== X-Gm-Message-State: AOJu0Ywp5cEv3c/zfsa0xg3wD2iiKwAbV/9e4xcKBRymXCnpEZ1e5L8D JD8IqLNRPsY9mQhoF45RwWMAfpKZtdesNJGmlnZUyQI8PX7CW5hhHpzCZRszcTc= X-Received: by 2002:a17:902:ea0e:b0:1e4:397b:492c with SMTP id s14-20020a170902ea0e00b001e4397b492cmr3861161plg.4.1712949968738; Fri, 12 Apr 2024 12:26:08 -0700 (PDT) Received: from mozart.vkv.me ([192.184.167.85]) by smtp.gmail.com with ESMTPSA id b4-20020a170902d30400b001e530aab374sm3336728plc.194.2024.04.12.12.26.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Apr 2024 12:26:08 -0700 (PDT) Date: Fri, 12 Apr 2024 12:26:06 -0700 From: Calvin Owens To: Nathan Chancellor Cc: linux-kernel@vger.kernel.org, Masahiro Yamada , Nicolas Schier , linux-kbuild@vger.kernel.org Subject: [PATCH v2] kbuild: buildtar: Add explicit 32-bit arm support Message-ID: References: <20240410170450.GA1828262@dev-arch.thelio-3990X> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Implement buildtar for 32-bit arm, so the zImage (or xipimage) appears at boot/vmlinuz-$foo, rather than at boot/vmlinux-kbuild-$foo, matching the structure of the tar-pkg on arm64 and other architectures. Link: https://lore.kernel.org/all/e7c14a0d329e28bdcda21376b54a43c85a4aaf3f.1712682861.git.calvin@wbinvd.org/ Signed-off-by: Calvin Owens --- scripts/package/buildtar | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/package/buildtar b/scripts/package/buildtar index 72c91a1b832f..86035c990aec 100755 --- a/scripts/package/buildtar +++ b/scripts/package/buildtar @@ -101,6 +101,9 @@ case "${ARCH}" in fi done ;; + arm) + [ -f "${KBUILD_IMAGE}" ] && cp -v -- "${KBUILD_IMAGE}" "${tmpdir}/boot/vmlinuz-${KERNELRELEASE}" + ;; *) [ -f "${KBUILD_IMAGE}" ] && cp -v -- "${KBUILD_IMAGE}" "${tmpdir}/boot/vmlinux-kbuild-${KERNELRELEASE}" echo "" >&2 -- 2.39.2