Revert "lib/{newlib_, }tests: Fix build dependency on lib"
PATCH 1/1 Revert "lib/{newlib_, }tests: Fix build dependency on lib"
This reverts commit 90c6b2eb31106f0766ab2b8e90c97472e4ac3c78.
Unfortunately this change may cause an infinite loop when library rebuild is triggered from a test directory. E.g.:
$ cd ltp $ make clean ... $ cd testcases/kernel/syscalls/abort $ make ... make -C "/foo/bar/ltp/lib" -f "/foo/bar/ltp/lib/Makefile" all make -C "/foo/bar/ltp/lib" -f "/foo/bar/ltp/lib/Makefile" all make -C "/foo/bar/ltp/lib" -f "/foo/bar/ltp/lib/Makefile" all make -C "/foo/bar/ltp/lib" -f "/foo/bar/ltp/lib/Makefile" all make -C "/foo/bar/ltp/lib" -f "/foo/bar/ltp/lib/Makefile" all make -C "/foo/bar/ltp/lib" -f "/foo/bar/ltp/lib/Makefile" all ...
Looks like some kind of race, so let's revert the commit for now.
Signed-off-by Cyril Hrubis <[email protected]>
Acked-by Petr Vorel <[email protected]>
--- lib/newlib_tests/Makefile | 2 +- lib/tests/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
lib/newlib_tests/Makefile +1 -1
@@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0-or-later top_srcdir ?= ../.. -include $(top_srcdir)/include/mk/testcases.mk +include $(top_srcdir)/include/mk/env_pre.mk CFLAGS += -W -Wall LDLIBS += -lltp
lib/tests/Makefile +1 -1
@@ -1,6 +1,6 @@ top_srcdir ?= ../.. -include $(top_srcdir)/include/mk/testcases.mk +include $(top_srcdir)/include/mk/env_pre.mk CFLAGS += -W LDLIBS += -lltp
Signature · 1 line
2.31.1