1
0
mirror of https://git.yoctoproject.org/meta-ti synced 2026-04-20 03:31:58 +00:00

kselftests: fix futex functional tests build

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 <fathi.boudra@linaro.org>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
This commit is contained in:
Fathi Boudra
2017-03-18 14:39:41 +00:00
committed by Denys Dmytriyenko
parent 5ec1fd6753
commit 9bf6cbfcf9

View File

@@ -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