whinges, perrmanits, maybe I'm doing it wrong, etc.
a)
At the top-level, neither `make mrproper' nor `make clean' remove the
executables from tools/testing/selftests/mm/. Seems wrong?
b)
Shouldn't I be able to run
make selftests
from the top level?
c)
tools/testing/selftests/mm
make clean
make
does:
CC droppable
CC guard-regions
CC merge
CC rmap
CC soft-dirty
gcc -Wall -O2 -I /usr/src/25/tools/testing/selftests/../../.. -isystem
/usr/src/25/tools/testing/selftests/../../../usr/include -isystem
/usr/src/25/tools/testing/selftests/../../../tools/include/uapi
-Wunreachable-code -U_FORTIFY_SOURCE -no-pie -D_GNU_SOURCE=
-I/usr/src/25/tools/testing/selftests/../../../tools/testing/selftests -m32
-mxsave protection_keys.c vm_util.c thp_settings.c pkey_util.c -lrt -lpthread
-lm -lrt -ldl -lm -o /usr/src/25/tools/testing/selftests/mm/protection_keys_32
gcc -Wall -O2 -I /usr/src/25/tools/testing/selftests/../../.. -isystem
/usr/src/25/tools/testing/selftests/../../../usr/include -isystem
/usr/src/25/tools/testing/selftests/../../../tools/include/uapi
-Wunreachable-code -U_FORTIFY_SOURCE -no-pie -D_GNU_SOURCE=
-I/usr/src/25/tools/testing/selftests/../../../tools/testing/selftests -m32
-mxsave pkey_sighandler_tests.c vm_util.c thp_settings.c pkey_util.c -lrt
-lpthread -lm -lrt -ldl -lm -o
/usr/src/25/tools/testing/selftests/mm/pkey_sighandler_tests_32
why did it start emitting the gcc command lines?
d) within tools/testing/selftests/mm:
make clean
make -j100
compiles 3-4 things then ends.
A subsequent `make -j1' compiles nothing.
Whereas
make clean
make -j1
compiles everything. Slowly.
Thanks.