From patchwork Sun Jan 17 19:53:28 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gary Bisson X-Patchwork-Id: 569305 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id 04EC9140A9A for ; Mon, 18 Jan 2016 06:53:51 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=boundarydevices-com.20150623.gappssmtp.com header.i=@boundarydevices-com.20150623.gappssmtp.com header.b=wt0BwNOX; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 0E755896F5; Sun, 17 Jan 2016 19:53:51 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1EHwEiyVq1mN; Sun, 17 Jan 2016 19:53:49 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 3AFA5896DC; Sun, 17 Jan 2016 19:53:49 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id ADAE21C0F90 for ; Sun, 17 Jan 2016 19:53:48 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id AA5088857B for ; Sun, 17 Jan 2016 19:53:47 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0FzA9yUES-Bv for ; Sun, 17 Jan 2016 19:53:46 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm0-f51.google.com (mail-wm0-f51.google.com [74.125.82.51]) by whitealder.osuosl.org (Postfix) with ESMTPS id DCD8A8801D for ; Sun, 17 Jan 2016 19:53:45 +0000 (UTC) Received: by mail-wm0-f51.google.com with SMTP id 123so29046431wmz.0 for ; Sun, 17 Jan 2016 11:53:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=boundarydevices-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=du8vjqS+zk0fAHv4JGiNCyLOUDouhcS1fLbt+CkbwPc=; b=wt0BwNOXT1NOZYKwp6wmZIIvZE4nlk9vnr3R1ZgiK9AR25fzbjsQIGFDy6sjtLVmUL wP41DqQl+VfcnL9UfQGc74tefap1lGIiSAbpE7r3AYlC8XuIKVgkdzh/JwCSi93EHzmL ozox0uUipd3qru4F601pAu+oTMjkEElxMSU3C4siDwesSGSWjwCBZJJngk9PK0pjCvlA mHamdYk4xifwIfti27YKy9ZIg3Z9CAVGzLy68QvwthTzRniScHU6C0RYVqUD+DUtaSU0 LJCDDJEfUtpDMQMbvvzHi1emSHjy3UPyb8FvIzhps9/X5gnyqjrWH6JlBI2ZlOMH9SkK vAxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=du8vjqS+zk0fAHv4JGiNCyLOUDouhcS1fLbt+CkbwPc=; b=hage30jsMb0spDJ+15qvHwMXiCTWCsAljeiPHeVOaP4EPvYbqfkZO8rweazP6//geK 62b4/CZgsMZAgWW0esOMfx3Cu+Em4m9mXGDCXNh4jpTPgXmiD5MOeKNCk+cJwwA4x4/j drREmEosvIFnbluGWWxW9R59Ah4yU2sL1VypIkDyi1eVv7imjc0VWELNJOSq0woK8Pe7 pk9xeyot2NkRcdHantAQjykJ7Y1/bIzMb8HP8cGOYvxZZVmtKCKfINZjTTxff8e6ebpy 9hNRIBtzFtlX9wZOJCdd9KQBS1r6HFB5ckzlep/4jnv6SXd/d8yur/UKfS7xSl9VVOzD ZlnQ== X-Gm-Message-State: AG10YOQL+yIykL1Uns3+FPObzpMT6IyZWm+B/QWvOryeNKEe9xgtpFzAZmYMxzUq7bOrvA== X-Received: by 10.28.224.134 with SMTP id x128mr10000456wmg.62.1453060425170; Sun, 17 Jan 2016 11:53:45 -0800 (PST) Received: from x240.lan (89-92-99-128.hfc.dyn.abo.bbox.fr. [89.92.99.128]) by smtp.googlemail.com with ESMTPSA id w194sm11140777wmd.0.2016.01.17.11.53.43 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 17 Jan 2016 11:53:44 -0800 (PST) From: Gary Bisson To: buildroot@busybox.net Date: Sun, 17 Jan 2016 20:53:28 +0100 Message-Id: <1453060408-12544-1-git-send-email-gary.bisson@boundarydevices.com> X-Mailer: git-send-email 2.6.4 Cc: thomas.petazzoni@free-electrons.com Subject: [Buildroot] [PATCH] imx-kobs: fix build for recent toolchains X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "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 --- 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 +--- + 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 ++ + #define NCB_FINGERPRINT1 0x504d5453 //!< 'STMP' + #define NCB_FINGERPRINT2 0x2042434e //!< 'NCB' - NAND Control Block + #define NCB_FINGERPRINT3 0x4e494252 //!< 'RBIN' - ROM Boot Image Block - N +-- +2.6.4 +