From d0e6ecb1a52234c6a271e3dc9b500949184fc858 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Wed, 11 Jun 2014 04:50:05 -0400 Subject: build: Add build and install targets. --- (limited to 'build') diff --git a/build b/build index 2a40656..c4158be 100755 --- a/build +++ b/build @@ -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 -- cgit v0.9.1