diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-03-27 16:35:11 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-03-27 16:35:11 +0200 |
commit | 2a487810f5f660f470ebd5a5188368792a47ab1c (patch) | |
tree | d92415b8e6d6fe8a36dec8417b053788f7a1ed9f /src/compat/Kbuild.include | |
parent | version: bump snapshot (diff) | |
download | wireguard-monolithic-historical-2a487810f5f660f470ebd5a5188368792a47ab1c.tar.xz wireguard-monolithic-historical-2a487810f5f660f470ebd5a5188368792a47ab1c.zip |
compat: allow create-patch to work on debian-based builds
Diffstat (limited to 'src/compat/Kbuild.include')
-rw-r--r-- | src/compat/Kbuild.include | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/compat/Kbuild.include b/src/compat/Kbuild.include index 769477c..ceffb84 100644 --- a/src/compat/Kbuild.include +++ b/src/compat/Kbuild.include @@ -1,4 +1,8 @@ +ifeq ($(wildcard $(src)/compat/compat.h),) +ccflags-y += -include $(srctree)/$(src)/compat/compat.h +else ccflags-y += -include $(src)/compat/compat.h +endif ifeq ($(wildcard $(srctree)/include/linux/siphash.h),) ccflags-y += -I$(src)/compat/siphash/include |