Skip to content

Commit

Permalink
Update workflow and Makefile.
Browse files Browse the repository at this point in the history
  • Loading branch information
gamemann committed Feb 23, 2025
1 parent 816960b commit f5d9d3a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,10 @@ jobs:
run: sudo apt install -y llvm
- name: Install LibXDP Depedencies
run: sudo apt install -y libpcap-dev m4 gcc-multilib linux-tools-$(uname -r)
- name: Make and install LibXDP
- name: Build LibXDP.
run: make libxdp
- name: Install LibXDP.
run: sudo make libxdp_install
- name: Make project
run: LIBBPF_LIBXDP_STATIC=1 make
- name: Install project
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ libxdp:
$(MAKE) -C $(XDP_TOOLS_DIR) libxdp

libxdp_install:
sudo $(MAKE) -C $(LIBBPF_SRC) install
sudo $(MAKE) -C $(LIBXDP_DIR) install
$(MAKE) -C $(LIBBPF_SRC) install
$(MAKE) -C $(LIBXDP_DIR) install

libxdp_clean:
$(MAKE) -C $(XDP_TOOLS_DIR) clean
Expand Down

0 comments on commit f5d9d3a

Please sign in to comment.