From: VMware, Inc <> Date: Mon, 22 Mar 2010 22:12:39 +0000 (-0700) Subject: Fix tools build X-Git-Tag: 2010.03.20-243334~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=44704ee73e677aad1cb2da697bf0d9a9810e1d8c;p=thirdparty%2Fopen-vm-tools.git Fix tools build Signed-off-by: Marcelo Vanzin --- diff --git a/open-vm-tools/lib/include/x86vendor.h b/open-vm-tools/lib/include/x86vendor.h new file mode 100644 index 000000000..ae6966a7a --- /dev/null +++ b/open-vm-tools/lib/include/x86vendor.h @@ -0,0 +1,51 @@ + +/********************************************************* + * Copyright (C) 1998-2008 VMware, Inc. All rights reserved. + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU Lesser General Public License as published + * by the Free Software Foundation version 2.1 and no later version. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY + * or FITNESS FOR A PARTICULAR PURPOSE. See the Lesser GNU General Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + *********************************************************/ + +/********************************************************* + * The contents of this file are subject to the terms of the Common + * Development and Distribution License (the "License") version 1.0 + * and no later version. You may not use this file except in + * compliance with the License. + * + * You can obtain a copy of the License at + * http://www.opensource.org/licenses/cddl1.php + * + * See the License for the specific language governing permissions + * and limitations under the License. + * + *********************************************************/ + +#ifndef _X86VENDOR_H_ +#define _X86VENDOR_H_ + +/* + * CPU vendors + */ + +typedef enum { + CPUID_VENDOR_UNKNOWN, + CPUID_VENDOR_COMMON, + CPUID_VENDOR_INTEL, + CPUID_VENDOR_AMD, + CPUID_VENDOR_CYRIX, + CPUID_VENDOR_VIA, + CPUID_NUM_VENDORS +} CpuidVendor; + +#endif diff --git a/open-vm-tools/modules/linux/dkms.sh b/open-vm-tools/modules/linux/dkms.sh index d685aa9e3..7748e5557 100644 --- a/open-vm-tools/modules/linux/dkms.sh +++ b/open-vm-tools/modules/linux/dkms.sh @@ -57,6 +57,7 @@ SHARED_HEADERS="$SHARED_HEADERS vmware_pack_begin.h" SHARED_HEADERS="$SHARED_HEADERS vmware_pack_end.h" SHARED_HEADERS="$SHARED_HEADERS vmware_pack_init.h" SHARED_HEADERS="$SHARED_HEADERS x86cpuid.h" +SHARED_HEADERS="$SHARED_HEADERS x86vendor.h" SHARED_HEADERS="$SHARED_HEADERS x86cpuid_asm.h" rm -rf $dst