summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMike Auty <ikelos@gentoo.org>2007-03-26 22:31:41 +0000
committerMike Auty <ikelos@gentoo.org>2007-03-26 22:31:41 +0000
commitffd7156209aaac642e02fc91c47ff6573ba2e0ab (patch)
tree544cb6d98fef91a4b42b92e07ca997345d457a2e /eclass
parentRemove ~amd64 from vmware-server-tools. (diff)
downloadvmware-ffd7156209aaac642e02fc91c47ff6573ba2e0ab.tar.gz
vmware-ffd7156209aaac642e02fc91c47ff6573ba2e0ab.tar.bz2
vmware-ffd7156209aaac642e02fc91c47ff6573ba2e0ab.zip
Fix the location of BUILD_TARGETS so that all the variables are correctly initialized. Bug 172337, thanks Georgi.
svn path=/trunk/; revision=153
Diffstat (limited to 'eclass')
-rw-r--r--eclass/vmware-mod.eclass5
1 files changed, 2 insertions, 3 deletions
diff --git a/eclass/vmware-mod.eclass b/eclass/vmware-mod.eclass
index 6ed25f0..f524481 100644
--- a/eclass/vmware-mod.eclass
+++ b/eclass/vmware-mod.eclass
@@ -29,11 +29,10 @@ S="${WORKDIR}"
EXPORT_FUNCTIONS pkg_setup src_unpack src_install
-# Must define VMWARE_VER to make, otherwise it'll try and run getversion.pl
-BUILD_TARGETS="auto-build VMWARE_VER=${VMWARE_VER} KERNEL_DIR=${KERNEL_DIR} KBUILD_OUTPUT=${KV_OUT_DIR}"
-
vmware-mod_pkg_setup() {
linux-mod_pkg_setup
+ # Must define VMWARE_VER to make, otherwise it'll try and run getversion.pl
+ BUILD_TARGETS="auto-build VMWARE_VER=${VMWARE_VER} KERNEL_DIR=${KERNEL_DIR} KBUILD_OUTPUT=${KV_OUT_DIR}"
vmware_determine_product