From nobody Thu Apr 9 15:01:26 2026 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0D53D1F181F; Sun, 8 Mar 2026 16:47:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772988477; cv=none; b=oXHc2tI0iKy4Ib5El91Y2EOb0pPdCC1VsTjG/8p/kvO2OBvv8nmul64nFziZzLdBb8unMlpefbd7z0RJBvH178JQ38N7mFATv3D6PymOmhmGP/ho1PEP9xZea3Bs0lQVyALUAdm0Mf/gtVTSedk+l5wP737P4nnnGdxq6Yle3Uk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772988477; c=relaxed/simple; bh=NLRoj6PYnUohHgMLrwHD5pw1FErBux++2C3H00JHpGw=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=CeXj5+HW3nXiSlQx3L0R3pqVw3iXSyruQsHi6a0wF4ZuCq5gQ48HWG5Oqe7SmZDhlR9Ec1CqKfF7giEzYHL4ATVLe/VpMimTINz4Bni7ikDcbbvg1lIteujOfDXjflCoGCoW9SQ0QYymwHfgH5FGd7r+38AfHYK2/+ZttG2U/tU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 59DAD1C01; Sun, 8 Mar 2026 09:47:49 -0700 (PDT) Received: from e132581.arm.com (e132581.arm.com [10.1.196.87]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 974063F694; Sun, 8 Mar 2026 09:47:47 -0700 (PDT) From: Leo Yan Date: Sun, 08 Mar 2026 16:46:15 +0000 Subject: [PATCH v3 10/30] tools build: Append extra cflags for feature 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-Transfer-Encoding: quoted-printable Message-Id: <20260308-tools_build_fix_zero_init-v3-10-6477808123b7@arm.com> References: <20260308-tools_build_fix_zero_init-v3-0-6477808123b7@arm.com> In-Reply-To: <20260308-tools_build_fix_zero_init-v3-0-6477808123b7@arm.com> To: Arnaldo Carvalho de Melo , Ian Rogers , Namhyung Kim , James Clark , Kees Cook , Quentin Monnet , Nathan Chancellor , Nicolas Schier , Nick Desaulniers , Bill Wendling , Justin Stitt , Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Martin KaFai Lau , Eduard Zingerman , Song Liu , Yonghong Song , John Fastabend , KP Singh , Stanislav Fomichev , Hao Luo , Jiri Olsa , "Rafael J. Wysocki" , Daniel Lezcano , Zhang Rui , Lukasz Luba , Peter Zijlstra , Ingo Molnar , Mark Rutland , Alexander Shishkin , Adrian Hunter , Masami Hiramatsu , William Breathitt Gray , Barry Song , Qinxin Xia , Bartosz Golaszewski , Kent Gibson , "K. Y. Srinivasan" , Haiyang Zhang , Wei Liu , Dexuan Cui , Long Li , Jonathan Cameron , David Lechner , =?utf-8?q?Nuno_S=C3=A1?= , Andy Shevchenko , Andrew Morton , Willy Tarreau , =?utf-8?q?Thomas_Wei=C3=9Fschuh?= , Josh Poimboeuf , Robert Moore , Len Brown , Srinivas Pandruvada , Tejun Heo , David Vernet , Andrea Righi , Changwoo Min , Mark Brown , Steven Rostedt , Gabriele Monaco , Shuah Khan , Jiri Kosina , Benjamin Tissoires Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev, bpf@vger.kernel.org, linux-perf-users@vger.kernel.org, Leo Yan X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1772988384; l=760; i=leo.yan@arm.com; s=20250604; h=from:subject:message-id; bh=NLRoj6PYnUohHgMLrwHD5pw1FErBux++2C3H00JHpGw=; b=v5y/M1eqiBrNNow3Aq7FwQ7aBpkmphGeA584hwokJLvy+pZyUnv8d//uwOEh1PanKDVYL7agA +eJpZ8AWIPVADa2JIJLmDEukRk7gVPvr0xRuB9cDAZRnkW4BApElGOm X-Developer-Key: i=leo.yan@arm.com; a=ed25519; pk=k4BaDbvkCXzBFA7Nw184KHGP5thju8lKqJYIrOWxDhI= Append EXTRA_CFLAGS to CFLAGS so that additional flags can be applied to the feature build. Signed-off-by: Leo Yan --- tools/build/feature/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/build/feature/Makefile b/tools/build/feature/Makefile index 1fbcb3ce74d2173072748a417fc63bd9a5b13888..103d8b71e7a4e8d0979242cfc95= c1c0b946222b5 100644 --- a/tools/build/feature/Makefile +++ b/tools/build/feature/Makefile @@ -1,6 +1,8 @@ # SPDX-License-Identifier: GPL-2.0 include ../../scripts/Makefile.include =20 +CFLAGS +=3D $(EXTRA_CFLAGS) + FILES=3D \ test-all.bin \ test-backtrace.bin \ --=20 2.34.1