Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [RFC v2] python-lxml: add target package variant
Date: Thu, 22 Jan 2015 00:21:17 +0100	[thread overview]
Message-ID: <20150121232117.GM4375@free.fr> (raw)
In-Reply-To: <CAGm1_kv3kL8m9R_5FZedhpYEP4kKEqcz2o5nA1NwuRq5APdn5g@mail.gmail.com>

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@free.fr> wrote:
> > On 2015-01-21 21:26 +0100, Yegor Yefremov spake thusly:
> >> Signed-off-by: Yegor Yefremov <yegorslists@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.  |
'------------------------------^-------^------------------^--------------------'

      reply	other threads:[~2015-01-21 23:21 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-21 20:26 [Buildroot] [RFC v2] python-lxml: add target package variant Yegor Yefremov
2015-01-21 20:30 ` Yegor Yefremov
2015-01-21 23:06   ` Yann E. MORIN
2015-01-21 23:09 ` Yann E. MORIN
2015-01-21 23:17   ` Yegor Yefremov
2015-01-21 23:21     ` Yann E. MORIN [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150121232117.GM4375@free.fr \
    --to=yann.morin.1998@free.fr \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox