From e199117e8f59bde69354417296d61ab92290ddc9 Mon Sep 17 00:00:00 2001 From: Norman Feske Date: Sun, 24 Feb 2019 14:00:51 +0100 Subject: [PATCH] Build src/test-rdrand archive for non-x86_64 Include the generic stub in the source archive to avoid build errors on architectures other than x86_64. --- recipes/src/test-rdrand/content.mk | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/recipes/src/test-rdrand/content.mk b/recipes/src/test-rdrand/content.mk index e5347c5..481ca1f 100644 --- a/recipes/src/test-rdrand/content.mk +++ b/recipes/src/test-rdrand/content.mk @@ -1,7 +1,8 @@ SRC_DIR = src/test/rdrand include $(GENODE_DIR)/repos/base/recipes/src/content.inc -content: include/spec/x86_64/world/rdrand.h +MIRROR_FROM_REP_DIR := include/spec/x86_64/world/rdrand.h include/world/rdrand.h +content: $(MIRROR_FROM_REP_DIR) -include/spec/x86_64/world/rdrand.h: +$(MIRROR_FROM_REP_DIR): $(mirror_from_rep_dir)