add patch to fix build of tools/env
This commit is contained in:
parent
b5af79c725
commit
f66035fa95
28
0001-tools-env-include-compiler.h.patch
Normal file
28
0001-tools-env-include-compiler.h.patch
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
From 329a4c60af68861f40802076495f6892b5403933 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Peter Robinson <pbrobinson@gmail.com>
|
||||||
|
Date: Wed, 9 Dec 2015 06:42:17 +0000
|
||||||
|
Subject: [PATCH] tools: env: include compiler.h
|
||||||
|
|
||||||
|
With gcc 5.2 and later we get a bunch of "error: unknown type name" for
|
||||||
|
'uint8_t', 'uint32_t' and friends.
|
||||||
|
|
||||||
|
Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
|
||||||
|
---
|
||||||
|
tools/env/fw_env.c | 1 +
|
||||||
|
1 file changed, 1 insertion(+)
|
||||||
|
|
||||||
|
diff --git a/tools/env/fw_env.c b/tools/env/fw_env.c
|
||||||
|
index ba11f77..39f7333 100644
|
||||||
|
--- a/tools/env/fw_env.c
|
||||||
|
+++ b/tools/env/fw_env.c
|
||||||
|
@@ -10,6 +10,7 @@
|
||||||
|
|
||||||
|
#define _GNU_SOURCE
|
||||||
|
|
||||||
|
+#include <compiler.h>
|
||||||
|
#include <errno.h>
|
||||||
|
#include <env_flags.h>
|
||||||
|
#include <fcntl.h>
|
||||||
|
--
|
||||||
|
2.5.0
|
||||||
|
|
@ -13,6 +13,7 @@ Source1: armv7-boards
|
|||||||
|
|
||||||
Patch1: 0004-Add-BOOTENV_INIT_COMMAND-for-commands-that-may-be-ne.patch
|
Patch1: 0004-Add-BOOTENV_INIT_COMMAND-for-commands-that-may-be-ne.patch
|
||||||
Patch2: 0005-port-utilite-to-distro-generic-boot-commands.patch
|
Patch2: 0005-port-utilite-to-distro-generic-boot-commands.patch
|
||||||
|
Patch3: 0001-tools-env-include-compiler.h.patch
|
||||||
|
|
||||||
BuildRequires: bc
|
BuildRequires: bc
|
||||||
BuildRequires: dtc
|
BuildRequires: dtc
|
||||||
|
Loading…
Reference in New Issue
Block a user