From patchwork Tue Apr 9 17:17:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Calvin Owens X-Patchwork-Id: 13622989 Received: from mail-pl1-f181.google.com (mail-pl1-f181.google.com [209.85.214.181]) (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 8CFB415359E for ; Tue, 9 Apr 2024 17:17:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.181 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712683042; cv=none; b=rR75bdpwKCVAo8nX6Jjw/btRXqaYPT+txRs3lVWLBQarVDeLSGs+Kt07qunQE+p1z0ncC828vDOZiw3DmdWeTdaSCKon8OJL2zAcesOuZetbUZI97ZHEhFALSyjfTolrDreB5ewIoB8yxtjHLRg7Lt34zc7Cj1sWTOA1qPTFbtU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712683042; c=relaxed/simple; bh=QUmjtRQ2Et38MbBGo7SgDrlnT4lS7whKAE/1mSeqn7k=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=U+n+vIjlrdWte4S1p4Qprt1gF/z6fumYGI+/0FlwgSk6faGKgVlMnFYEbY9P7Ek46u7vQ04+kM7fLXYHrA30eWUvA4KP1pUjSJlW+wnDrZ7XWFi9USGDL+BtQdAB2LQNWuk6hdA4aVMOtfIe/hMKH58l4zJ2/nBuwmEM5ZmUoJU= 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=CpybkHqn; arc=none smtp.client-ip=209.85.214.181 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=wbinvd.org header.i=@wbinvd.org header.b="CpybkHqn" Received: by mail-pl1-f181.google.com with SMTP id d9443c01a7336-1e21db621caso11808025ad.0 for ; Tue, 09 Apr 2024 10:17:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wbinvd.org; s=wbinvd; t=1712683040; x=1713287840; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=MvWmgyGI74zEDpvJ6ZWhvtxho6GjxC+GaSfStZau1r0=; b=CpybkHqnh+cMqcx4v6ztcUXzzFFU/oH57MHSPturYFcr9ZgiO2ztTM1S8RAe97c+yA bLLttT3sdMBb7h+qttaqhCOoLM0YZvm9sIU0ELI7kBjbtjZFSXEJmccgXX+Z+0hvNYYS VRzDfIOiRNNaBCVcYIEaGb8odVQ5yI17LFQaA77KPIwi1JYxQ5DKjgO67n8k95Xo7Ri0 NzusjRMIeiyIZGLqDmhfANL95dwSbkLp2RnRden79EqcpGe9avZQAH90CXG2Oi9tFB6S oY19pdNYnfPXA8SfYTW1QiVhO/qeXQjIXx5QMaerw3M3R2l0Ff4io/OvLtcaBgYxMWhp nqVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712683040; x=1713287840; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=MvWmgyGI74zEDpvJ6ZWhvtxho6GjxC+GaSfStZau1r0=; b=CeXQwNfFI5wBtRsLN6rggDA317era2eJmGdRFOl4aarTCy8Xy84nRD6nLfd3srJgxr n/f2hcsjHEs46YDspaltJEzjwgtwE7Qf3x7V6ilMsqZhalv2AMWDCHgGjzvg5WqrtbJ+ BYLlLiymoiepPNxz9vUyGSHCYFqaCY4CU7DKC5ObUAHLNA8jY+nVLE2HP+eI0Ih1PPvf XTfh9NwECqpWbm0lZSy3nSCK2HEe3tH5yARJNd0WYTmXrk1D7ka3hWNdZiJhbm79vbPC 9YSooQTqaMfZy18asFKUhb97wtWcT4CEWCKygvudam8cwHtes7H8vCj4f6wxl9djiCFZ pw/A== X-Forwarded-Encrypted: i=1; AJvYcCW3H7C0q56VgQ4MPwf25Bxcp10sJbB0WhD0vd4HdpZKn6EIVakC89jPQfW7E/hJbE7fhnt2um0veKFXe2n9LWnUKf5AwDD+u10MhyQg X-Gm-Message-State: AOJu0YyTMKUOUN0EVhXS1enfjsavyrPoxzopmGmZUbTswA2sr2l6b5ke +++hYrgD/RMuADuEgHDX0kQw19oAcDJCQUWpze2+n8SCeKuRkME7OaVzZM1saUM= X-Google-Smtp-Source: AGHT+IE+uWo/1PSkL4b+IFqjLiW//0Gj4eATqmnyNsUpcV6hTkTwemkJbc/CTdypoZCRvxXrA0yNRw== X-Received: by 2002:a17:903:41cf:b0:1dd:667f:bf1b with SMTP id u15-20020a17090341cf00b001dd667fbf1bmr467291ple.0.1712683039836; Tue, 09 Apr 2024 10:17:19 -0700 (PDT) Received: from mozart.vkv.me ([192.184.165.229]) by smtp.gmail.com with ESMTPSA id ja21-20020a170902efd500b001e0da190a07sm9134048plb.167.2024.04.09.10.17.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Apr 2024 10:17:19 -0700 (PDT) From: Calvin Owens To: linux-kernel@vger.kernel.org Cc: Masahiro Yamada , Nathan Chancellor , Nicolas Schier , linux-kbuild@vger.kernel.org Subject: [PATCH] kbuild: buildtar: Add arm support Date: Tue, 9 Apr 2024 10:17:07 -0700 Message-Id: X-Mailer: git-send-email 2.39.2 Precedence: bulk X-Mailing-List: linux-kbuild@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Make 'make tar-pkg' and friends work on 32-bit arm. 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..0939f9eabbf2 100755 --- a/scripts/package/buildtar +++ b/scripts/package/buildtar @@ -101,6 +101,9 @@ case "${ARCH}" in fi done ;; + arm) + [ -f "${objtree}/arch/arm/boot/zImage" ] && cp -v -- "${objtree}/arch/arm/boot/zImage" "${tmpdir}/boot/vmlinuz-${KERNELRELEASE}" + ;; *) [ -f "${KBUILD_IMAGE}" ] && cp -v -- "${KBUILD_IMAGE}" "${tmpdir}/boot/vmlinux-kbuild-${KERNELRELEASE}" echo "" >&2