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/NetworkPcds.dsc.inc
|
---|
30 |
|
---|
31 | [LibraryClasses]
|
---|
32 | !include NetworkPkg/NetworkLibs.dsc.inc
|
---|
33 |
|
---|
34 | [BuildOptions]
|
---|
35 | !include NetworkPkg/NetworkBuildOptions.dsc.inc
|
---|
36 |
|
---|
37 | !if $(PLATFORMX64_ENABLE) == TRUE
|
---|
38 | [Components.X64]
|
---|
39 | !include NetworkPkg/NetworkComponents.dsc.inc
|
---|
40 |
|
---|
41 | !else
|
---|
42 | [Components.IA32, Components.X64, Components.ARM, Components.AARCH64, Components.RISCV64, Components.LOONGARCH64]
|
---|
43 | !include NetworkPkg/NetworkComponents.dsc.inc
|
---|
44 |
|
---|
45 | !endif
|
---|