From patchwork Sun Mar 24 08:26:41 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Petazzoni X-Patchwork-Id: 230395 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id 7DD572C00BF for ; Sun, 24 Mar 2013 19:29:17 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id DED0510B979; Sun, 24 Mar 2013 08:29:00 +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 fpmux32MPbOa; Sun, 24 Mar 2013 08:28:53 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 4726410B8D7; Sun, 24 Mar 2013 08:27:27 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 98FD98F7A4 for ; Sun, 24 Mar 2013 08:27:28 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 1AA42304AB for ; Sun, 24 Mar 2013 08:27:21 +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 Ruz5-m66UJiL for ; Sun, 24 Mar 2013 08:27:19 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail.free-electrons.com (mail.free-electrons.com [94.23.35.102]) by silver.osuosl.org (Postfix) with ESMTP id 11C562F8CD for ; Sun, 24 Mar 2013 08:27:19 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 106) id F11FD864; Sun, 24 Mar 2013 09:27:17 +0100 (CET) Received: from localhost (humanoidz.org [82.247.183.72]) by mail.free-electrons.com (Postfix) with ESMTPSA id 190EE73F for ; Sun, 24 Mar 2013 09:27:17 +0100 (CET) From: Thomas Petazzoni To: buildroot@uclibc.org Date: Sun, 24 Mar 2013 09:26:41 +0100 Message-Id: <1364113606-20836-18-git-send-email-thomas.petazzoni@free-electrons.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1364113606-20836-1-git-send-email-thomas.petazzoni@free-electrons.com> References: <1364113606-20836-1-git-send-email-thomas.petazzoni@free-electrons.com> Subject: [Buildroot] [PATCH 17/22] dependencies: remove a few useless mandatory dependencies 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 awk, bison, flex, makeinfo, gettext should be built as dependencies of packages when needed. In practice, even the toolchain build doesn't need any of these, and only a few packages do require them. It is not needed to list gzip and bzip2 since they are already checked through ${DL_TOOLS}: whenever a package needs gzip or bzip2 for its extraction, the dependency is added. Signed-off-by: Thomas Petazzoni --- docs/manual/prerequisite.txt | 5 ----- support/dependencies/dependencies.sh | 8 ++------ 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/docs/manual/prerequisite.txt b/docs/manual/prerequisite.txt index 5a9d049..9d36402 100644 --- a/docs/manual/prerequisite.txt +++ b/docs/manual/prerequisite.txt @@ -30,10 +30,6 @@ Mandatory packages ** +gcc+ (version 2.95 or any later) ** `g++` (version 2.95 or any later) ** +bash+ -** +gawk+ -** +bison+ -** +flex+ -** +gettext+ ** +patch+ ** +gzip+ ** +bzip2+ @@ -43,7 +39,6 @@ Mandatory packages ** +python+ (version 2.6 or 2.7) ** +unzip+ ** +rsync+ -** +texinfo+ (required for internal Buildroot toolchain backend) * Source fetching tools: ** +wget+ diff --git a/support/dependencies/dependencies.sh b/support/dependencies/dependencies.sh index acba57c..cd3c839 100755 --- a/support/dependencies/dependencies.sh +++ b/support/dependencies/dependencies.sh @@ -131,14 +131,10 @@ if ! $SHELL --version 2>&1 | grep -q '^GNU bash'; then fi; # Check that a few mandatory programs are installed -for prog in awk bison flex msgfmt makeinfo patch gzip bzip2 perl tar wget cpio python unzip rsync ${DL_TOOLS} ; do +for prog in patch perl tar wget cpio python unzip rsync ${DL_TOOLS} ; do if ! which $prog > /dev/null ; then /bin/echo -e "\nYou must install '$prog' on your build machine"; - if test $prog = "makeinfo" ; then - /bin/echo -e "makeinfo is usually part of the texinfo package in your distribution\n" - elif test $prog = "msgfmt" ; then - /bin/echo -e "msgfmt is usually part of the gettext package in your distribution\n" - elif test $prog = "svn" ; then + if test $prog = "svn" ; then /bin/echo -e "svn is usually part of the subversion package in your distribution\n" else /bin/echo -e "\n"