Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp190386lqp; Fri, 12 Apr 2024 14:49:04 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWSsjjYrA+xmoL9+ONXbQ7TR0xGxxxbe0zS0ci15SO81yAH/8790v3SlOBNJVhVLMG9RhwBtDrC+63o8iLiVunEEwpiCxJmsEd8zPHH1g== X-Google-Smtp-Source: AGHT+IE/yN28zrNjt4FoFIaouq6KjL5cXsASPEGUfmIoMiRblfo4Z3bnWrb/OrBt5ze+cN69TClj X-Received: by 2002:a17:90b:4b8e:b0:2a5:3f9a:97ae with SMTP id lr14-20020a17090b4b8e00b002a53f9a97aemr3732992pjb.38.1712958544620; Fri, 12 Apr 2024 14:49:04 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712958544; cv=pass; d=google.com; s=arc-20160816; b=gUKLC8kf4+7c7jbrnqeFxajnBkATThyXPLBG8wFZgwp3cmAVLn3eVBkZDXa/7yt1XI THmlld2Uz4jDl+J0gqdOLqqGxpWyLZvA1zzYBO6L7q3GAcU2uRKF8b00G5I3ZrmK5wEa /dybB7Vuap2WK76Oncye76qyIFOx2sguQgDMqmJXWpnptE9dwtOIIwr8pC5Fwxfq/AH4 kZ9iIaZW1UslCzbh3CdcWTzv3CpqrUeeh8EjK6Z47UVTbqBAATYDftY8zpbH4dJVTEN7 HlCDxyeZyuRdXJamR5W94IReursT9Yq2Dqw+WRWR76e6PTk+Ip0zGf2t45Vs1epmvktQ lJZA== 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=Zdb+Rc1g/hZdHaU19uGnSr79eRkW3B7Lr7Xuc4xr7TM=; fh=igJjmraqtxX2t3cwsqcTUibfnRkvNU563EsQ5014kE8=; b=z/qGnzchJc8uiWFl5lWl/DF4pY5XUtppD3ZodFsEVQ6jNzS96j4cdycv0dEKIvEenn vHpUt+22+jUbnttFzqJSPIU8PqXRn/4u60WL8Jv5abOWO5GvFzJ/GTGf+bw33qXDhqqW Mt5BtPEAOvMSzAlF6dVrCAFSuhMn0vdxAPaNByLw393zKUBgeBocgpYWqTeyVJuG2EKm H8JA8BByGbBULucTxv8mJb4ZzWkpa5ZUx475EMC68ozDmfiSq025sCYgyujFofPBdpVW 5+aTxOnDv3+wnW1DN/5fJhGsnqM93TshELl0x3CZTc6ybQw1+K/fr8qWehcAgXIgS9Fa rbqg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=OLb+yyKw; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-143396-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-143396-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id w15-20020a17090a780f00b002a297239055si4074471pjk.71.2024.04.12.14.49.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Apr 2024 14:49:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-143396-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=OLb+yyKw; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-143396-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-143396-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 499A52832FB for ; Fri, 12 Apr 2024 21:49:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DF5C5152181; Fri, 12 Apr 2024 21:48:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="OLb+yyKw" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1239E8827; Fri, 12 Apr 2024 21:48:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712958539; cv=none; b=ilvwMRo3Glq8xdkWxGhic00qtVbdYDqkQiZPJF6JQrio6SVFDm8TKrWEhtVTkFK3JdhklVV43uhCovcq/Lq0tphJZevTtCvx/CxZmEujMRDua3ZpZnYYocXVIBK9FxRdbEeqmuS5ins0ULvi4zHKH5BC9YO4h3KqXEg6XzJ/l+k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712958539; c=relaxed/simple; bh=wHsovwQIflk5tJi490gtZReLoIdMMEYMNvR7V66iTm8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=sVCMcXxAEnK6KyVTWIM2UsLF2B9iylJXDRu3JINSHrFwWB00VLRl9d2GLsFOebynDEnC4g8egc+DF9hwa9F53y1GWhNAdktx05e5zs6ojekX/Ky8dVRftSoHSjNbPrbZN2V7HLGa5O1VJpC5pZbQk6rojcxmduulbP5eI6v2MFc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=OLb+yyKw; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2D3BAC113CC; Fri, 12 Apr 2024 21:48:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712958538; bh=wHsovwQIflk5tJi490gtZReLoIdMMEYMNvR7V66iTm8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=OLb+yyKwPePC3z9VXOdajD4lIxwC7N4wtaT6zv65DspgaJXB9I1lqqapqFZ3nRQzi fyAu3iQqKDv1Phwj0VFbQHvayAQm8n5kCEe2zItttjtNhpNE8NCw7CgjsoxPAwA2uJ S6loTX0mK1UluRc1hbWinZokr6Vxb/wXTYPy+vXZaMzKVHkmlpvX3ndKiuWVgfwwcJ wUF3tExqq08Ot4ETmMCcODwxMMrOUr5eOl4oJHwCYJzO8RQ5aZI+XY5UmLhi/9v9Wa QRRefRSMcr2Beh2Wvc9oz5Q+pnrnK/4uvHtI/oNzMa8kHSc2yUkU0dV/68yK8A9mPM Ev3X9n4lBg2cA== Date: Fri, 12 Apr 2024 14:48:56 -0700 From: Nathan Chancellor To: Calvin Owens Cc: linux-kernel@vger.kernel.org, Masahiro Yamada , Nicolas Schier , linux-kbuild@vger.kernel.org Subject: Re: [PATCH v2] kbuild: buildtar: Add explicit 32-bit arm support Message-ID: <20240412214856.GF2252629@dev-arch.thelio-3990X> 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=us-ascii Content-Disposition: inline In-Reply-To: On Fri, Apr 12, 2024 at 12:26:06PM -0700, Calvin Owens wrote: > 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 Looks good to me, especially with the added justification of matching other architectures. Reviewed-by: Nathan Chancellor > --- > 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 >