summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rwxr-xr-xbuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/build b/build
index 50fd39f..4a3445c 100755
--- a/build
+++ b/build
@@ -24,6 +24,9 @@ configure:
build: configure
oh-autobuild -- \
LDFLAGS_DEFAULT="-Wl,--export-dynamic -Wl,-soname=$(SONAME)"
+ if [ 'x$(OPK_BUILD_ARCH)' = 'x$(OPK_HOST_ARCH)' ]; then \
+ oh-autotest; \
+ fi
touch $@
install: build