From patchwork Thu May 9 15:53:05 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Petazzoni X-Patchwork-Id: 242781 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 207D02C00BC for ; Fri, 10 May 2013 01:53:17 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 9392431C13; Thu, 9 May 2013 15:53:14 +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 kmEDAO2AhFa2; Thu, 9 May 2013 15:53:12 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 8560C31C16; Thu, 9 May 2013 15:53:12 +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 C95698F7A4 for ; Thu, 9 May 2013 15:53:18 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 27EF88D101 for ; Thu, 9 May 2013 15:53:11 +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 ufRS2LZM-eUe for ; Thu, 9 May 2013 15:53:10 +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 whitealder.osuosl.org (Postfix) with ESMTP id 0507B8CDFA for ; Thu, 9 May 2013 15:53:10 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 106) id B1966789; Thu, 9 May 2013 17:53:09 +0200 (CEST) Received: from localhost (AToulouse-651-1-227-34.w90-38.abo.wanadoo.fr [90.38.42.34]) by mail.free-electrons.com (Postfix) with ESMTPSA id 3B009784; Thu, 9 May 2013 17:53:09 +0200 (CEST) From: Thomas Petazzoni To: Buildroot List Date: Thu, 9 May 2013 17:53:05 +0200 Message-Id: <1368114785-14666-2-git-send-email-thomas.petazzoni@free-electrons.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1368114785-14666-1-git-send-email-thomas.petazzoni@free-electrons.com> References: <1368114785-14666-1-git-send-email-thomas.petazzoni@free-electrons.com> Cc: Mischa Jonker Subject: [Buildroot] [PATCH 2/2] toolchain/gcc: the ARC version of gcc needs host-flex/host-bison 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 For some reason (probably because the ARC changes modify some lex/yacc files without updating their pre-generated variants, or because the date/time of the pre-generated files is not correct), building the ARC gcc requires host-flex and host-bison. We have tested 4.2 for AVR, 4.3 and 4.4 for ARM, and none of those need host-flex or host-bison to be installed, so only the 4.4 for ARC seems to be affected. Fixes the build failure visible at http://autobuild.buildroot.org/results/673c6262e3dde8ee8dd28204d814097e6ba8f8e9/build-end.log. Signed-off-by: Thomas Petazzoni --- toolchain/gcc/gcc-uclibc-4.x.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/toolchain/gcc/gcc-uclibc-4.x.mk b/toolchain/gcc/gcc-uclibc-4.x.mk index 8cacc32..21679ef 100644 --- a/toolchain/gcc/gcc-uclibc-4.x.mk +++ b/toolchain/gcc/gcc-uclibc-4.x.mk @@ -180,6 +180,10 @@ endif GCC_HOST_PREREQ += host-mpc endif +ifeq ($(BR2_GCC_VERSION_4_4_7_ARC),y) +GCC_HOST_PREREQ += host-flex host-bison +endif + ifeq ($(BR2_GCC_SHARED_LIBGCC),y) GCC_SHARED_LIBGCC:=--enable-shared else