summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2014-06-21 22:23:01 (EDT)
committer P. J. McDermott <pj@pehjota.net>2014-06-21 22:23:01 (EDT)
commit8ef6df3b0e7afac36ac38676eb5cced202fd5cfe (patch)
tree6e5d7c53333120435ea9c62b84b5f61a5b55516d /build
parent9fab97aa14a4016a286e028751c74823203aa42d (diff)
build: Add "build" target.
Diffstat (limited to 'build')
-rwxr-xr-xbuild8
1 files changed, 8 insertions, 0 deletions
diff --git a/build b/build
index 2a40656..4838903 100755
--- a/build
+++ b/build
@@ -4,3 +4,11 @@ include ../source.mk
nop:
@:
+
+build:
+ oh-autoconfigure -B build
+ oh-autobuild -B build
+ if [ 'x$(OPK_BUILD_ARCH)' = 'x$(OPK_HOST_ARCH)' ]; then \
+ oh-autobuild -B build -T check; \
+ fi
+ touch $@