From: Felix Fietkau Date: Tue, 2 Nov 2021 09:36:14 +0000 (+0100) Subject: bpf-headers: unset PKG_CONFIG_PATH X-Git-Tag: v22.03.0-rc1~1355 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=da668eb03bbd4290d0acf7f6cea9edcf5de51692;p=openwrt%2Fstaging%2Fhauke.git bpf-headers: unset PKG_CONFIG_PATH This fixes an issue where the kernel would pick up an incompatible target libyaml for building host tools Signed-off-by: Felix Fietkau --- diff --git a/package/kernel/bpf-headers/Makefile b/package/kernel/bpf-headers/Makefile index 5f5b89370d..df24bfa13f 100644 --- a/package/kernel/bpf-headers/Makefile +++ b/package/kernel/bpf-headers/Makefile @@ -41,6 +41,8 @@ define Package/bpf-headers HIDDEN:=1 endef +PKG_CONFIG_PATH:= + export HOST_EXTRACFLAGS=-I$(STAGING_DIR_HOST)/include KERNEL_MAKE := \