[Buildroot] [RFC v2] python-lxml: add target package variant
Yann E. MORIN
yann.morin.1998 at free.fr
Wed Jan 21 23:21:17 UTC 2015
Yegor, All,
On 2015-01-22 00:17 +0100, Yegor Yefremov spake thusly:
> On Thu, Jan 22, 2015 at 12:09 AM, Yann E. MORIN <yann.morin.1998 at free.fr> wrote:
> > On 2015-01-21 21:26 +0100, Yegor Yefremov spake thusly:
> >> Signed-off-by: Yegor Yefremov <yegorslists at googlemail.com>
> > [--SNIP--]
> >> diff --git a/package/python-lxml/python-lxml.mk b/package/python-lxml/python-lxml.mk
> >> index 758ce87..a7f072f 100644
> >> --- a/package/python-lxml/python-lxml.mk
> >> +++ b/package/python-lxml/python-lxml.mk
> >> @@ -20,6 +20,13 @@ PYTHON_LXML_LICENSE_FILES = \
> >> # So, we use setuptools.
> >> PYTHON_LXML_SETUP_TYPE = setuptools
> >>
> >> -PYTHON_LXML_DEPENDENCIES = libxml2 libxslt
> >> +PYTHON_LXML_DEPENDENCIES = libxml2 libxslt zlib
> >
> > OK, I did not need zlib for the host variant, so we'll have to
> > differentiate the host dependencies and the target ones. I'll do
> > that.
> >
> >> +# python-lxml needs these scripts in order to properly detect libxml2 and
> >> +# libxslt compiler and linker flags
> >> +PYTHON_LXML_BUILD_OPTS = \
> >> + --with-xslt-config=$(HOST_DIR)/usr/arm-buildroot-linux-gnueabi/sysroot/usr/bin/xslt-config \
> >> + --with-xml2-config=$(HOST_DIR)/usr/arm-buildroot-linux-gnueabi/sysroot/usr/bin/xml2-config
> >
> > Well, there's much simpler: $(HOST_DIR)/usr/arm-buildroot-linux-gnueabi/sysroot
> > is exactly what we call $(STAGING_DIR).
> >
> > Beside, what you wrote would not work with anything else that an
> > arm-buildroot-linux-gnueabi. ;-)
>
> I was to high, I got it compiled at all :-)
Hehe! I know the feeling! ;-)
Cheers!
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
More information about the buildroot
mailing list