Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inputstream.adaptive addon (cmake/make) no build target? #5077

Open
donicrosby opened this issue Sep 2, 2017 · 1 comment
Open

Inputstream.adaptive addon (cmake/make) no build target? #5077

donicrosby opened this issue Sep 2, 2017 · 1 comment

Comments

@donicrosby
Copy link

Note noobish question:

I'm trying to build from source to add a wifi driver, I am getting hung up on getting cmake to build the inputstream.adaptive. Every time I go to build the image I get an error saying there is no make target so it errors out.

This is the package.mk I am using for it:
`
>>>HEADER<<<

PKG_NAME="inputstream.adaptive"
PKG_VERSION="08ea9d6"
PKG_SHA256="d3e8093718ec668f54b068d05246da17f659a3ca677b931dfe3c769fff380197"
PKG_LICENSE="GPL"
PKG_SITE="http://www.kodi.tv"
PKG_URL="https://github.com/peak3d/inputstream.adaptive/archive/$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain kodi-platform expat"
PKG_PRIORITY="optional"
PKG_SECTION=""
PKG_SHORTDESC="inputstream.adaptive"
PKG_LONGDESC="inputstream.adaptive"

PKG_IS_ADDON="yes"
PKG_ADDON_TYPE="kodi.inputstream"

PKG_CMAKE_OPTS_TARGET="-DCMAKE_MODULE_PATH=$SYSROOT_PREFIX/usr/share/kodi
-DCMAKE_PREFIX_PATH=$SYSROOT_PREFIX/usr"

post_makeinstall_target() {
cd $ROOT/$PKG_BUILD/wvdecrypter
cmake -DCMAKE_TOOLCHAIN_FILE=$CMAKE_CONF
-DCMAKE_INSTALL_PREFIX=/usr
-DCMAKE_MODULE_PATH=$SYSROOT_PREFIX/usr/share/kodi
-DCMAKE_PREFIX_PATH=$SYSROOT_PREFIX/usr
.
make

mkdir -p $INSTALL/usr/lib/kodi/addons/$PKG_NAME/lib
cp -P libssd_wv.so $INSTALL/usr/lib/kodi/addons/$PKG_NAME/lib
}

addon() {
mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/lib
cp -P $PKG_BUILD/wvdecrypter/libssd_wv.so $ADDON_BUILD/$PKG_ADDON_ID/lib
}
`

I'm not clear how to get the openelec make to use cmake instead of just make which I think would fix this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@donicrosby and others