diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-12-16 00:50:39 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-12-18 14:41:48 +0100 |
commit | 622cef6f81a297b51728fd47c9ae8986bd5a4c76 (patch) | |
tree | 6765f60843bbc1c076438b0ad9813f1201ba9400 /src/compat/Kbuild.include | |
parent | netns: nmap != ncat (diff) | |
download | wireguard-monolithic-historical-622cef6f81a297b51728fd47c9ae8986bd5a4c76.tar.xz wireguard-monolithic-historical-622cef6f81a297b51728fd47c9ae8986bd5a4c76.zip |
makefile: use immediate expansion and use correct template patterns
Diffstat (limited to 'src/compat/Kbuild.include')
-rw-r--r-- | src/compat/Kbuild.include | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compat/Kbuild.include b/src/compat/Kbuild.include index 530f71d..2164dbf 100644 --- a/src/compat/Kbuild.include +++ b/src/compat/Kbuild.include @@ -2,7 +2,7 @@ # # Copyright (C) 2015-2018 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. -kbuild-dir ?= $(if $(filter /%,$(src)),$(src),$(srctree)/$(src)) +kbuild-dir := $(if $(filter /%,$(src)),$(src),$(srctree)/$(src)) ccflags-y += -include $(kbuild-dir)/compat/compat.h asflags-y += -include $(kbuild-dir)/compat/compat-asm.h |