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 | 02b7efc01af786324a231ecb20fed7eb5c20a5e6 (patch) | |
tree | 18347bd4d028a3682505a3782a9214db33d01e9f /src | |
parent | 73d21fc1e692f2ccf2729d5656417d04fd53e8d9 (diff) |
compat: allow create-patch to work on debian-based builds
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src')
-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 |