Skip to content

Commit

Permalink
MdePkg: Remove dependency on mipisyst
Browse files Browse the repository at this point in the history
Rather than include mipisyst headers in MdePkg.dec, reference
$(MIPI_HEADER_PATH)/mipi_syst.h in MipiSysTLib.inf's Sources. This will
also generate a -I for the path, but only when building MipiSysTLib.  As
a result, the mipisyst submodule will only be needed by projects that
build MipiSysTLib.

Jira TEGRAUEFI-2754

Change-Id: I78afe6c56b83ab1c882910b851eedd523f351b2a
Signed-off-by: Jake Garver <[email protected]>
  • Loading branch information
jgarver committed Oct 23, 2023
1 parent a5cbb59 commit 29a38b4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion MdePkg/Library/MipiSysTLib/MipiSysTLib.inf
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
## @file
# A library providing funcitons to communicate with mipi sys-T submodule.
# A library providing functions to communicate with mipi sys-T submodule.
#
# Copyright (c) 2023, Intel Corporation. All rights reserved.<BR>
# Copyright (c) 2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
#
# SPDX-License-Identifier: BSD-2-Clause-Patent
#
Expand Down Expand Up @@ -36,6 +37,7 @@
mipi_syst.h
Platform.c
Platform.h
$(MIPI_HEADER_PATH)/../.
$(MIPI_HEADER_PATH)/api.h
$(MIPI_HEADER_PATH)/crc32.h
$(MIPI_HEADER_PATH)/compiler.h
Expand Down
2 changes: 1 addition & 1 deletion MdePkg/MdePkg.dec
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
# Copyright (c) 2021 - 2022, Arm Limited. All rights reserved.<BR>
# Copyright (C) 2023 Advanced Micro Devices, Inc. All rights reserved.<BR>
# Copyright (c) 2023, Ampere Computing LLC. All rights reserved.<BR>
# Copyright (c) 2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
#
# SPDX-License-Identifier: BSD-2-Clause-Patent
#
Expand All @@ -29,7 +30,6 @@
Include
Test/UnitTest/Include
Test/Mock/Include
Library/MipiSysTLib/mipisyst/library/include

[Includes.IA32]
Include/Ia32
Expand Down

0 comments on commit 29a38b4

Please sign in to comment.