From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from smtprelay04.ispgateway.de ([80.67.31.42]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1RNVTM-0006ZS-ND for ptxdist@pengutronix.de; Mon, 07 Nov 2011 21:07:14 +0100 From: Bernhard Walle Date: Mon, 7 Nov 2011 21:07:02 +0100 Message-Id: <1320696423-17135-1-git-send-email-bernhard@bwalle.de> Subject: [ptxdist] [PATCH RESEND 1/2] Add host-bison package Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Cc: Bernhard Walle From: Bernhard Walle Since we have host-flex, it makes also sense to get independent of the bison installation of the host. Signed-off-by: Bernhard Walle --- rules/host-bison.in | 8 ++++++++ rules/host-bison.make | 32 ++++++++++++++++++++++++++++++++ rules/pre/bison.make | 5 +++++ 3 files changed, 45 insertions(+), 0 deletions(-) create mode 100644 rules/host-bison.in create mode 100644 rules/host-bison.make create mode 100644 rules/pre/bison.make diff --git a/rules/host-bison.in b/rules/host-bison.in new file mode 100644 index 0000000..41bb930 --- /dev/null +++ b/rules/host-bison.in @@ -0,0 +1,8 @@ +## SECTION=hosttools_noprompt + +config HOST_BISON + tristate + help + The parser generator (replaces yacc). + +# vim: syntax=kconfig diff --git a/rules/host-bison.make b/rules/host-bison.make new file mode 100644 index 0000000..d62b0b4 --- /dev/null +++ b/rules/host-bison.make @@ -0,0 +1,32 @@ +# -*-makefile-*- +# +# Copyright (C) 2011 by Bernhard Walle +# +# See CREDITS for details about who has contributed to this project. +# +# For further information about the PTXdist project and license conditions +# see the README file. +# + +# +# We provide this package +# +HOST_PACKAGES-$(PTXCONF_HOST_BISON) += host-bison + +# +# Paths and names +# +HOST_BISON_VERSION := 2.5 +HOST_BISON_MD5 := 9dba20116b13fc61a0846b0058fbe004 +HOST_BISON := bison-$(HOST_BISON_VERSION) +HOST_BISON_SUFFIX := tar.bz2 +HOST_BISON_URL := http://ftp.gnu.org/gnu/bison/$(HOST_BISON).$(HOST_BISON_SUFFIX) +HOST_BISON_SOURCE := $(SRCDIR)/$(HOST_BISON).$(HOST_BISON_SUFFIX) +HOST_BISON_DIR := $(HOST_BUILDDIR)/$(HOST_BISON) + +# +# autoconf +# +HOST_BISON_CONF_TOOL := autoconf + +# vim: syntax=make diff --git a/rules/pre/bison.make b/rules/pre/bison.make new file mode 100644 index 0000000..cfbee38 --- /dev/null +++ b/rules/pre/bison.make @@ -0,0 +1,5 @@ +# -*-makefile-*- + +ifdef PTXCONF_HOST_BISON +export BISON_PKGDATADIR=$(PTXCONF_SYSROOT_HOST)/share/bison +endif -- 1.7.7.2 -- ptxdist mailing list ptxdist@pengutronix.de