mirror of
https://github.com/versity/scoutfs.git
synced 2026-01-03 10:55:20 +00:00
Use make variable CURDIR instead of PWD
When running make in a limited shell or in docker, there is no PWD from shell. By using CURDIR we avoid worrying about the environment and let make take care of this for us. Signed-off-by: Nic Henke <nic.henke@versity.com> Signed-off-by: Zach Brown <zab@zabbo.net>
This commit is contained in:
@@ -29,8 +29,8 @@ ALL: module
|
||||
# #define _RH_KABI_REPLACE_UNSAFE(_orig, _new) _new
|
||||
|
||||
module:
|
||||
make CONFIG_SCOUTFS_FS=m -C $(SK_KSRC) M=$(PWD)/src
|
||||
make C=2 CF="-D__CHECK_ENDIAN__" CONFIG_SCOUTFS_FS=m -C $(SK_KSRC) M=$(PWD)/src
|
||||
make CONFIG_SCOUTFS_FS=m -C $(SK_KSRC) M=$(CURDIR)/src
|
||||
make C=2 CF="-D__CHECK_ENDIAN__" CONFIG_SCOUTFS_FS=m -C $(SK_KSRC) M=$(CURDIR)/src
|
||||
|
||||
clean:
|
||||
make CONFIG_SCOUTFS_FS=m -C $(SK_KSRC) M=$(PWD)/src clean
|
||||
make CONFIG_SCOUTFS_FS=m -C $(SK_KSRC) M=$(CURDIR)/src clean
|
||||
|
||||
Reference in New Issue
Block a user