summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp/u-boot/files/0001-include-env.h-Ensure-ulong-is-defined.patch
diff options
context:
space:
mode:
authorAlistair Francis <alistair.francis@wdc.com>2019-10-14 17:43:16 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-10-19 23:18:33 +0100
commitfdc1ccbb969b2fe80f0b32dce818ee237451c816 (patch)
tree989db9c9eb3ee5920bbb0da4757cca17a8beb101 /meta/recipes-bsp/u-boot/files/0001-include-env.h-Ensure-ulong-is-defined.patch
parent65cc5c2455af0699159dcb4e8564ea6fde5417d9 (diff)
downloadpoky-fdc1ccbb969b2fe80f0b32dce818ee237451c816.tar.gz
u-boot: Bump from 2019.07 to 2019.10
(From OE-Core rev: 460f877adbfaf2ae980228c9d545886f82656c38) Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp/u-boot/files/0001-include-env.h-Ensure-ulong-is-defined.patch')
-rw-r--r--meta/recipes-bsp/u-boot/files/0001-include-env.h-Ensure-ulong-is-defined.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/meta/recipes-bsp/u-boot/files/0001-include-env.h-Ensure-ulong-is-defined.patch b/meta/recipes-bsp/u-boot/files/0001-include-env.h-Ensure-ulong-is-defined.patch
new file mode 100644
index 0000000000..b9118164df
--- /dev/null
+++ b/meta/recipes-bsp/u-boot/files/0001-include-env.h-Ensure-ulong-is-defined.patch
@@ -0,0 +1,31 @@
1From 0565a080d153d5baaaacfeb5045a832e126f4f9e Mon Sep 17 00:00:00 2001
2From: Alistair Francis <alistair.francis@wdc.com>
3Date: Mon, 14 Oct 2019 17:37:30 -0700
4Subject: [PATCH] include/env.h: Ensure ulong is defined
5
6To fix these failures when building with musl:
7 include/env.h:166:1: error: unknown type name 'ulong'; did you mean 'long'?
8ensure that ulong is defined.
9
10Upstream-Status: Pending
11Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
12---
13 include/env.h | 2 ++
14 1 file changed, 2 insertions(+)
15
16diff --git a/include/env.h b/include/env.h
17index b72239f6a5..5ca49a3456 100644
18--- a/include/env.h
19+++ b/include/env.h
20@@ -13,6 +13,8 @@
21 #include <stdbool.h>
22 #include <linux/types.h>
23
24+typedef unsigned long ulong;
25+
26 struct environment_s;
27
28 /* Value for environment validity */
29--
302.23.0
31