diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-05-11 18:35:10 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-05-17 18:07:42 +0200 |
commit | dde5170b9ebe278eeadd8a5f8195ff9a9d4d6203 (patch) | |
tree | 49d5464ed2fa123832481b9134409ef342b4f05c /src/tests/qemu/Makefile | |
parent | 41e7aa153984364087a9ef07eca02c72961825c7 (diff) |
jerry-rig: symlinks are better for tree patching
Use a symlink instead of lots of ../../..
Suggested-by: Benedikt Morbach <benedikt.morbach@googlemail.com>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/tests/qemu/Makefile')
-rw-r--r-- | src/tests/qemu/Makefile | 2 |
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 |