mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-08 11:55:24 +00:00
wireguard: create dir before generating asm file
Prevents errors like follows. /bin/bash: arch/arm64/crypto/poly1305-core.S: No such file or directory make[4]: *** [.../genode/repos/dde_linux/lib/mk/spec/arm_64/wireguard_lx_inc_dirs.mk:17: arch/arm64/crypto/poly1305-core.S] Error 1
This commit is contained in:
parent
df4c4d5be2
commit
d5577421f8
@ -14,6 +14,8 @@ vpath arch/arm64/kernel/smp.c $(REP_DIR)/src/lib/lx_emul/shadow
|
||||
SRC_S += arch/arm64/crypto/poly1305-core.S
|
||||
|
||||
arch/arm64/crypto/poly1305-core.S:
|
||||
$(MSG_CONVERT)$@
|
||||
$(VERBOSE)mkdir -p $(dir $@)
|
||||
$(VERBOSE)perl $(LX_SRC_DIR)/arch/arm64/crypto/poly1305-armv8.pl > $@
|
||||
|
||||
CC_OPT_arch/arm64/crypto/poly1305-core += -Dpoly1305_init=poly1305_init_arm64
|
||||
|
@ -7,6 +7,8 @@ PRG_DIR := $(REP_DIR)/src/app/wireguard/spec/x86_64
|
||||
SRC_S += arch/x86/crypto/poly1305-x86_64-cryptogams.S
|
||||
|
||||
arch/x86/crypto/poly1305-x86_64-cryptogams.S:
|
||||
perl $(LX_SRC_DIR)/arch/x86/crypto/poly1305-x86_64-cryptogams.pl > $@
|
||||
$(MSG_CONVERT)$@
|
||||
$(VERBOSE)mkdir -p $(dir $@)
|
||||
$(VERBOSE)perl $(LX_SRC_DIR)/arch/x86/crypto/poly1305-x86_64-cryptogams.pl > $@
|
||||
|
||||
include $(REP_DIR)/lib/mk/wireguard_lx_inc_dirs.inc
|
||||
|
Loading…
x
Reference in New Issue
Block a user