Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Benes <mbenes@suse.cz>2017-04-24 16:00:54 +0200
committerMiroslav Benes <mbenes@suse.cz>2017-04-24 16:00:54 +0200
commit03bf1d56387d8f7614ed34bd1ddb2d81de422d53 (patch)
tree788741fb3c6d1c6504228a47a8b61796af275606
parent1af6c29e961ed1567e3556fb2cf4c86431b4bc72 (diff)
Replace $(PWD) with $(CURDIR) in Makefile
CURDIR is an internal variable of make and more suitable. Signed-off-by: Miroslav Benes <mbenes@suse.cz>
-rwxr-xr-xscripts/create-makefile.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/create-makefile.sh b/scripts/create-makefile.sh
index 778e5ee..c13b7fd 100755
--- a/scripts/create-makefile.sh
+++ b/scripts/create-makefile.sh
@@ -18,8 +18,8 @@ obj-m := kgraft-patch-@@RPMRELEASE@@.o
kgraft-patch-@@RPMRELEASE@@-y := $objects
default:
- \$(MAKE) -C \$(KDIR) M=\$(PWD) modules
+ \$(MAKE) -C \$(KDIR) M=\$(CURDIR) modules
clean:
- \$(MAKE) -C \$(KDIR) M=\$(PWD) clean
+ \$(MAKE) -C \$(KDIR) M=\$(CURDIR) clean
EOF