From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E3FF8158083 for ; Sat, 7 Sep 2024 18:23:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2ED63E2A14; Sat, 7 Sep 2024 18:23:33 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 10450E2A14 for ; Sat, 7 Sep 2024 18:23:33 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2E075342FA6 for ; Sat, 7 Sep 2024 18:23:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C3FF014CA for ; Sat, 7 Sep 2024 18:23:30 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1725733383.19cfcafa125dbbe389fc84e4f89cc851df6baa46.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/ X-VCS-Repository: repo/gentoo X-VCS-Files: eclass/kernel-build.eclass X-VCS-Directories: eclass/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 19cfcafa125dbbe389fc84e4f89cc851df6baa46 X-VCS-Branch: master Date: Sat, 7 Sep 2024 18:23:30 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 627035e9-f189-42c9-8f37-6b72e4da3979 X-Archives-Hash: eb5d39f93dc5429ca45b912ea624d969 commit: 19cfcafa125dbbe389fc84e4f89cc851df6baa46 Author: Sam James gentoo org> AuthorDate: Sat Sep 7 18:23:03 2024 +0000 Commit: Sam James gentoo org> CommitDate: Sat Sep 7 18:23:03 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19cfcafa kernel-build.eclass: localise 'target' Fixes: c3f4e3f788e2d5973ce49293fe20354b20576426 Signed-off-by: Sam James gentoo.org> eclass/kernel-build.eclass | 3 +++ 1 file changed, 3 insertions(+) diff --git a/eclass/kernel-build.eclass b/eclass/kernel-build.eclass index 93523629de41..ce87fd72acdd 100644 --- a/eclass/kernel-build.eclass +++ b/eclass/kernel-build.eclass @@ -302,6 +302,7 @@ kernel-build_src_compile() { targets+=( ctf ) fi + local target for target in "${targets[@]}" ; do emake O="${WORKDIR}"/build "${MAKEARGS[@]}" "${target}" done @@ -327,6 +328,7 @@ kernel-build_src_test() { strip_args="--strip-unneeded" fi + local target for target in "${targets[@]}" ; do emake O="${WORKDIR}"/build "${MAKEARGS[@]}" \ INSTALL_MOD_PATH="${T}" INSTALL_MOD_STRIP="${strip_args}" \ @@ -375,6 +377,7 @@ kernel-build_src_install() { ) fi + local target for target in "${targets[@]}" ; do emake O="${WORKDIR}"/build "${MAKEARGS[@]}" \ INSTALL_MOD_PATH="${ED}" INSTALL_MOD_STRIP="${strip_args}" \