Network.dsc.inc 1.3 KB

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