From: Gary Bisson <gary.bisson@boundarydevices.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] imx-kobs: fix build for recent toolchains
Date: Sun, 17 Jan 2016 20:53:28 +0100 [thread overview]
Message-ID: <1453060408-12544-1-git-send-email-gary.bisson@boundarydevices.com> (raw)
Starting with Linux 4.4 headers, mtd-user.h isn't including stdint.h any
more which breaks the build.
Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
---
Hi all,
This patch fixes the following error:
http://autobuild.buildroot.net/results/05a/05a159c7f8382237d4c941b1bb6de7dad72708f3/
Regards,
Gary
---
.../0002-Fix-build-for-recent-toolchains.patch | 26 ++++++++++++++++++++++
1 file changed, 26 insertions(+)
create mode 100644 package/freescale-imx/imx-kobs/0002-Fix-build-for-recent-toolchains.patch
diff --git a/package/freescale-imx/imx-kobs/0002-Fix-build-for-recent-toolchains.patch b/package/freescale-imx/imx-kobs/0002-Fix-build-for-recent-toolchains.patch
new file mode 100644
index 0000000..d6680b8
--- /dev/null
+++ b/package/freescale-imx/imx-kobs/0002-Fix-build-for-recent-toolchains.patch
@@ -0,0 +1,26 @@
+[PATCH] Fix build for recent toolchains
+
+Starting with Linux 4.4 headers, mtd-user.h isn't including stdint.h any
+more which breaks the build.
+
+Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
+---
+ src/BootControlBlocks.h | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/src/BootControlBlocks.h b/src/BootControlBlocks.h
+index 192eb61..aacdb64 100644
+--- a/src/BootControlBlocks.h
++++ b/src/BootControlBlocks.h
+@@ -20,6 +20,8 @@
+ #ifndef BOOTCONTROLBLOCKS_H_
+ #define BOOTCONTROLBLOCKS_H_
+
++#include <stdint.h>
++
+ #define NCB_FINGERPRINT1 0x504d5453 //!< 'STMP'
+ #define NCB_FINGERPRINT2 0x2042434e //!< 'NCB<space>' - NAND Control Block
+ #define NCB_FINGERPRINT3 0x4e494252 //!< 'RBIN' - ROM Boot Image Block - N
+--
+2.6.4
+
--
2.6.4
next reply other threads:[~2016-01-17 19:53 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-17 19:53 Gary Bisson [this message]
2016-01-17 19:58 ` [Buildroot] [PATCH] imx-kobs: fix build for recent toolchains Baruch Siach
2016-01-18 8:48 ` Gary Bisson
2016-01-19 21:06 ` Thomas Petazzoni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1453060408-12544-1-git-send-email-gary.bisson@boundarydevices.com \
--to=gary.bisson@boundarydevices.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox