mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
kodi-platform: simplyfing cmake configuration
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
14927c4ba1
commit
69b1e52d3d
@ -32,15 +32,10 @@ PKG_LONGDESC="kodi-platform:"
|
|||||||
PKG_IS_ADDON="no"
|
PKG_IS_ADDON="no"
|
||||||
PKG_AUTORECONF="no"
|
PKG_AUTORECONF="no"
|
||||||
|
|
||||||
configure_target() {
|
PKG_CMAKE_OPTS_TARGET="-DCMAKE_MODULE_PATH=$SYSROOT_PREFIX/usr/lib/kodi \
|
||||||
cmake -DCMAKE_TOOLCHAIN_FILE=$CMAKE_CONF \
|
-DCMAKE_PREFIX_PATH=$SYSROOT_PREFIX/usr \
|
||||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
-DCMAKE_INSTALL_PREFIX_TOOLCHAIN=$SYSROOT_PREFIX/usr \
|
||||||
-DCMAKE_INSTALL_PREFIX_TOOLCHAIN=$SYSROOT_PREFIX/usr \
|
-DBUILD_SHARED_LIBS=0"
|
||||||
-DCMAKE_MODULE_PATH=$SYSROOT_PREFIX/usr/lib/kodi \
|
|
||||||
-DCMAKE_PREFIX_PATH=$SYSROOT_PREFIX/usr \
|
|
||||||
-DBUILD_SHARED_LIBS=0 \
|
|
||||||
..
|
|
||||||
}
|
|
||||||
|
|
||||||
post_makeinstall_target() {
|
post_makeinstall_target() {
|
||||||
rm -rf $INSTALL/usr/lib/kodiplatform
|
rm -rf $INSTALL/usr/lib/kodiplatform
|
||||||
|
Loading…
x
Reference in New Issue
Block a user