Skip to content

Commit

Permalink
selftests/powerpc/switch_endian: Fix out-of-tree build
Browse files Browse the repository at this point in the history
For the out-of-tree build to work we need to tell switch_endian_test
to look for check-reversed.S in $(OUTPUT).

Signed-off-by: Michael Ellerman <[email protected]>
  • Loading branch information
mpe committed Oct 31, 2018
1 parent 98415da commit 266bac3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/testing/selftests/powerpc/switch_endian/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 266bac3

Please sign in to comment.