Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d8a2fe29 authored by Michael Ellerman's avatar Michael Ellerman
Browse files

selftests/powerpc: Fix out-of-tree build errors



Some of our Makefiles don't do the right thing when building the
selftests with O=, fix them up.

Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent 51eeef9e
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0
TEST_PROGS := cache_shape

all: $(TEST_PROGS)

$(TEST_PROGS): ../harness.c ../utils.c

top_srcdir = ../../../../..
+0 −2
Original line number Diff line number Diff line
@@ -7,8 +7,6 @@ TEST_PROGS := ptrace-gpr ptrace-tm-gpr ptrace-tm-spd-gpr \
top_srcdir = ../../../../..
include ../../lib.mk

all: $(TEST_PROGS)

CFLAGS += -m64 -I../../../../../usr/include -I../tm -mhtm -fno-pie

ptrace-pkey core-pkey: child.h
+0 −2
Original line number Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0
TEST_PROGS := signal signal_tm

all: $(TEST_PROGS)

$(TEST_PROGS): ../harness.c ../utils.c signal.S

CFLAGS += -maltivec
+1 −0
Original line number Diff line number Diff line
@@ -8,6 +8,7 @@ EXTRA_CLEAN = $(OUTPUT)/*.o $(OUTPUT)/check-reversed.S
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