summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-05-26 10:26:18 (EDT)
committer P. J. McDermott <pjm@nac.net>2013-05-26 10:26:18 (EDT)
commitbbd1f85bf17494a8bd3f78678d58d6c8afae4a8a (patch)
treef42dc0a05e70ce7bae354593facd32cbbfb0e3ad /build
parentacd6a8b72031ec9a4988bb0e7cdeed8d60c19c01 (diff)
build: Make use of opkhelper 3.0 features.
Diffstat (limited to 'build')
-rwxr-xr-xbuild11
1 files changed, 4 insertions, 7 deletions
diff --git a/build b/build
index ce703a6..ae6c7d3 100755
--- a/build
+++ b/build
@@ -1,14 +1,11 @@
#! /usr/bin/make -f
build:
- cd src && \
- make -j $${JOBS:-1} && \
- cd ..
+ oh-autobuild -j $${JOBS:-1}
install:
- cd src && \
- make CONFIG_PREFIX=$$(pwd)/../dest install && \
- cd ..
- #oh-strip
+ oh-autoinstall
+ oh-fixperms
+ oh-strip
chmod u+s dest/bin/busybox
oh-installfiles