Skip to content

Commit

Permalink
selftests/x86: install tests
Browse files Browse the repository at this point in the history
Include lib.mk and set TEST_PROGS where appropriate.

Cc: Andy Lutomirski <luto@amacapital.net>
Signed-off-by: Tyler Baker <tyler.baker@linaro.org>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
  • Loading branch information
Tyler Baker authored and Shuah Khan committed May 13, 2015
1 parent 1872d01 commit 07620ab
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tools/testing/selftests/x86/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,22 @@ UNAME_M := $(shell uname -m)
ifeq ($(CROSS_COMPILE),)
# Always build 32-bit tests
all: all_32
# Install 32-bit tests
TEST_PROGS += $(BINARIES_32) run_x86_tests.sh
# If we're on a 64-bit host, build 64-bit tests as well
ifeq ($(UNAME_M),x86_64)
all: all_64
# Install 64-bit tests
TEST_PROGS += $(BINARIES_64)
endif
endif

all_32: check_build32 $(BINARIES_32)

all_64: $(BINARIES_64)

include ../lib.mk

clean:
$(RM) $(BINARIES_32) $(BINARIES_64)

Expand Down

0 comments on commit 07620ab

Please sign in to comment.