浏览代码

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

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 <mpe@ellerman.id.au>
Michael Ellerman 6 年之前
父节点
当前提交
266bac361d
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      tools/testing/selftests/powerpc/switch_endian/Makefile

+ 1 - 0
tools/testing/selftests/powerpc/switch_endian/Makefile

@@ -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