summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2014-06-11 23:29:28 (EDT)
committer P. J. McDermott <pj@pehjota.net>2014-06-11 23:29:28 (EDT)
commit784b356b9a9e6cf75b2b18f87d796221993271bd (patch)
tree2b44947a8a33dbb5b8b4e169b688d49f31d68c0d
parentb1bd60f0d6382726bb6e3574eed334a4848253f5 (diff)
build: Add build and install targets.
-rwxr-xr-xbuild14
1 files changed, 14 insertions, 0 deletions
diff --git a/build b/build
index 2a40656..b8502f4 100755
--- a/build
+++ b/build
@@ -4,3 +4,17 @@ include ../source.mk
nop:
@:
+
+build:
+ oh-autoconfigure
+ oh-autobuild
+ if [ 'x$(OPK_BUILD_ARCH)' = 'x$(OPK_HOST_ARCH)' ]; then \
+ oh-autotest; \
+ fi
+ touch $@
+
+install: build
+ oh-autoinstall
+ oh-fixperms
+ oh-strip
+ oh-installfiles