* [Buildroot] [PATCH] imx-kobs: fix build for recent toolchains
@ 2016-01-17 19:53 Gary Bisson
2016-01-17 19:58 ` Baruch Siach
2016-01-19 21:06 ` Thomas Petazzoni
0 siblings, 2 replies; 4+ messages in thread
From: Gary Bisson @ 2016-01-17 19:53 UTC (permalink / raw)
To: buildroot
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
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH] imx-kobs: fix build for recent toolchains
2016-01-17 19:53 [Buildroot] [PATCH] imx-kobs: fix build for recent toolchains Gary Bisson
@ 2016-01-17 19:58 ` Baruch Siach
2016-01-18 8:48 ` Gary Bisson
2016-01-19 21:06 ` Thomas Petazzoni
1 sibling, 1 reply; 4+ messages in thread
From: Baruch Siach @ 2016-01-17 19:58 UTC (permalink / raw)
To: buildroot
Hi Gary,
On Sun, Jan 17, 2016 at 08:53:28PM +0100, Gary Bisson wrote:
> 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/
This text should be part of the commit log message above.
baruch
--
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH] imx-kobs: fix build for recent toolchains
2016-01-17 19:58 ` Baruch Siach
@ 2016-01-18 8:48 ` Gary Bisson
0 siblings, 0 replies; 4+ messages in thread
From: Gary Bisson @ 2016-01-18 8:48 UTC (permalink / raw)
To: buildroot
Baruch, All,
On Sun, Jan 17, 2016 at 8:58 PM, Baruch Siach <baruch@tkos.co.il> wrote:
> Hi Gary,
>
> On Sun, Jan 17, 2016 at 08:53:28PM +0100, Gary Bisson wrote:
>> 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/
>
> This text should be part of the commit log message above.
Ok, wasn't sure actually. Should I submit a V2 or can the submitter
includes it in the commit log for this time?
Regards,
Gary
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH] imx-kobs: fix build for recent toolchains
2016-01-17 19:53 [Buildroot] [PATCH] imx-kobs: fix build for recent toolchains Gary Bisson
2016-01-17 19:58 ` Baruch Siach
@ 2016-01-19 21:06 ` Thomas Petazzoni
1 sibling, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2016-01-19 21:06 UTC (permalink / raw)
To: buildroot
Dear Gary Bisson,
On Sun, 17 Jan 2016 20:53:28 +0100, Gary Bisson wrote:
> 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,
Applied, with some minor changes:
[Thomas:
- fix minor typo in the patch description
- add reference to the autobuilder failure, as suggested by Baruch.]
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-01-19 21:06 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-17 19:53 [Buildroot] [PATCH] imx-kobs: fix build for recent toolchains Gary Bisson
2016-01-17 19:58 ` Baruch Siach
2016-01-18 8:48 ` Gary Bisson
2016-01-19 21:06 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox