# HG changeset patch # User Nathan Neulinger # Date 1442629620 0 # Node ID 9df1510d522191a6843c530eaecfd21994cd0cca # Parent 0ffd89c64ef53152683da1663ccb401fa3723419 open-vm-tools: only build modules diff -r 0ffd89c64ef5 -r 9df1510d5221 linux64-open-vm-tools-kernel/receipt --- a/linux64-open-vm-tools-kernel/receipt Sat Sep 19 01:56:55 2015 +0000 +++ b/linux64-open-vm-tools-kernel/receipt Sat Sep 19 02:27:00 2015 +0000 @@ -15,13 +15,13 @@ PROVIDE="open-vm-tools-kernel:linux64" DEPENDS="shutdown glib libffi libmspack open-vm-tools linux64" -BUILD_DEPENDS="autoconf automake libtool linux-source linux64-module-headers glib-dev libffi-dev libdnet-dev libmspack-dev slitaz-toolchain" +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" # Rules to configure and make the package. compile_rules() { - [ -d /lib/modules/$(uname -r)/source ] || get-linux-source + [ -d /lib/modules/${kvers}-slitaz/source ] || get-linux-source cd open-vm-tools sed -i -e "s/-Werror//" configure.ac @@ -34,8 +34,11 @@ --without-gtkmm \ --without-xmlsecurity \ --without-xerces \ - $CONFIGURE_ARGS && - make && make DESTDIR=$install install + $CONFIGURE_ARGS && \ + make LINUXINCLUDE=/usr/src/linux-3.2.71-slitaz64/build/include && \ + make LINUXINCLUDE=/usr/src/linux-3.2.71-slitaz64/build/include DESTDIR=$install install + + #--with-linuxdir=/usr/src/linux-${kvers}-slitaz64 \ } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r 0ffd89c64ef5 -r 9df1510d5221 open-vm-tools-kernel/receipt --- a/open-vm-tools-kernel/receipt Sat Sep 19 01:56:55 2015 +0000 +++ b/open-vm-tools-kernel/receipt Sat Sep 19 02:27:00 2015 +0000 @@ -19,7 +19,7 @@ # Rules to configure and make the package. compile_rules() { - [ -d /lib/modules/$(uname -r)/source ] || get-linux-source + [ -d /lib/modules/${kvers}-slitaz/source ] || get-linux-source cd open-vm-tools sed -i -e "s/-Werror//" configure.ac @@ -32,7 +32,7 @@ --without-gtkmm \ --without-xmlsecurity \ --without-xerces \ - $CONFIGURE_ARGS && + $CONFIGURE_ARGS && cd modules && \ make && make DESTDIR=$install install }