diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-04-04 02:22:46 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-04-04 02:22:46 (EDT) |
commit | 8d3d7d3942fd7621a378c613a3a7b255571fa3a7 (patch) | |
tree | e2cc10a434254b10d1cfeee1904bc87e8dd6482d /build |
Initial commit
Diffstat (limited to 'build')
-rwxr-xr-x | build | 23 |
1 files changed, 23 insertions, 0 deletions
@@ -0,0 +1,23 @@ +#!/usr/bin/make -f + +include ../source.mk + +nop: + +build: + (cd src && cmake -D CMAKE_INSTALL_PREFIX:PATH=/usr \ + -D STATIC_UBOX:BOOL=ON .) + oh-autobuild + touch $@ + +install: build + oh-autoinstall + mv dest/usr/bin/opkg-cl dest/usr/bin/opkg-lede + @# opkg-lede's CMake build system doesn't install these... + cp src/utils/opkg-key dest/usr/bin/opkg-key + sed 's|@opkglibdir@|/var/lib|g' src/utils/update-alternatives.in \ + >dest/usr/bin/update-alternatives + oh-fixperms + oh-strip + oh-installfiles + oh-shlibdeps |