summaryrefslogtreecommitdiff
path: root/test/libtest/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'test/libtest/Makefile')
-rw-r--r--test/libtest/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/libtest/Makefile b/test/libtest/Makefile
index 1dc489b9db8a..3cf6de08f316 100644
--- a/test/libtest/Makefile
+++ b/test/libtest/Makefile
@@ -9,9 +9,8 @@ SUBDIR+= lib
SUBDIR+= driver
SUBDIR+= examples
-.if !make(install)
+.if !make(install) && !make(test)
.include "$(TOP)/mk/elftoolchain.subdir.mk"
.else
-install: .SILENT .PHONY
- echo Nothing to install.
+install test: .SILENT .PHONY
.endif