]>
Commit | Line | Data |
---|---|---|
23ea5bfe LG |
1 | ## @file\r |
2 | # Network DSC include file for Platform DSC\r | |
3 | #\r | |
4 | # This file includes all required information to enable Network features.\r | |
5 | # It can be included to a platform DSC file by using "!include NetworkPkg/Network.dsc.inc".\r | |
6 | #\r | |
7 | # This file defines one build flag PLATFORMX64_ENABLE to support\r | |
8 | # IA32 PEI and X64 DXE platform. Its default value is FALSE.\r | |
9 | #\r | |
1aa2cf05 | 10 | # Copyright (c) 2019 - 2020, Intel Corporation. All rights reserved.<BR>\r |
8293e676 | 11 | # Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All rights reserved.<BR>\r |
e0200cc4 | 12 | # Copyright (c) 2022, Loongson Technology Corporation Limited. All rights reserved.<BR>\r |
23ea5bfe LG |
13 | #\r |
14 | # SPDX-License-Identifier: BSD-2-Clause-Patent\r | |
15 | #\r | |
16 | ##\r | |
17 | \r | |
18 | [Defines]\r | |
19 | !include NetworkPkg/NetworkDefines.dsc.inc\r | |
20 | \r | |
21 | !ifndef PLATFORMX64_ENABLE\r | |
22 | #\r | |
23 | # PLATFORMX64_ENABLE is set to TRUE when PEI is IA32 and DXE is X64 platform\r | |
24 | #\r | |
25 | DEFINE PLATFORMX64_ENABLE = FALSE\r | |
26 | !endif\r | |
27 | \r | |
28 | [PcdsFixedAtBuild]\r | |
29 | !include NetworkPkg/NetworkPcds.dsc.inc\r | |
30 | \r | |
31 | [LibraryClasses]\r | |
32 | !include NetworkPkg/NetworkLibs.dsc.inc\r | |
33 | \r | |
1aa2cf05 ZG |
34 | [BuildOptions]\r |
35 | !include NetworkPkg/NetworkBuildOptions.dsc.inc\r | |
36 | \r | |
23ea5bfe LG |
37 | !if $(PLATFORMX64_ENABLE) == TRUE\r |
38 | [Components.X64]\r | |
39 | !include NetworkPkg/NetworkComponents.dsc.inc\r | |
40 | \r | |
41 | !else\r | |
e0200cc4 | 42 | [Components.IA32, Components.X64, Components.ARM, Components.AARCH64, Components.RISCV64, Components.LOONGARCH64]\r |
23ea5bfe LG |
43 | !include NetworkPkg/NetworkComponents.dsc.inc\r |
44 | \r | |
45 | !endif\r |