Some of our Makefiles don't do the right thing when building the
selftests with O=, fix them up.
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
# SPDX-License-Identifier: GPL-2.0
TEST_PROGS := cache_shape
-all: $(TEST_PROGS)
-
$(TEST_PROGS): ../harness.c ../utils.c
top_srcdir = ../../../../..
top_srcdir = ../../../../..
include ../../lib.mk
-all: $(TEST_PROGS)
-
CFLAGS += -m64 -I../../../../../usr/include -I../tm -mhtm -fno-pie
ptrace-pkey core-pkey: child.h
# SPDX-License-Identifier: GPL-2.0
TEST_PROGS := signal signal_tm
-all: $(TEST_PROGS)
-
$(TEST_PROGS): ../harness.c ../utils.c signal.S
CFLAGS += -maltivec
top_srcdir = ../../../../..
include ../../lib.mk
+$(OUTPUT)/switch_endian_test: ASFLAGS += -I $(OUTPUT)
$(OUTPUT)/switch_endian_test: $(OUTPUT)/check-reversed.S
$(OUTPUT)/check-reversed.o: $(OUTPUT)/check.o