From bae391875a66e2cd58420d524653967f0fe49c0c Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Mon, 22 Jan 2018 17:58:44 +0100 Subject: tools: share curve25519 implementations with kernel Signed-off-by: Jason A. Donenfeld --- src/tests/qemu/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/tests/qemu/Makefile') diff --git a/src/tests/qemu/Makefile b/src/tests/qemu/Makefile index 99b9ab3..7f64c70 100644 --- a/src/tests/qemu/Makefile +++ b/src/tests/qemu/Makefile @@ -25,7 +25,7 @@ DOWNLOAD := wget -O MIRROR := https://download.wireguard.com/qemu-test/distfiles/ WIREGUARD_SOURCES := $(wildcard ../../*.c ../../*.h ../../selftest/*.h ../../crypto/*.c ../../crypto/*.h ../../crypto/*.S ../../compat/*.h) -TOOLS_SOURCES := $(wildcard ../../tools/*.c ../../tools/*.h ../../uapi/*.h) +TOOLS_SOURCES := $(wildcard ../../tools/*.c ../../tools/*.h ../../uapi/*.h ../../crypto/curve25519-hacl64.h ../../crypto/curve25519-fiat32.h) default: qemu @@ -265,7 +265,7 @@ $(LIBMNL_PATH)/src/.libs/libmnl.a: | $(LIBMNL_PATH)/.installed $(USERSPACE_DEPS) $(BUILD_PATH)/tools/wg: $(TOOLS_SOURCES) | $(LIBMNL_PATH)/src/.libs/libmnl.a $(USERSPACE_DEPS) mkdir -p $(BUILD_PATH) - cp -pr ../../uapi ../../tools $(BUILD_PATH)/ + cp -pr ../../uapi ../../crypto ../../tools $(BUILD_PATH)/ $(MAKE) -C $(BUILD_PATH)/tools clean LDFLAGS="$(LDFLAGS) -L$(LIBMNL_PATH)/src/.libs" $(MAKE) -C $(BUILD_PATH)/tools LIBMNL_CFLAGS="-I$(LIBMNL_PATH)/include" LIBMNL_LDLIBS="-lmnl" wg $(STRIP) -s $@ -- cgit v1.2.3