summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2014-06-12 00:37:38 (EDT)
committer P. J. McDermott <pj@pehjota.net>2014-06-12 00:37:38 (EDT)
commit6acff28155b15b61ae53ea8c18334c9ed754fce8 (patch)
treee643152acf72343872ed43567622f3af552be25f
parent082630c5802d24ee759072270710d5e823aa5fa2 (diff)
build: Add build and install targets.
-rwxr-xr-xbuild15
1 files changed, 15 insertions, 0 deletions
diff --git a/build b/build
index 2a40656..6975f51 100755
--- a/build
+++ b/build
@@ -4,3 +4,18 @@ 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
+ rm dest/usr/lib/$(OPK_HOST_ARCH)/libgpg-error.la
+ oh-fixperms
+ oh-strip
+ oh-installfiles