2 # Network DSC include file for Platform DSC
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".
7 # This file defines one build flag PLATFORMX64_ENABLE to support
8 # IA32 PEI and X64 DXE platform. Its default value is FALSE.
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>
14 # SPDX-License-Identifier: BSD-2-Clause-Patent
19 !include NetworkPkg/NetworkDefines.dsc.inc
21 !ifndef PLATFORMX64_ENABLE
23 # PLATFORMX64_ENABLE is set to TRUE when PEI is IA32 and DXE is X64 platform
25 DEFINE PLATFORMX64_ENABLE = FALSE
29 !include NetworkPkg/NetworkPcds.dsc.inc
32 !include NetworkPkg/NetworkLibs.dsc.inc
35 !include NetworkPkg/NetworkBuildOptions.dsc.inc
37 !if $(PLATFORMX64_ENABLE) == TRUE
39 !include NetworkPkg/NetworkComponents.dsc.inc
42 [Components.IA32, Components.X64, Components.ARM, Components.AARCH64, Components.RISCV64, Components.LOONGARCH64]
43 !include NetworkPkg/NetworkComponents.dsc.inc