summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2018-11-24 02:27:34 (EST)
committer P. J. McDermott <pj@pehjota.net>2018-11-24 02:27:34 (EST)
commite2c6dcd0bc737e9181f7bd905df15e493036c89f (patch)
tree1f61ae83808490627d2edbadf5b0bb3eca8ff953 /build
Initial commit
Diffstat (limited to 'build')
-rwxr-xr-xbuild21
1 files changed, 21 insertions, 0 deletions
diff --git a/build b/build
new file mode 100755
index 0000000..39783e6
--- /dev/null
+++ b/build
@@ -0,0 +1,21 @@
+#!/usr/bin/make -f
+
+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)/libnpth.la
+ oh-fixperms
+ oh-strip
+ oh-installfiles