]> git.proxmox.com Git - mirror_edk2.git/blobdiff - DuetPkg/BootSector/BootSector.inf
Port Intel .asm to GNU .S
[mirror_edk2.git] / DuetPkg / BootSector / BootSector.inf
index 149d4e49f6c000002c184dbe02d8c035764e5673..39d81463d8d16ae6bd1759bdc5308eb4f12d924c 100644 (file)
@@ -6,25 +6,32 @@
   VERSION_STRING                 = 1.0\r
   EDK_RELEASE_VERSION            = 0x00020000\r
   EFI_SPECIFICATION_VERSION      = 0x00020000\r
+  CUSTOM_MAKEFILE                = MSFT|Makefile\r
+  CUSTOM_MAKEFILE                = GCC|GnuMakefile
 \r
 [Packages]\r
   MdePkg/MdePkg.dec\r
   DuetPkg/DuetPkg.dec\r
 \r
 [Sources]\r
-  bootsect.asm\r
-  bs16.asm\r
-  bs32.asm\r
-  Gpt.asm\r
-  Mbr.asm\r
-  Start.asm\r
-  Start16.asm\r
-  Start32.asm\r
-  Efi32.asm\r
+  bootsect.asm | INTEL\r
+  bootsect.asm | MSFT\r
+  bs16.asm | INTEL\r
+  bs16.asm | MSFT\r
+  bs32.asm | INTEL\r
+  bs32.asm | MSFT\r
+# bs32.S | GCC ## It can not be compiled. It is added just for version control.\r
+  Gpt.asm | INTEL\r
+  Gpt.asm | MSFT\r
+# Gpt.S | GCC ## It can not be compiled. It is added just for version control.\r
+  Mbr.asm | INTEL\r
+  Mbr.asm | MSFT\r
+  start.asm | INTEL\r
+  start.asm | MSFT\r
+  start16.asm | INTEL\r
+  start16.asm | MSFT\r
+  start32.asm | INTEL\r
+  start32.asm | MSFT\r
+  efi32.asm | INTEL\r
+  efi32.asm | MSFT\r
 \r
-[BuildOptions.common]\r
-  #MSFT:*_*_IA32_DLINK_FLAGS = /out:"$(BIN_DIR)\SecMain.exe" /base:0x10000000 /pdb:"$(BIN_DIR)\SecMain.pdb" /LIBPATH:"$(VCINSTALLDIR)\Lib" /LIBPATH:"$(VCINSTALLDIR)\PlatformSdk\Lib" /NOLOGO /SUBSYSTEM:CONSOLE /NODEFAULTLIB /IGNORE:4086 /MAP /OPT:REF /DEBUG /MACHINE:I386 /LTCG Kernel32.lib MSVCRTD.lib Gdi32.lib User32.lib Winmm.lib\r
-  MSFT:*_*_IA32_CC_FLAGS = /nologo /W4 /WX /Gy /c /D UNICODE /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /EHs-c- /GF /Gs8192 /Zi /Gm /D _CRT_SECURE_NO_WARNINGS /D _CRT_SECURE_NO_DEPRECATE\r
-  MSFT:*_*_IA32_PP_FLAGS = /nologo /E /TC /FI$(DEST_DIR_DEBUG)/AutoGen.h\r
-  MSFT:*_*_IA32_ASM_FLAGS = /nologo /W3 /WX /c /coff /Cx /Zd /W0 /Zi\r
-  MSFT:*_*_IA32_ASMLINK_FLAGS       = /link /nologo /tiny\r