Skip to content

Commit

Permalink
makefile: fix linux source tar path is invaild.
Browse files Browse the repository at this point in the history
Co-authored-by: Ruitian Zhong <[email protected]>
Signed-off-by: CFC4N <[email protected]>
  • Loading branch information
cfc4n and ruitianzhong committed Apr 27, 2024
1 parent 6c217f0 commit 2a72d38
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/go-c-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Install Compilers
run: |
sudo apt-get update
sudo apt-get install --yes build-essential pkgconf libelf-dev llvm-9 clang-9 linux-tools-common linux-tools-generic gcc
sudo apt-get install --yes build-essential pkgconf libelf-dev llvm-9 clang-9 linux-tools-common linux-tools-generic gcc linux-source
for tool in "clang" "llc" "llvm-strip"
do
sudo rm -f /usr/bin/$tool
Expand Down
2 changes: 1 addition & 1 deletion variables.mk
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ HOST_VERSION_SHORT := $(shell uname -r | cut -d'-' -f 1)

# linux-source-5.15.0.tar.bz2
LINUX_SOURCE_PATH ?= /usr/src/linux-source-$(HOST_VERSION_SHORT)/linux-source-$(HOST_VERSION_SHORT)
LINUX_SOURCE_TAR ?= $(LINUX_SOURCE_PATH).tar.bz2
LINUX_SOURCE_TAR ?= /usr/src/linux-source-$(HOST_VERSION_SHORT).tar.bz2

ifdef CROSS_ARCH
ifeq ($(HOST_ARCH),aarch64)
Expand Down

0 comments on commit 2a72d38

Please sign in to comment.