
Upstream changes: 3789c3c00 build: determine toolchain tools dynamically ccbfd01d9 fix(tools): update the fiptool and certtool to fix POSIX build 7c4e1eea6 build: unify verbosity handling 10327628c Merge "feat(stm32mp2): add ddr-fw parameter for fiptool" into integration a11230ad0 refactor(fiptool): change all occurrences of RSS to RSE e494afc05 feat(stm32mp2): add ddr-fw parameter for fiptool ffb774212 build: use new toolchain variables for tools cc277de81 build: refactor toolchain detection 503cf9927 refactor(juno): move plat_def_uuid_config to fiptool 4d4fec281 feat(fiptool): add ability to build statically 352366ede refactor(ethos-n): move build flags to ethosn_npu.mk aa57ce632 build(tools): avoid unnecessary link d4affdce8 Merge "fix(stm32mp1): add void entry in plat_def_toc_entries" into integration 570a23099 fix(fiptool): move juno plat_fiptool.mk 8214ecdab fix(stm32mp1): add void entry in plat_def_toc_entries Signed-off-by: Daniel Golle <daniel@makrotopia.org>
23 lines
496 B
Diff
23 lines
496 B
Diff
--- a/tools/fiptool/fiptool.c
|
|
+++ b/tools/fiptool/fiptool.c
|
|
@@ -19,6 +19,9 @@
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
+#include <unistd.h>
|
|
+
|
|
+#define uuid_t fiptool_uuid_t
|
|
|
|
#include "fiptool.h"
|
|
#include "tbbr_config.h"
|
|
--- a/tools/fiptool/fiptool_platform.h
|
|
+++ b/tools/fiptool/fiptool_platform.h
|
|
@@ -12,6 +12,7 @@
|
|
#ifndef FIPTOOL_PLATFORM_H
|
|
#define FIPTOOL_PLATFORM_H
|
|
|
|
+#define _DARWIN_C_SOURCE
|
|
#ifndef _MSC_VER
|
|
|
|
/* Not Visual Studio, so include Posix Headers. */
|