mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
open-vm-tools: use 'kernel_version'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
c7eed07a23
commit
e2299526de
@ -36,8 +36,6 @@ PKG_LONGDESC="open-vm-tools: open source implementation of VMware Tools"
|
|||||||
PKG_IS_ADDON="no"
|
PKG_IS_ADDON="no"
|
||||||
PKG_AUTORECONF="yes"
|
PKG_AUTORECONF="yes"
|
||||||
|
|
||||||
OPENVMTOOLS_KERNEL_VER=$(basename $(ls -d $ROOT/$BUILD/linux-[0-9]*)| sed 's|linux-||g')
|
|
||||||
|
|
||||||
PKG_CONFIGURE_OPTS_TARGET="--disable-docs \
|
PKG_CONFIGURE_OPTS_TARGET="--disable-docs \
|
||||||
--disable-tests \
|
--disable-tests \
|
||||||
--without-pam \
|
--without-pam \
|
||||||
@ -47,14 +45,14 @@ PKG_CONFIGURE_OPTS_TARGET="--disable-docs \
|
|||||||
--without-x \
|
--without-x \
|
||||||
--without-icu \
|
--without-icu \
|
||||||
--without-procps \
|
--without-procps \
|
||||||
--with-kernel-release=$OPENVMTOOLS_KERNEL_VER \
|
--with-kernel-release=`kernel_version` \
|
||||||
--with-linuxdir=$(ls -d $ROOT/$BUILD/linux-*)"
|
--with-linuxdir=`kernel_path`"
|
||||||
|
|
||||||
PKG_MAKE_OPTS_TARGET="CFLAGS+=-DG_DISABLE_DEPRECATED"
|
PKG_MAKE_OPTS_TARGET="CFLAGS+=-DG_DISABLE_DEPRECATED"
|
||||||
|
|
||||||
makeinstall_target() {
|
makeinstall_target() {
|
||||||
mkdir -p $INSTALL/lib/modules/$OPENVMTOOLS_KERNEL_VER/open-vm-tools
|
mkdir -p $INSTALL/lib/modules/`kernel_version`/open-vm-tools
|
||||||
cp -PR ../modules/linux/vmxnet/vmxnet.ko $INSTALL/lib/modules/$ISCSI_KERNEL_VER/open-vm-tools
|
cp -PR ../modules/linux/vmxnet/vmxnet.ko $INSTALL/lib/modules/`kernel_version`/open-vm-tools
|
||||||
|
|
||||||
mkdir -p $INSTALL/usr/lib
|
mkdir -p $INSTALL/usr/lib
|
||||||
cp -PR libvmtools/.libs/libvmtools.so* $INSTALL/usr/lib
|
cp -PR libvmtools/.libs/libvmtools.so* $INSTALL/usr/lib
|
||||||
|
Loading…
x
Reference in New Issue
Block a user