From d40926278c47af150e6bc71d222753c3971a9f7f Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Thu, 16 Jun 2016 21:57:14 +0200 Subject: u-boot: fix compile fix errors due to missing uint* types. Move to u-boot git. Signed-off-by: Max Krummenacher Acked-by: Stefan Agner --- ...fw_env.c-include-stdint.h-unconditionally.patch | 37 ++++++++++++++++++++++ .../u-boot/u-boot-toradex-fsl-fw-utils_git.bb | 1 + 2 files changed, 38 insertions(+) create mode 100644 recipes-bsp/u-boot/files/0001-fw_env.c-include-stdint.h-unconditionally.patch (limited to 'recipes-bsp') diff --git a/recipes-bsp/u-boot/files/0001-fw_env.c-include-stdint.h-unconditionally.patch b/recipes-bsp/u-boot/files/0001-fw_env.c-include-stdint.h-unconditionally.patch new file mode 100644 index 0000000..ae1524d --- /dev/null +++ b/recipes-bsp/u-boot/files/0001-fw_env.c-include-stdint.h-unconditionally.patch @@ -0,0 +1,37 @@ +From a7a2fd28dc4180f1cbadf6038b67337ae6fdee34 Mon Sep 17 00:00:00 2001 +From: Max Krummenacher +Date: Thu, 26 May 2016 14:01:35 +0200 +Subject: [PATCH] fw_env.c: include stdint.h unconditionally + +later builds fail with +| tools/env/fw_env.c:52:2: error: unknown type name 'uint8_t' +| uint8_t mtd_type; /* type of the MTD device */ + +Signed-off-by: Max Krummenacher +--- + tools/env/fw_env.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/tools/env/fw_env.c b/tools/env/fw_env.c +index 1173eea..edc5090 100644 +--- a/tools/env/fw_env.c ++++ b/tools/env/fw_env.c +@@ -15,6 +15,7 @@ + #include + #include + #include ++#include + #include + #include + #include +@@ -22,7 +23,6 @@ + #include + + #ifdef MTD_OLD +-# include + # include + #else + # define __user /* nothing */ +-- +2.6.6 + diff --git a/recipes-bsp/u-boot/u-boot-toradex-fsl-fw-utils_git.bb b/recipes-bsp/u-boot/u-boot-toradex-fsl-fw-utils_git.bb index 4ae73f0..4435bab 100644 --- a/recipes-bsp/u-boot/u-boot-toradex-fsl-fw-utils_git.bb +++ b/recipes-bsp/u-boot/u-boot-toradex-fsl-fw-utils_git.bb @@ -17,6 +17,7 @@ SRCREV = "46aa70c402efec7d89f6c93531a767a1771e2192" SRCBRANCH = "2015.04-toradex" SRC_URI = "git://git.toradex.com/u-boot-toradex.git;protocol=git;branch=${SRCBRANCH} \ file://fw_env.config \ + file://0001-fw_env.c-include-stdint.h-unconditionally.patch \ " SRC_URI_append_mx6 = " file://fw_unlock_mmc.sh \ " -- cgit v1.2.3