Hi,

thanks for the review. I'll post the updated patch.

Am 29.08.11 12:04, schrieb Michael Olbrich:
>> --- /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
> What is this for?

Without this, bison doesn't find its runtime files
($(PTXCONF_SYSROOT_HOST)/share/bison/m4sugar/m4sugar.m4). It uses PREFIX
(DATADIR) which is /usr/share.

I tried to set --prefix to $(PTXCONF_SYSROOT_HOST) and DESTDIR to '',
but it didn't work. Don't remember the cause.

Setting the environment variable was the easiest solution without
patching the source code, but if you don't accept that, I can
investigate the isse again and find a better solution. But give me some
days as I'm quite busy...


Regards,
Bernhard

-- 
ptxdist mailing list
ptxdist@pengutronix.de

Reply via email to