From 413e6f5593a8e76d34cf5338a642265da52561ce Mon Sep 17 00:00:00 2001 From: sridhar Date: Fri, 10 May 2024 16:04:32 -0700 Subject: [PATCH] Temporary build fix --- felix/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/felix/Makefile b/felix/Makefile index 5edf0432c81..922544fc0b3 100644 --- a/felix/Makefile +++ b/felix/Makefile @@ -156,7 +156,9 @@ bin/calico-felix: bin/calico-felix-$(ARCH) ln -f bin/calico-felix-$(ARCH) bin/calico-felix libbpf: $(LIBBPF_A) -$(LIBBPF_A): $(shell find bpf-gpl/include/libbpf -type f ! -name "*.a") +#TODO - Need to investigate further on this optimization +#$(LIBBPF_A): $(shell find bpf-gpl/include/libbpf -type f ! -name "*.a") +$(LIBBPF_A): mkdir -p bpf-gpl/include/libbpf/src/$(ARCH) $(MAKE) register ARCH=$(ARCH) $(DOCKER_RUN) $(CALICO_BUILD) sh -c "make -j 16 -C bpf-gpl/include/libbpf/src BUILD_STATIC_ONLY=1 OBJDIR=$(ARCH)"