Skip to content

Commit

Permalink
Temporary build fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sridhartigera committed May 10, 2024
1 parent 5932acf commit 413e6f5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion felix/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)"
Expand Down

0 comments on commit 413e6f5

Please sign in to comment.