From 38349643df6938c97dceadfca66f80521ccec7f4 Mon Sep 17 00:00:00 2001 From: Michael Ablassmeier Date: Fri, 10 Dec 2021 15:49:28 +0100 Subject: [PATCH] Makefile: use $(shell pwd) instead of $PWD (#13) --- .github/workflows/ci-ubuntu-latest.yml | 2 ++ Makefile | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-ubuntu-latest.yml b/.github/workflows/ci-ubuntu-latest.yml index dcdbd18..69525eb 100644 --- a/.github/workflows/ci-ubuntu-latest.yml +++ b/.github/workflows/ci-ubuntu-latest.yml @@ -8,6 +8,8 @@ jobs: steps: - uses: actions/checkout@v2 - uses: abbbi/github-actions-tune@v1 + - name: apt update + run: sudo apt-get update - name: Install build-essential and devscripts run: sudo apt-get install build-essential devscripts equivs acl - name: Install Kernel Build Dependencies diff --git a/Makefile b/Makefile index 45794d0..8c50f4d 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ obj-m := nullfs.o all: ko ko: - make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules + make -C /lib/modules/$(shell uname -r)/build M=$(shell pwd) modules clean: - make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean + make -C /lib/modules/$(shell uname -r)/build M=$(shell pwd) clean