Network.dsc.inc 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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. # Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All rights reserved.<BR>
  12. #
  13. # SPDX-License-Identifier: BSD-2-Clause-Patent
  14. #
  15. ##
  16. [Defines]
  17. !include NetworkPkg/NetworkDefines.dsc.inc
  18. !ifndef PLATFORMX64_ENABLE
  19. #
  20. # PLATFORMX64_ENABLE is set to TRUE when PEI is IA32 and DXE is X64 platform
  21. #
  22. DEFINE PLATFORMX64_ENABLE = FALSE
  23. !endif
  24. [PcdsFixedAtBuild]
  25. !include NetworkPkg/NetworkPcds.dsc.inc
  26. [LibraryClasses]
  27. !include NetworkPkg/NetworkLibs.dsc.inc
  28. !if $(PLATFORMX64_ENABLE) == TRUE
  29. [Components.X64]
  30. !include NetworkPkg/NetworkComponents.dsc.inc
  31. !else
  32. [Components.IA32, Components.X64, Components.ARM, Components.AARCH64, Components.RISCV64]
  33. !include NetworkPkg/NetworkComponents.dsc.inc
  34. !endif