2019-04-25 14:37:35 +02:00
|
|
|
## @file
|
|
|
|
# Network DSC include file for Platform DSC
|
|
|
|
#
|
|
|
|
# This file includes all required information to enable Network features.
|
|
|
|
# It can be included to a platform DSC file by using "!include NetworkPkg/Network.dsc.inc".
|
|
|
|
#
|
|
|
|
# This file defines one build flag PLATFORMX64_ENABLE to support
|
|
|
|
# IA32 PEI and X64 DXE platform. Its default value is FALSE.
|
|
|
|
#
|
2020-11-12 06:55:49 +01:00
|
|
|
# Copyright (c) 2019 - 2020, Intel Corporation. All rights reserved.<BR>
|
2020-04-07 10:04:14 +02:00
|
|
|
# Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All rights reserved.<BR>
|
2021-11-12 08:27:29 +01:00
|
|
|
# Copyright (c) 2022, Loongson Technology Corporation Limited. All rights reserved.<BR>
|
2019-04-25 14:37:35 +02:00
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
|
|
#
|
|
|
|
##
|
|
|
|
|
|
|
|
[Defines]
|
|
|
|
!include NetworkPkg/NetworkDefines.dsc.inc
|
|
|
|
|
|
|
|
!ifndef PLATFORMX64_ENABLE
|
|
|
|
#
|
|
|
|
# PLATFORMX64_ENABLE is set to TRUE when PEI is IA32 and DXE is X64 platform
|
|
|
|
#
|
|
|
|
DEFINE PLATFORMX64_ENABLE = FALSE
|
|
|
|
!endif
|
|
|
|
|
|
|
|
[PcdsFixedAtBuild]
|
|
|
|
!include NetworkPkg/NetworkPcds.dsc.inc
|
|
|
|
|
|
|
|
[LibraryClasses]
|
|
|
|
!include NetworkPkg/NetworkLibs.dsc.inc
|
|
|
|
|
2020-11-12 06:55:49 +01:00
|
|
|
[BuildOptions]
|
|
|
|
!include NetworkPkg/NetworkBuildOptions.dsc.inc
|
|
|
|
|
2019-04-25 14:37:35 +02:00
|
|
|
!if $(PLATFORMX64_ENABLE) == TRUE
|
|
|
|
[Components.X64]
|
|
|
|
!include NetworkPkg/NetworkComponents.dsc.inc
|
|
|
|
|
|
|
|
!else
|
2021-11-12 08:27:29 +01:00
|
|
|
[Components.IA32, Components.X64, Components.ARM, Components.AARCH64, Components.RISCV64, Components.LOONGARCH64]
|
2019-04-25 14:37:35 +02:00
|
|
|
!include NetworkPkg/NetworkComponents.dsc.inc
|
|
|
|
|
|
|
|
!endif
|