Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id D6D32E00E63; Thu, 14 Apr 2016 19:52:55 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] X-Greylist: delayed 579 seconds by postgrey-1.32 at yocto-www; Thu, 14 Apr 2016 19:52:52 PDT Received: from mail.analogue-micro.com (mail.analogue-micro.com [217.144.149.242]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 96746E00AD7 for ; Thu, 14 Apr 2016 19:52:52 -0700 (PDT) Received: by mail.analogue-micro.com (Postfix, from userid 999) id 4E54D68A01D; Fri, 15 Apr 2016 03:43:10 +0100 (BST) Received: from zeus.mlbassoc.com (unknown [10.8.0.2]) by mail.analogue-micro.com (Postfix) with ESMTP id C6DB668A019; Fri, 15 Apr 2016 03:43:09 +0100 (BST) Received: by zeus.mlbassoc.com (Postfix, from userid 1000) id 760EA6741AE4; Fri, 15 Apr 2016 04:43:09 +0200 (CEST) From: Gary Thomas To: meta-freescale@yoctoproject.org Date: Fri, 15 Apr 2016 04:43:06 +0200 Message-Id: <1460688186-5965-1-git-send-email-gary@mlbassoc.com> X-Mailer: git-send-email 2.5.0 Cc: Gary Thomas Subject: [meta-fsl-arm][PATCH] imx-kobs: Fix compile error X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Apr 2016 02:52:55 -0000 Recent compiler updates now require to use 'uintX_t' types. Signed-off-by: Gary Thomas --- recipes-bsp/imx-kobs/imx-kobs/fix-compile.patch | 15 +++++++++++++++ recipes-bsp/imx-kobs/imx-kobs_5.3.bb | 4 +++- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 recipes-bsp/imx-kobs/imx-kobs/fix-compile.patch diff --git a/recipes-bsp/imx-kobs/imx-kobs/fix-compile.patch b/recipes-bsp/imx-kobs/imx-kobs/fix-compile.patch new file mode 100644 index 0000000..ca2d675 --- /dev/null +++ b/recipes-bsp/imx-kobs/imx-kobs/fix-compile.patch @@ -0,0 +1,15 @@ +This patch fixes a build error with recent compilers ( must +be explicitly included to get uintX_t types) + +Index: imx-kobs-5.3/src/BootControlBlocks.h +=================================================================== +--- imx-kobs-5.3.orig/src/BootControlBlocks.h ++++ imx-kobs-5.3/src/BootControlBlocks.h +@@ -54,6 +54,7 @@ + //! This structure holds the timing for the NAND. This data is used by + //! rom_nand_hal_GpmiSetNandTiming to setup the GPMI hardware registers. + ++#include + typedef struct _NAND_Timing { + uint8_t m_u8DataSetup; + uint8_t m_u8DataHold; diff --git a/recipes-bsp/imx-kobs/imx-kobs_5.3.bb b/recipes-bsp/imx-kobs/imx-kobs_5.3.bb index ccc4a24..d641cbf 100644 --- a/recipes-bsp/imx-kobs/imx-kobs_5.3.bb +++ b/recipes-bsp/imx-kobs/imx-kobs_5.3.bb @@ -5,7 +5,9 @@ SECTION = "base" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833" -SRC_URI = "${FSL_MIRROR}/imx-kobs-${PV}.tar.gz" +SRC_URI = "${FSL_MIRROR}/imx-kobs-${PV}.tar.gz \ + file://fix-compile.patch \ +" SRC_URI[md5sum] = "a2a9e1c3445d14c961577492313a41fb" SRC_URI[sha256sum] = "45f729fc2b49556f1ca9df778f52bf5cc749cfe53664c8206daab29991c5f6c1" -- 2.5.0