From da668eb03bbd4290d0acf7f6cea9edcf5de51692 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Tue, 2 Nov 2021 10:36:14 +0100 Subject: [PATCH] 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 --- package/kernel/bpf-headers/Makefile | 2 ++ 1 file changed, 2 insertions(+) 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 := \