summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2021-03-11 21:56:37 -0500
committerJavier Martinez Canillas <javier@dowhile0.org>2021-03-12 10:15:01 +0100
commit39b96c01bfd4547f38c9e573ff5d551057ea272c (patch)
tree811b73bbb974a66af77c3de3cfb8cc6cbd760851
parent9e8dde5438ece7ce1c2ecaeb754298d5bcb4bea8 (diff)
downloadefi-boot-shim-upstream/shim-15.3-rc1.tar.gz
efi-boot-shim-upstream/shim-15.3-rc1.zip
'make test': try harder to make it build in the right order.upstream/shim-15.3-rc1shim-15.3-rc1
Signed-off-by: Peter Jones <pjones@redhat.com>
-rw-r--r--include/test.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/test.mk b/include/test.mk
index 542be176..5d74bdc2 100644
--- a/include/test.mk
+++ b/include/test.mk
@@ -29,6 +29,8 @@ CFLAGS = -O2 -ggdb -std=gnu11 \
"-DDEFAULT_DEBUG_PRINT_STATE=$(DEBUG_PRINTS)"
$(wildcard test-*.c) :: %.c : test-random.h
+$(patsubst %.c,%,$(wildcard test-*.c)) :: | test-random.h
+$(patsubst %.c,%.o,$(wildcard test-*.c)) : | test-random.h
test-random.h:
dd if=/dev/urandom bs=512 count=17 of=random.bin