summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2021-01-07 03:37:07 (EST)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2021-01-07 03:46:03 (EST)
commitc54bde733f21afeab9fbc3ea17f355489767bb83 (patch)
tree2d2b90fa4994f74b5b9cbf8075b97f464aa6faa9 /build
Initial commit
Diffstat (limited to 'build')
-rwxr-xr-xbuild25
1 files changed, 25 insertions, 0 deletions
diff --git a/build b/build
new file mode 100755
index 0000000..c7e1b98
--- /dev/null
+++ b/build
@@ -0,0 +1,25 @@
+#!/usr/bin/make -f
+
+include ../source.mk
+
+ARGS = \
+ PREFIX=/usr \
+ LIBDIR=/usr/lib/$(OPK_HOST_ARCH) \
+ MANDIR=/usr/share/man \
+ BUILD_STATIC_LIB=0
+
+nop:
+ @:
+
+build:
+ oh-autobuild -- $(ARGS)
+ touch $@
+
+install: build
+ oh-autoinstall -- $(ARGS)
+ # Perl script:
+ rm dest/usr/sbin/sensors-detect
+ oh-fixperms
+ oh-strip
+ oh-installfiles
+ oh-shlibdeps