Skip to content

Commit

Permalink
Makefile: use $(shell pwd) instead of $PWD (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
abbbi committed Dec 10, 2021
1 parent ecf0b62 commit 3834964
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci-ubuntu-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 3834964

Please sign in to comment.