Skip to content

Commit 3834964

Browse files
committed
Makefile: use $(shell pwd) instead of $PWD (#13)
1 parent ecf0b62 commit 3834964

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/ci-ubuntu-latest.yml

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ jobs:
88
steps:
99
- uses: actions/checkout@v2
1010
- uses: abbbi/github-actions-tune@v1
11+
- name: apt update
12+
run: sudo apt-get update
1113
- name: Install build-essential and devscripts
1214
run: sudo apt-get install build-essential devscripts equivs acl
1315
- name: Install Kernel Build Dependencies

Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ obj-m := nullfs.o
22

33
all: ko
44
ko:
5-
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules
5+
make -C /lib/modules/$(shell uname -r)/build M=$(shell pwd) modules
66

77
clean:
8-
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean
8+
make -C /lib/modules/$(shell uname -r)/build M=$(shell pwd) clean

0 commit comments

Comments
 (0)