From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yann E. MORIN Date: Thu, 22 Jan 2015 00:21:17 +0100 Subject: [Buildroot] [RFC v2] python-lxml: add target package variant In-Reply-To: References: <1421871981-3146-1-git-send-email-yegorslists@googlemail.com> <20150121230947.GL4375@free.fr> Message-ID: <20150121232117.GM4375@free.fr> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net 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 wrote: > > On 2015-01-21 21:26 +0100, Yegor Yefremov spake thusly: > >> Signed-off-by: Yegor Yefremov > > [--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. | '------------------------------^-------^------------------^--------------------'