[v3,6/7] selftests/x86: Revert SGX changes
diff mbox series

Message ID 20190819132830.9056-7-jarkko.sakkinen@linux.intel.com
State New
Headers show
  • Fix the reported SGX selftest makefile issues
Related show

Commit Message

Jarkko Sakkinen Aug. 19, 2019, 1:28 p.m. UTC
The SGX changes are incorrect in the makefile but the more important
reason to revert the SGX changes is that we can split the binding
to a separate commit in our main patch set.

There is a design choice to be made whether to bound the selftest by
recursing from the x86 makefile or alternatively have it added to
TARGETS (i.e. TARGET += "x86/sgx"). Thus, the change that implements
the binding must a be a separate commit.

Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
 tools/testing/selftests/x86/Makefile | 10 ----------
 1 file changed, 10 deletions(-)

diff mbox series

diff --git a/tools/testing/selftests/x86/Makefile b/tools/testing/selftests/x86/Makefile
index a1831406fd01..fa07d526fe39 100644
--- a/tools/testing/selftests/x86/Makefile
+++ b/tools/testing/selftests/x86/Makefile
@@ -1,7 +1,4 @@ 
 # SPDX-License-Identifier: GPL-2.0
-SUBDIRS_64 := sgx
 include ../lib.mk
@@ -71,13 +68,6 @@  all_32: $(BINARIES_32)
 all_64: $(BINARIES_64)
-all_64: $(SUBDIRS_64)
-	@for DIR in $(SUBDIRS_64); do			\
-		mkdir $$BUILD_TARGET  -p;		\
-		make OUTPUT=$$BUILD_TARGET -C $$DIR $@;	\
-	done
 $(BINARIES_32): $(OUTPUT)/%_32: %.c