]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
selftests/bpf: Add CFLAGS per source file and runner
authorCupertino Miranda <cupertino.miranda@oracle.com>
Tue, 7 May 2024 12:22:19 +0000 (13:22 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 4 Oct 2024 14:29:15 +0000 (16:29 +0200)
commit97e4a3ba9de74d0bbd29a5d2922e69f68fe7f441
tree7528b07af342481546d8b0a62a3da17fc980fa54
parent5d99839bfe1c6ebc7f927f363fea6cdbedc831cb
selftests/bpf: Add CFLAGS per source file and runner

[ Upstream commit 207cf6e649ee551ab3bdb1cfe1b2848e6a4337a5 ]

This patch adds support to specify CFLAGS per source file and per test
runner.

Signed-off-by: Cupertino Miranda <cupertino.miranda@oracle.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Yonghong Song <yonghong.song@linux.dev>
Link: https://lore.kernel.org/bpf/20240507122220.207820-2-cupertino.miranda@oracle.com
Stable-dep-of: 3ece93a4087b ("selftests/bpf: Fix wrong binary in Makefile log output")
Signed-off-by: Sasha Levin <sashal@kernel.org>
tools/testing/selftests/bpf/Makefile