]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
samples/bpf: Pass TPROGS_USER_CFLAGS to libbpf makefile
authorEduard Zingerman <eddyz87@gmail.com>
Wed, 4 Dec 2024 17:34:16 +0000 (09:34 -0800)
committerAndrii Nakryiko <andrii@kernel.org>
Thu, 5 Dec 2024 18:28:19 +0000 (10:28 -0800)
commitdff8470b99da095e1baafd01bdc21d9da05de821
tree689340d2f4098650ea9cb48aa58ca1be00d01eb7
parente2f0791124a1b6ca8d570110cbd487969d9d41ef
samples/bpf: Pass TPROGS_USER_CFLAGS to libbpf makefile

Before commit [1], the value of a variable TPROGS_USER_CFLAGS was
passed to libbpf make command as a part of EXTRA_CFLAGS.
This commit makes sure that the value of TPROGS_USER_CFLAGS is still
passed to libbpf make command, in order to maintain backwards build
scripts compatibility.

[1] commit 5a6ea7022ff4 ("samples/bpf: Remove unnecessary -I flags from libbpf EXTRA_CFLAGS")

Fixes: 5a6ea7022ff4 ("samples/bpf: Remove unnecessary -I flags from libbpf EXTRA_CFLAGS")
Suggested-by: Viktor Malik <vmalik@redhat.com>
Signed-off-by: Eduard Zingerman <eddyz87@gmail.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Viktor Malik <vmalik@redhat.com>
Link: https://lore.kernel.org/bpf/20241204173416.142240-1-eddyz87@gmail.com
samples/bpf/Makefile