From 0bd0043ae01e54ca5be36a6adfa56d27281443fd Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Sat, 4 Jan 2014 16:58:19 +0100 Subject: [PATCH] open-vm-tools: partially revert https://github.com/OpenELEC/OpenELEC.tv/commit/e2299526defce66b3371dcc70051c1827fb2a677#commitcomment-4984170 for now Signed-off-by: Stephan Raue --- packages/sysutils/open-vm-tools/package.mk | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/sysutils/open-vm-tools/package.mk b/packages/sysutils/open-vm-tools/package.mk index 5bfc7ac26e..542043a7d2 100644 --- a/packages/sysutils/open-vm-tools/package.mk +++ b/packages/sysutils/open-vm-tools/package.mk @@ -34,6 +34,8 @@ PKG_LONGDESC="open-vm-tools: open source implementation of VMware Tools" PKG_IS_ADDON="no" PKG_AUTORECONF="yes" +OPENVMTOOLS_KERNEL_VER=$(basename $(ls -d $ROOT/$BUILD/linux-[0-9]*)| sed 's|linux-||g') + PKG_CONFIGURE_OPTS_TARGET="--disable-docs \ --disable-tests \ --without-pam \ @@ -43,8 +45,8 @@ PKG_CONFIGURE_OPTS_TARGET="--disable-docs \ --without-x \ --without-icu \ --without-procps \ - --with-kernel-release=`kernel_version` \ - --with-linuxdir=`kernel_path`" + --with-kernel-release=$OPENVMTOOLS_KERNEL_VER \ + --with-linuxdir=$(ls -d $ROOT/$BUILD/linux-*)" PKG_MAKE_OPTS_TARGET="CFLAGS+=-DG_DISABLE_DEPRECATED"