From patchwork Mon Apr 30 12:11:58 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gustavo Zacarias X-Patchwork-Id: 155846 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id D2ECBB6FA4 for ; Mon, 30 Apr 2012 22:12:10 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 0897032088; Mon, 30 Apr 2012 12:12:10 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Q4m+2z2EQCZ9; Mon, 30 Apr 2012 12:12:09 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 2CC7F3207B; Mon, 30 Apr 2012 12:12:09 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 092618F753 for ; Mon, 30 Apr 2012 12:12:08 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id A033D8CB1C for ; Mon, 30 Apr 2012 12:12:07 +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 D+Q2rMqT7k6V for ; Mon, 30 Apr 2012 12:12:05 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from loknar.toptech.com.ar (loknar.toptech.com.ar [74.118.36.95]) by whitealder.osuosl.org (Postfix) with ESMTPS id 95CE78CA62 for ; Mon, 30 Apr 2012 12:12:05 +0000 (UTC) Received: from asgard (host105.190-136-216.telecom.net.ar [190.136.216.105]) (authenticated bits=0) by loknar.toptech.com.ar (8.14.4/8.14.4) with ESMTP id q3UCBx8X018501 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 30 Apr 2012 09:12:01 -0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=zacarias.com.ar; s=dkey; t=1335787923; bh=p828vMcFCLh1H9yP9bw9+J3Aa3Ip1B4Zwa8d4/VgUrI=; h=From:To:Cc:Subject:Date:Message-Id; b=NHBUp0MuChgxfzBZBRo7hoz6JXBwHUOyW6lFoTwuA2B4O5rSlrhPIRytdUwxPQ6J3 ZmP5phqhwxWxfTdkjj6s2X30w4quKzxhq02lTC3iywnliKj8acwxgDk666+4bKrw9s YIDXwlrlSaavLSpge/39hfYgZCWWBuTFGqmCI3TE= Received: by asgard (sSMTP sendmail emulation); Mon, 30 Apr 2012 09:11:58 -0300 From: Gustavo Zacarias To: buildroot@busybox.net Date: Mon, 30 Apr 2012 09:11:58 -0300 Message-Id: <1335787918-22584-1-git-send-email-gustavo@zacarias.com.ar> X-Mailer: git-send-email 1.7.3.4 X-Virus-Scanned: clamav-milter 0.97.3 at loknar X-Virus-Status: Clean Subject: [Buildroot] [PATCH] uboot-tools: fix build breakage X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 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-bounces@busybox.net Fix uboot-tools build breakage as reported by Peter Korsgaard. Previously config.h was included in imximage.h but not the fw_env tool. Signed-off-by: Gustavo Zacarias --- ...-tools-2012.04.01-drop-configh-from-tools.patch | 31 ++++++++++++++++++++ 1 files changed, 31 insertions(+), 0 deletions(-) create mode 100644 package/uboot-tools/uboot-tools-2012.04.01-drop-configh-from-tools.patch diff --git a/package/uboot-tools/uboot-tools-2012.04.01-drop-configh-from-tools.patch b/package/uboot-tools/uboot-tools-2012.04.01-drop-configh-from-tools.patch new file mode 100644 index 0000000..2b3a0e5 --- /dev/null +++ b/package/uboot-tools/uboot-tools-2012.04.01-drop-configh-from-tools.patch @@ -0,0 +1,31 @@ +From 39857718f4df9b40a7acf38b73140fd86c628ef0 Mon Sep 17 00:00:00 2001 +From: Gustavo Zacarias +Date: Mon, 30 Apr 2012 09:07:38 -0300 +Subject: [PATCH] fw_env: allow it to build without a config + +We need to build u-boot tools without a board configuration for the +target packages. +fw_env just uses config.h to define the default environment of the +created image, so it really isn't mandatory. + +Signed-off-by: Gustavo Zacarias +--- + tools/env/fw_env.c | 2 -- + 1 files changed, 0 insertions(+), 2 deletions(-) + +diff --git a/tools/env/fw_env.c b/tools/env/fw_env.c +index e292d2b..2bb061a 100644 +--- a/tools/env/fw_env.c ++++ b/tools/env/fw_env.c +@@ -45,8 +45,6 @@ + + #include "fw_env.h" + +-#include +- + #define WHITESPACE(c) ((c == '\t') || (c == ' ')) + + #define min(x, y) ({ \ +-- +1.7.3.4 +