Network.dsc.inc 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. ## @file
  2. # Network DSC include file for Platform DSC
  3. #
  4. # This file includes all required information to enable Network features.
  5. # It can be included to a platform DSC file by using "!include NetworkPkg/Network.dsc.inc".
  6. #
  7. # This file defines one build flag PLATFORMX64_ENABLE to support
  8. # IA32 PEI and X64 DXE platform. Its default value is FALSE.
  9. #
  10. # Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>
  11. #
  12. # SPDX-License-Identifier: BSD-2-Clause-Patent
  13. #
  14. ##
  15. [Defines]
  16. !include NetworkPkg/NetworkDefines.dsc.inc
  17. !ifndef PLATFORMX64_ENABLE
  18. #
  19. # PLATFORMX64_ENABLE is set to TRUE when PEI is IA32 and DXE is X64 platform
  20. #
  21. DEFINE PLATFORMX64_ENABLE = FALSE
  22. !endif
  23. [PcdsFixedAtBuild]
  24. !include NetworkPkg/NetworkPcds.dsc.inc
  25. [LibraryClasses]
  26. !include NetworkPkg/NetworkLibs.dsc.inc
  27. !if $(PLATFORMX64_ENABLE) == TRUE
  28. [Components.X64]
  29. !include NetworkPkg/NetworkComponents.dsc.inc
  30. !else
  31. [Components.IA32, Components.X64, Components.ARM, Components.AARCH64]
  32. !include NetworkPkg/NetworkComponents.dsc.inc
  33. !endif