summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2014-08-02 10:53:57 (EDT)
committer P. J. McDermott <pj@pehjota.net>2014-08-02 10:53:57 (EDT)
commit70bba2b9c5a93df3f92b0112c020771d4d406ee9 (patch)
treeeb35b2f807e7b8c64dd8ffd8f7b2f4c1de274a1a
parent695752487d4d6e97797e959356e0e2ee1b9b9e40 (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..da749b6 100755
--- a/build
+++ b/build
@@ -4,3 +4,16 @@ include ../source.mk
nop:
@:
+
+build:
+ oh-autobuild -- -f makefile.shared
+ touch $@
+
+install: build
+ oh-autoinstall -- -f makefile.shared \
+ LIBPATH='/usr/lib/$(OPK_HOST_ARCH)' \
+ INSTALL_GROUP=root
+ rm dest/usr/lib/$(OPK_HOST_ARCH)/libtommath.la
+ oh-fixperms
+ oh-strip
+ oh-installfiles