summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2014-08-02 22:41:58 (EDT)
committer P. J. McDermott <pj@pehjota.net>2014-08-02 22:41:58 (EDT)
commit852a57213f981010e84d56efc0600507985001bf (patch)
treeb5fae2860676d152896282b75a1f5f65eee40643
parent2d74ff141a872f5024bdeb32a80ba13506db96c0 (diff)
build: Add "install" target
-rwxr-xr-xbuild8
1 files changed, 8 insertions, 0 deletions
diff --git a/build b/build
index fd1136f..ec6f626 100755
--- a/build
+++ b/build
@@ -9,3 +9,11 @@ build:
cp ../config src/wpa_supplicant/.config
oh-autobuild -B src/wpa_supplicant/
touch $@
+
+install: build
+ oh-autoinstall -B src/wpa_supplicant/ -- \
+ LIBDIR=/usr/lib/$(OPK_HOST_ARCH) \
+ BINDIR=/usr/sbin
+ oh-fixperms
+ oh-strip
+ oh-installfiles