UnixPkg: Use build flag to prevent FatPkg from being required

In the default case we use FatBinPkg from the edk2 tree.
"-D COMPILE_BINS" can be used on the command line if FatPkg
is present and needs to be built.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11345 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
jljusten 2011-03-05 08:08:23 +00:00
parent b80022da3b
commit 2dcef68996
3 changed files with 9 additions and 2 deletions

View File

@ -327,5 +327,7 @@
PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
} }
#FatPkg/EnhancedFatDxe/Fat.inf !if $(COMPILE_BINS)
FatPkg/EnhancedFatDxe/Fat.inf
!endif

View File

@ -247,8 +247,11 @@ INF UnixPkg/UnixSnpDxe/UnixSnpDxe.inf
# #
# Build from source or use checked in binary # Build from source or use checked in binary
# #
#INF FatPkg/EnhancedFatDxe/Fat.inf !if $(COMPILE_BINS)
INF FatPkg/EnhancedFatDxe/Fat.inf
!else
INF RuleOverride = BINARY USE = IA32 FatBinPkg/EnhancedFatDxe/Fat.inf INF RuleOverride = BINARY USE = IA32 FatBinPkg/EnhancedFatDxe/Fat.inf
!endif
# If you build GccShellPkg you can source level debug shell # If you build GccShellPkg you can source level debug shell
#FILE APPLICATION = PCD(gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile) { #FILE APPLICATION = PCD(gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile) {

View File

@ -328,5 +328,7 @@
PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
} }
!if $(COMPILE_BINS)
FatPkg/EnhancedFatDxe/Fat.inf FatPkg/EnhancedFatDxe/Fat.inf
!endif
!endif !endif