diff options
author | P. J. McDermott <pj@pehjota.net> | 2014-06-11 04:50:05 (EDT) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2014-06-11 04:50:05 (EDT) |
commit | d0e6ecb1a52234c6a271e3dc9b500949184fc858 (patch) | |
tree | 96435d08cc972dc3e952dbb8b401bac27113f1dc | |
parent | 8f708bd879f31dfb5f2beb0e94a13f0bab7abd5b (diff) |
build: Add build and install targets.
-rwxr-xr-x | build | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -4,3 +4,16 @@ include ../source.mk nop: @: + +build: + oh-autobuild + if [ 'x$(OPK_BUILD_ARCH)' = 'x$(OPK_HOST_ARCH)' ]; then \ + oh-autotest; \ + fi + touch $@ + +install: build + oh-autoinstall -- PREFIX="$${PWD}/dest" + oh-fixperms + oh-strip + #oh-installfiles |