Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

selftests: remove CROSS_COMPILE in dedicated Makefile

After previous clean up patches, memfd and timers could get
CROSS_COMPILE from tools/testing/selftest/lib.mk. There is no need to
preserve these definition. So, this patch remove them.

Acked-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Bamvor Jian Zhang <bamvor.zhangjian@linaro.org>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>

authored by

bamvor.zhangjian@huawei.com and committed by
Shuah Khan
5a2d4a57 7d758af2

-2
-1
tools/testing/selftests/memfd/Makefile
··· 1 - CC = $(CROSS_COMPILE)gcc 2 1 CFLAGS += -D_FILE_OFFSET_BITS=64 3 2 CFLAGS += -I../../../../include/uapi/ 4 3 CFLAGS += -I../../../../include/
-1
tools/testing/selftests/timers/Makefile
··· 1 - CC = $(CROSS_COMPILE)gcc 2 1 BUILD_FLAGS = -DKTEST 3 2 CFLAGS += -O3 -Wl,-no-as-needed -Wall $(BUILD_FLAGS) 4 3 LDFLAGS += -lrt -lpthread