aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/tests/qemu/Makefile
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2017-05-11 18:35:10 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2017-05-17 18:07:42 +0200
commit80d843397ccde0754bd1c40c7a06fe4d853d0869 (patch)
tree8d1952dd1a5957c0222f79c5107de34302eb6b11 /src/tests/qemu/Makefile
parentnoise: redesign preshared key mode (diff)
downloadwireguard-monolithic-historical-80d843397ccde0754bd1c40c7a06fe4d853d0869.tar.xz
wireguard-monolithic-historical-80d843397ccde0754bd1c40c7a06fe4d853d0869.zip
jerry-rig: symlinks are better for tree patching
Use a symlink instead of lots of ../../.. Suggested-by: Benedikt Morbach <benedikt.morbach@googlemail.com>
Diffstat (limited to 'src/tests/qemu/Makefile')
-rw-r--r--src/tests/qemu/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/qemu/Makefile b/src/tests/qemu/Makefile
index 859bdef..646f64c 100644
--- a/src/tests/qemu/Makefile
+++ b/src/tests/qemu/Makefile
@@ -112,7 +112,7 @@ $(KERNEL_PATH)/.installed: $(KERNEL_TAR)
tar -C $(BUILD_PATH) -xf $<
sed -i "/^if INET\$$/a source \"net/wireguard/Kconfig\"" $(KERNEL_PATH)/net/Kconfig
sed -i "/^obj-\$$(CONFIG_NETFILTER).*+=/a obj-\$$(CONFIG_WIREGUARD) += wireguard/" $(KERNEL_PATH)/net/Makefile
- ln -sf $(shell readlink -f ../..) $(KERNEL_PATH)/net/wireguard
+ ln -sfT $(shell readlink -f ../..) $(KERNEL_PATH)/net/wireguard
touch $@
$(KERNEL_PATH)/.config: kernel.config | $(KERNEL_PATH)/.installed