wok diff linux64-open-vm-tools-kernel/receipt @ rev 18396

open-vm-tools: only build modules
author Nathan Neulinger <nneul@neulinger.org>
date Sat Sep 19 02:27:00 2015 +0000 (2015-09-19)
parents a5a02262b0bd
children ab0bb7303eff
line diff
     1.1 --- a/linux64-open-vm-tools-kernel/receipt	Fri Sep 18 23:51:57 2015 +0000
     1.2 +++ b/linux64-open-vm-tools-kernel/receipt	Sat Sep 19 02:27:00 2015 +0000
     1.3 @@ -15,13 +15,13 @@
     1.4  PROVIDE="open-vm-tools-kernel:linux64"
     1.5  
     1.6  DEPENDS="shutdown glib libffi libmspack open-vm-tools linux64"
     1.7 -BUILD_DEPENDS="autoconf automake libtool linux-source linux64-module-headers glib-dev libffi-dev libdnet-dev libmspack-dev slitaz-toolchain"
     1.8 +BUILD_DEPENDS="autoconf automake libtool linux-source linux-module-headers linux64-module-headers glib-dev libffi-dev libdnet-dev libmspack-dev slitaz-toolchain uclibc-cross-compiler-x86_64"
     1.9  
    1.10  
    1.11  # Rules to configure and make the package.
    1.12  compile_rules()
    1.13  {
    1.14 -	[ -d /lib/modules/$(uname -r)/source ] || get-linux-source
    1.15 +	[ -d /lib/modules/${kvers}-slitaz/source ] || get-linux-source
    1.16  
    1.17  	cd open-vm-tools
    1.18  	sed -i -e "s/-Werror//" configure.ac
    1.19 @@ -34,8 +34,11 @@
    1.20  		--without-gtkmm \
    1.21  		--without-xmlsecurity \
    1.22  		--without-xerces \
    1.23 -                $CONFIGURE_ARGS &&
    1.24 -        make && make DESTDIR=$install install
    1.25 +                $CONFIGURE_ARGS && \
    1.26 +        make LINUXINCLUDE=/usr/src/linux-3.2.71-slitaz64/build/include && \
    1.27 +	make LINUXINCLUDE=/usr/src/linux-3.2.71-slitaz64/build/include DESTDIR=$install install
    1.28 +
    1.29 +		#--with-linuxdir=/usr/src/linux-${kvers}-slitaz64 \
    1.30  }
    1.31  
    1.32  # Rules to gen a SliTaz package suitable for Tazpkg.