* [ptxdist] [PATCH RESEND 1/2] Add host-bison package @ 2011-11-07 20:07 Bernhard Walle 2011-11-07 20:07 ` [ptxdist] [PATCH RESEND 2/2] bash: Use host-bison Bernhard Walle 2011-11-20 11:13 ` [ptxdist] [PATCH RESEND 1/2] Add host-bison package Michael Olbrich 0 siblings, 2 replies; 3+ messages in thread From: Bernhard Walle @ 2011-11-07 20:07 UTC (permalink / raw) To: ptxdist; +Cc: Bernhard Walle From: Bernhard Walle <walle@corscience.de> Since we have host-flex, it makes also sense to get independent of the bison installation of the host. Signed-off-by: Bernhard Walle <walle@corscience.de> --- 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 <walle@corscience.de> +# +# 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 ^ permalink raw reply [flat|nested] 3+ messages in thread
* [ptxdist] [PATCH RESEND 2/2] bash: Use host-bison 2011-11-07 20:07 [ptxdist] [PATCH RESEND 1/2] Add host-bison package Bernhard Walle @ 2011-11-07 20:07 ` Bernhard Walle 2011-11-20 11:13 ` [ptxdist] [PATCH RESEND 1/2] Add host-bison package Michael Olbrich 1 sibling, 0 replies; 3+ messages in thread From: Bernhard Walle @ 2011-11-07 20:07 UTC (permalink / raw) To: ptxdist; +Cc: Bernhard Walle From: Bernhard Walle <walle@corscience.de> This commit contains also two small whitespace fixes. Signed-off-by: Bernhard Walle <walle@corscience.de> --- rules/bash.in | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/rules/bash.in b/rules/bash.in index 7ef65a9..fd5a9a6 100644 --- a/rules/bash.in +++ b/rules/bash.in @@ -4,14 +4,15 @@ menuconfig BASH select LIBC_DL select GCCLIBS_GCC_S select NCURSES if BASH_CURSES + select HOST_BISON help The GNU Bourne Again SHell Bash is an sh-compatible command language interpreter that executes - commands read from the standard input or from a file. Bash also - incorporates useful features from the Korn and C shells (ksh and csh). + commands read from the standard input or from a file. Bash also + incorporates useful features from the Korn and C shells (ksh and csh). Bash is ultimately intended to be a conformant implementation of the - IEEE POSIX Shell and Tools specification (IEEE Working Group 1003.2). + IEEE POSIX Shell and Tools specification (IEEE Working Group 1003.2). Included in the bash package is the Programmable Completion Code, by Ian Macdonald. -- 1.7.7.2 -- ptxdist mailing list ptxdist@pengutronix.de ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ptxdist] [PATCH RESEND 1/2] Add host-bison package 2011-11-07 20:07 [ptxdist] [PATCH RESEND 1/2] Add host-bison package Bernhard Walle 2011-11-07 20:07 ` [ptxdist] [PATCH RESEND 2/2] bash: Use host-bison Bernhard Walle @ 2011-11-20 11:13 ` Michael Olbrich 1 sibling, 0 replies; 3+ messages in thread From: Michael Olbrich @ 2011-11-20 11:13 UTC (permalink / raw) To: ptxdist Hi, On Mon, Nov 07, 2011 at 09:07:02PM +0100, Bernhard Walle wrote: > From: Bernhard Walle <walle@corscience.de> > > Since we have host-flex, it makes also sense to get independent of > the bison installation of the host. I disagree with this. We have host-flex because on some older distributions the installed flex break building some packages. If we really want to remove the dependency on host system flex and yacc (and I'm not sure that's a good idea), then we need to fix all packages. I did a quick test (link yacc/bison, flex/lex to /bin/false in the PATH) to see what fails: at, bash, binutils, bluez, fbset, flex, gstreamer, host-bison, iproute2, kbd, libgmp, libical, libpcap, memedit, xorg-server This may not be complete. At least the configure check for yacc won't fail this way, only trying to use it. Note host-bison in the list. configure checks for lex and yacc. I think the generated files are all shipped but the check is still there. :-( Michael > Signed-off-by: Bernhard Walle <walle@corscience.de> > --- > 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 <walle@corscience.de> > +# > +# 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 > -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | -- ptxdist mailing list ptxdist@pengutronix.de ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-11-20 11:13 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2011-11-07 20:07 [ptxdist] [PATCH RESEND 1/2] Add host-bison package Bernhard Walle 2011-11-07 20:07 ` [ptxdist] [PATCH RESEND 2/2] bash: Use host-bison Bernhard Walle 2011-11-20 11:13 ` [ptxdist] [PATCH RESEND 1/2] Add host-bison package Michael Olbrich
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox