[Concept,12/15] ulib: Drop unnecessary pieces in test/ulib/Makefile

Message ID 20250905170132.182249-13-sjg@u-boot.org
State New
Headers
Series ulib: Provide test programs and documentation |

Commit Message

Simon Glass Sept. 5, 2025, 5:01 p.m. UTC
  From: Simon Glass <sjg@chromium.org>

We now have rules in the main Makefile to ensure that the library is
built before the ulib test-binaries. Drop the unnecessary dependency.

Also the link is done entirely in the main Makefile, so drop the flags
as well.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 test/ulib/Makefile | 7 -------
 1 file changed, 7 deletions(-)
  

Patch

diff --git a/test/ulib/Makefile b/test/ulib/Makefile
index ae58e01fccd..b6c3df38c9b 100644
--- a/test/ulib/Makefile
+++ b/test/ulib/Makefile
@@ -3,10 +3,3 @@ 
 # Copyright 2025 Simon Glass <sjg@chromium.org>
 
 obj-y += ulib_test.o
-
-# Link with the shared library
-HOSTCFLAGS_ulib_test.o += -I$(srctree)/arch/sandbox/include
-HOSTLDLIBS_ulib_test += -L$(obj)/../.. -lu-boot -Wl,-rpath,$(obj)/../..
-
-# Ensure shared library is built first
-$(obj)/ulib_test: $(obj)/../../libu-boot.so