summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2014-06-11 04:50:05 (EDT)
committer P. J. McDermott <pj@pehjota.net>2014-06-11 04:50:05 (EDT)
commitd0e6ecb1a52234c6a271e3dc9b500949184fc858 (patch)
tree96435d08cc972dc3e952dbb8b401bac27113f1dc
parent8f708bd879f31dfb5f2beb0e94a13f0bab7abd5b (diff)
build: Add build and install targets.
-rwxr-xr-xbuild13
1 files changed, 13 insertions, 0 deletions
diff --git a/build b/build
index 2a40656..c4158be 100755
--- a/build
+++ b/build
@@ -4,3 +4,16 @@ include ../source.mk
nop:
@:
+
+build:
+ oh-autobuild
+ if [ 'x$(OPK_BUILD_ARCH)' = 'x$(OPK_HOST_ARCH)' ]; then \
+ oh-autotest; \
+ fi
+ touch $@
+
+install: build
+ oh-autoinstall -- PREFIX="$${PWD}/dest"
+ oh-fixperms
+ oh-strip
+ #oh-installfiles