sandbox: Make use of PLATFORM_LIBS for ulib_test
Rather than specifying the sandbox-specific arguments in the main Makefile, make use of PLATFORM_LIBS which has (more than) what we need. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
2
Makefile
2
Makefile
@@ -1905,7 +1905,7 @@ quiet_cmd_ulib_test_static = HOSTCC $@
|
||||
-I$(srctree)/arch/sandbox/include -o $@ $< \
|
||||
-Wl,-T,$(LIB_STATIC_LDS) \
|
||||
-Wl,--whole-archive $(obj)/libu-boot.a -Wl,--no-whole-archive \
|
||||
-lpthread -ldl -lSDL2 -lrt -Wl,-z,noexecstack
|
||||
-ldl $(PLATFORM_LIBS) -Wl,-z,noexecstack
|
||||
|
||||
test/ulib/ulib_test_static: test/ulib/ulib_test.o libu-boot.a \
|
||||
$(LIB_STATIC_LDS) FORCE
|
||||
|
||||
Reference in New Issue
Block a user