Recursive makefile is broken because it's using the same TARGETS variable
as selftests topdir and prevent to build futex functional tests:
make[2]: Nothing to be done for `all'.

Rename the variable to F_TARGETS in the futex functional tests Makefile.

Signed-off-by: Fathi Boudra <[email protected]>
---
 recipes-kernel/kselftests/kselftests_4.9.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/recipes-kernel/kselftests/kselftests_4.9.bb 
b/recipes-kernel/kselftests/kselftests_4.9.bb
index 6e8c2143..39188b01 100644
--- a/recipes-kernel/kselftests/kselftests_4.9.bb
+++ b/recipes-kernel/kselftests/kselftests_4.9.bb
@@ -59,6 +59,7 @@ do_configure () {
        sed "s|^CC = .*||g" -i ${S}/tools/testing/selftests/memfd/Makefile
        sed "s|^CC := .*||g" -i 
${S}/tools/testing/selftests/powerpc/switch_endian/Makefile
        sed "s|gcc|\$(CC)|g" -i 
${S}/tools/testing/selftests/breakpoints/Makefile
+       sed "s|TARGETS|F_TARGETS|g" -i 
${S}/tools/testing/selftests/futex/functional/Makefile
        sed "s|^LDFLAGS += -lpthread|LDLIBS += -lpthread|g" -i 
${S}/tools/testing/selftests/seccomp/Makefile
        sed "s|^LDFLAGS += -lrt -lpthread|LDLIBS += -lrt -lpthread|g" -i 
${S}/tools/testing/selftests/timers/Makefile
        sed "s|BINARIES|TEST_PROGS|g" -i 
${S}/tools/testing/selftests/sigaltstack/Makefile
-- 
2.11.0

-- 
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti

Reply via email to