Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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

authored by

Eduard Zingerman and committed by
Andrii Nakryiko
dff8470b e2f07911

+1 -1
+1 -1
samples/bpf/Makefile
··· 123 123 always-y += hbm_out_kern.o 124 124 always-y += hbm_edt_kern.o 125 125 126 - TPROGS_CFLAGS = $(TPROGS_USER_CFLAGS) 126 + COMMON_CFLAGS = $(TPROGS_USER_CFLAGS) 127 127 TPROGS_LDFLAGS = $(TPROGS_USER_LDFLAGS) 128 128 129 129 ifeq ($(ARCH), arm)