-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
package/hss-payload-generator: add host package dependencies
Add lib-yaml and lib-elfutils as host dependencies to build the hss payload generator tool as part of the buildroot build. By doing this, there's no need of installing libelf-dev and libyaml-elf as a system dependency. Signed-off-by: Valentina Fernandez <valentina.fernandezalanis@microchip.com> Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
- Loading branch information
Showing
2 changed files
with
31 additions
and
1 deletion.
There are no files selected for viewing
29 changes: 29 additions & 0 deletions
29
package/hss-payload-generator/add-support-for-host-includes.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
From e764765cc9ca9ad5965c72829ceb468a4ff58c66 Mon Sep 17 00:00:00 2001 | ||
From: Valentina Fernandez <valentina.fernandezalanis@microchip.com> | ||
Date: Wed, 16 Nov 2022 12:28:21 +0000 | ||
Subject: [PATCH] fix(hss-payload-generator): add support for additional host | ||
include files | ||
|
||
Update the hss-payload-generator makefile to allow passing additional | ||
include paths as an argument when using the make command | ||
|
||
Signed-off-by: Valentina Fernandez <valentina.fernandezalanis@microchip.com> | ||
--- | ||
tools/hss-payload-generator/Makefile | 1 + | ||
1 file changed, 1 insertion(+) | ||
|
||
diff --git a/tools/hss-payload-generator/Makefile b/tools/hss-payload-generator/Makefile | ||
index 74cac4b..6e1efe5 100644 | ||
--- a/tools/hss-payload-generator/Makefile | ||
+++ b/tools/hss-payload-generator/Makefile | ||
@@ -54,6 +54,7 @@ CFLAGS= -g3 -ggdb -std=gnu11 -O3 \ | ||
INCLUDES=\ | ||
-I. \ | ||
-I../../include \ | ||
+ $(HOST_INCLUDES) | ||
|
||
LIBS=\ | ||
-lyaml \ | ||
-- | ||
2.25.1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters