]> git.proxmox.com Git - mirror_edk2.git/blobdiff - UnixPkg/UnixPkgX64.dsc
Update DebugLib to provide support for "err" command in the EFI Shell to adjust the...
[mirror_edk2.git] / UnixPkg / UnixPkgX64.dsc
index 95a78773c75a27af55adb861ebb4f329cf6294c3..466339cff1f67feb5cba915cfc868fa62b266d5a 100644 (file)
   gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow|L"Setup"|gEfiUnixSystemConfigGuid|0x4|25\r
   gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdPlatformBootTimeOut|L"Timeout"|gEfiGlobalVariableGuid|0x0|10\r
 \r
+[BuildOptions]\r
+  # Magic to make system include files work\r
+  XCODE:*_XCLANG_*_CC_FLAGS = -U __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ -D __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__=1060 -D __APPLE__ -I/System/Library/Frameworks -I/Library/Frameworks\r
+  XCODE:*_XCLANG_*_PP_FLAGS = -U __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ -D __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__=1060 -D __APPLE__ -I/System/Library/Frameworks -I/Library/Frameworks\r
+\r
+\r
 ###################################################################################################\r
 #\r
 # Components Section - list of the modules and components that will be processed by compilation\r
   #\r
   # Network stack drivers\r
   #\r
+!if $(NETWORK_SUPPORT)\r
   UnixPkg/UnixSnpDxe/UnixSnpDxe.inf\r
+!endif\r
   MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf\r
   MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf\r
   MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf\r
       PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
   }\r
 \r
+!if $(COMPILE_BINS)\r
   FatPkg/EnhancedFatDxe/Fat.inf\r
+!endif\r
 !endif  \r