TianoCore EDK2 master
Loading...
Searching...
No Matches
Network.dsc.inc
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
18[Defines]
19!include NetworkPkg/NetworkDefines.dsc.inc
20
21!ifndef PLATFORMX64_ENABLE
22 #
23 # PLATFORMX64_ENABLE is set to TRUE when PEI is IA32 and DXE is X64 platform
24 #
25 DEFINE PLATFORMX64_ENABLE = FALSE
26!endif
27
28[PcdsFixedAtBuild]
29!include NetworkPkg/NetworkFixedPcds.dsc.inc
30
31[PcdsDynamicDefault]
32!include NetworkPkg/NetworkDynamicPcds.dsc.inc
33
34[LibraryClasses]
35!include NetworkPkg/NetworkLibs.dsc.inc
36
37[BuildOptions]
38!include NetworkPkg/NetworkBuildOptions.dsc.inc
39
40!if $(PLATFORMX64_ENABLE) == TRUE
41[Components.X64]
42!include NetworkPkg/NetworkComponents.dsc.inc
43
44!else
45[Components.IA32, Components.X64, Components.ARM, Components.AARCH64, Components.RISCV64, Components.LOONGARCH64]
46!include NetworkPkg/NetworkComponents.dsc.inc
47
48!endif
#define TRUE
Definition: Base.h:301
#define FALSE
Definition: Base.h:307