From 686aa77b52788298f2ab141bac3072db3a8e9458 Mon Sep 17 00:00:00 2001
From: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
Date: Sat, 30 Dec 2023 15:54:43 +0100
Subject: [PATCH] fix tests/test_apps/Makefile rebuilding libtestkernel.so
 everytime

Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
---
 tests/test_apps/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/test_apps/Makefile b/tests/test_apps/Makefile
index 3e902b5..1b2cb08 100644
--- a/tests/test_apps/Makefile
+++ b/tests/test_apps/Makefile
@@ -23,7 +23,7 @@ OVERHEAD_BIN = overhead.testapp
 OVERHEAD_O = overhead.o
 
 TEST_KERNEL_LIB_O = test_kernel_lib.o
-TEST_KERNEL_LIB = test_kernel.so
+TEST_KERNEL_LIB = libtest_kernel.so
 TEST_KERNEL_LIB_CALL_O = test_kernel_call.o
 TEST_KERNEL_LIB_CALL = test_kernel_call
 
@@ -73,7 +73,7 @@ $(TEST_KERNEL_LIB_O) : $(FILES)
 	$(CC) $(CFLAGS) $(DEBUG_FLAGS) -dc --compiler-options '-fPIC' -o $@ $<
 
 $(TEST_KERNEL_LIB) : $(TEST_KERNEL_LIB_O)
-	$(LD) $(LDFLAGS) $(DEBUG_FLAGS) -shared -o lib$@ $^
+	$(LD) $(LDFLAGS) $(DEBUG_FLAGS) -shared -o $@ $^
 
 $(TEST_KERNEL_LIB_CALL_O) : $(TEST_KERNEL_LIB_CALL_O:.o=.c)
 	$(HOST_CC) -c -o $@ $<
-- 
GitLab