From: VMware, Inc <> Date: Tue, 17 Nov 2009 22:10:00 +0000 (-0800) Subject: Introduce COMMUNITY_SOURCE_AMD_SECRET. X-Git-Tag: 2009.11.16-210370~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f7ebcc08eedcf15e86d1486e7405ffbdd7ad374;p=thirdparty%2Fopen-vm-tools.git Introduce COMMUNITY_SOURCE_AMD_SECRET. Signed-off-by: Marcelo Vanzin --- diff --git a/open-vm-tools/lib/include/community_source.h b/open-vm-tools/lib/include/community_source.h index 5c72e3530..575eb7d6c 100644 --- a/open-vm-tools/lib/include/community_source.h +++ b/open-vm-tools/lib/include/community_source.h @@ -61,6 +61,15 @@ #define EXCLUDE_COMMUNITY_SOURCE(x) x #endif +#undef COMMUNITY_SOURCE_AMD_SECRET +#if !defined(COMMUNITY_SOURCE) || defined(AMD_SOURCE) +/* + * It's ok to include AMD_SECRET source code for non-commsrc, + * or for drops directed at AMD. + */ + #define COMMUNITY_SOURCE_AMD_SECRET +#endif + #undef COMMUNITY_SOURCE_INTEL_SECRET #if !defined(COMMUNITY_SOURCE) || defined(INTEL_SOURCE) /*