]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Add a work around Dummy.c file to avoid autogen error to GCC tool chain family.
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 28 Mar 2008 11:51:43 +0000 (11:51 +0000)
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 28 Mar 2008 11:51:43 +0000 (11:51 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4963 6f19259b-4bc3-4df7-8a09-765794883524

EdkCompatibilityPkg/Foundation/Library/CompilerStub/CompilerStubLib.inf
EdkCompatibilityPkg/Foundation/Library/CompilerStub/Dummy.c [new file with mode: 0644]

index d1ebfc9441ecf5013b19a3f9fb073b8ce834bcd2..9a97656cdd7aa0e0cf7bed3089329411a8712f65 100644 (file)
@@ -24,6 +24,7 @@ BASE_NAME       = CompilerStub
 COMPONENT_TYPE  = LIBRARY\r
 \r
 [sources.common] \r
+  Dummy.c\r
 \r
 [sources.ia32]\r
   Ia32/memcpyRep1.asm\r
diff --git a/EdkCompatibilityPkg/Foundation/Library/CompilerStub/Dummy.c b/EdkCompatibilityPkg/Foundation/Library/CompilerStub/Dummy.c
new file mode 100644 (file)
index 0000000..c033d84
--- /dev/null
@@ -0,0 +1,21 @@
+/*++\r
+\r
+Copyright (c) 2008, Intel Corporation                                                         \r
+All rights reserved. This program and the accompanying materials                          \r
+are licensed and made available under the terms and conditions of the BSD License         \r
+which accompanies this distribution.  The full text of the license may be found at        \r
+http://opensource.org/licenses/bsd-license.php                                            \r
+                                                                                          \r
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,                     \r
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.             \r
+\r
+Module Name:\r
+  memcpy.c\r
+\r
+Abstract:\r
+\r
+  This file is purely empty as a work around for CompilerStubLib to pass GCC build.\r
\r
+--*/\r
+\r
+extern int __make_me_compile_correctly;\r