diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 247be8f..a51f1f6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -85,7 +85,8 @@ jobs: go-version: '^1.19' - name: Install Dependencies run: | - sudo apt-get update -y && sudo apt-get install -y clang llvm gcc-multilib + sudo apt-get update -y + sudo apt-get install -y clang llvm gcc-multilib libbpf-dev - name: Get project dependencies run: | diff --git a/Makefile b/Makefile index e5d59c6..611d95b 100644 --- a/Makefile +++ b/Makefile @@ -10,13 +10,7 @@ CLANG ?= clang STRIP ?= llvm-strip OUTPUT ?= dae CFLAGS := -O2 -Wall -Werror $(CFLAGS) -GOARCH ?= - -ifneq ($(GOARCH),) - TARGET ?= $(GOARCH) -else - TARGET ?= bpfel,bpfeb -endif +TARGET ?= bpfel,bpfeb # Get version from .git. date=$(shell git log -1 --format="%cd" --date=short | sed s/-//g)