From e7bfbc2405e58d21868e6731e130741cabdd1874 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Sat, 25 May 2019 17:44:53 +0200 Subject: kbuild: account for recent upstream changes Apparently cdd750bfb1f76fe9be8cfb53cbe77b2e811081ab changed things, so we fall back onto this hack. Reported-by: Alex Xu Signed-off-by: Jason A. Donenfeld --- src/crypto/Kbuild.include | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/crypto') diff --git a/src/crypto/Kbuild.include b/src/crypto/Kbuild.include index 460684d..f2a312e 100644 --- a/src/crypto/Kbuild.include +++ b/src/crypto/Kbuild.include @@ -48,7 +48,7 @@ targets := $(patsubst $(kbuild-dir)/%.pl,%.S,$(wildcard $(patsubst %.o,$(kbuild- .SECONDARY: wireguard-y += $(addprefix crypto/zinc/,$(zinc-y)) -ccflags-y += -I$(src)/crypto/include +ccflags-y += -I$(kbuild-dir)/crypto/include ccflags-$(CONFIG_ZINC_ARCH_X86_64) += -DCONFIG_ZINC_ARCH_X86_64 ccflags-$(CONFIG_ZINC_ARCH_ARM) += -DCONFIG_ZINC_ARCH_ARM ccflags-$(CONFIG_ZINC_ARCH_ARM64) += -DCONFIG_ZINC_ARCH_ARM64 -- cgit v1.2.3