selftests: move ia64 tests from Documentation/ia64
authorShuah Khan <shuahkh@osg.samsung.com>
Tue, 13 Sep 2016 18:52:24 +0000 (12:52 -0600)
committerShuah Khan <shuahkh@osg.samsung.com>
Tue, 20 Sep 2016 15:58:12 +0000 (09:58 -0600)
Remove ia64 from Makefile to move the test to selftests.

Update ia64 Makefile to work under selftests. ia64 will not be run as part
of selftests suite and will not be included in install targets. They can be
built separately for now.

The original Makefile built this test on all archirectures and this update
doesn't change that.

Acked-by: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Documentation/Makefile
Documentation/ia64/Makefile [deleted file]
tools/testing/selftests/ia64/.gitignore [moved from Documentation/ia64/.gitignore with 100% similarity]
tools/testing/selftests/ia64/Makefile [new file with mode: 0644]
tools/testing/selftests/ia64/aliasing-test.c [moved from Documentation/ia64/aliasing-test.c with 100% similarity]

index 085b917..572e9b7 100644 (file)
@@ -1,3 +1,3 @@
 subdir-y := accounting auxdisplay blackfin \
-       ia64 laptops mic misc-devices \
+       laptops mic misc-devices \
        networking pcmcia timers watchdog
diff --git a/Documentation/ia64/Makefile b/Documentation/ia64/Makefile
deleted file mode 100644 (file)
index d493163..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-# List of programs to build
-hostprogs-y := aliasing-test
-
-# Tell kbuild to always build the programs
-always := $(hostprogs-y)
diff --git a/tools/testing/selftests/ia64/Makefile b/tools/testing/selftests/ia64/Makefile
new file mode 100644 (file)
index 0000000..2b3de2d
--- /dev/null
@@ -0,0 +1,8 @@
+TEST_PROGS := aliasing-test
+
+all: $(TEST_PROGS)
+
+include ../lib.mk
+
+clean:
+       rm -fr $(TEST_PROGS)