You need to add a PACKAGE_ARCH_nlus2 = "${MACHINE_ARCH}" to this as its
now nslu2 specific.Graeme On Tue, May 04, 2010 at 11:34:46PM -0700, Henry von Tresckow wrote: > - added version 0.12.6 of libtorrent and 0.8.6 of rtorrent > - added FULL_OPTIMIZATION_nslu2 ="-mcpu=xscale -fexpensive-optimizations > -frename-registers -O2 -fpermissive -fno-inline" > These parameters were recommended at the rtorrent website > (http://libtorrent.rakshasa.no/wiki/LibTorrentKnownIssues#NSLU2routersandxscalebaseddevices) > > Signed-off-by: Henry von Tresckow <[email protected]> > --- > recipes/libtorrent/libtorrent_0.12.6.bb | 22 ++++++++++++++++++++++ > recipes/libtorrent/rtorrent_0.8.6.bb | 17 +++++++++++++++++ > 2 files changed, 39 insertions(+), 0 deletions(-) > create mode 100644 recipes/libtorrent/libtorrent_0.12.6.bb > create mode 100644 recipes/libtorrent/rtorrent_0.8.6.bb > > diff --git a/recipes/libtorrent/libtorrent_0.12.6.bb > b/recipes/libtorrent/libtorrent_0.12.6.bb > new file mode 100644 > index 0000000..075ce40 > --- /dev/null > +++ b/recipes/libtorrent/libtorrent_0.12.6.bb > @@ -0,0 +1,22 @@ > +DESCRIPTION = "library implementing the bittorrent protocol" > +HOMEPAGE = "http://libtorrent.rakshasa.no" > +SECTION = "libs/network" > +LICENSE = "GPL" > +DEPENDS = "libsigc++-2.0 openssl" > + > +SRC_URI = "http://libtorrent.rakshasa.no/downloads/libtorrent-${PV}.tar.gz" > +PR = "r0.1" > + > +inherit autotools pkgconfig > + > +EXTRA_OECONF = "--enable-aligned" > + > +FULL_OPTIMIZATION_nslu2 ="-mcpu=xscale -fexpensive-optimizations > -frename-registers -O2 -fpermissive -fno-inline" > + > +do_stage() { > + autotools_stage_all > +} > + > + > +SRC_URI[md5sum] = "037499ed708aaf72988cee60e5a8d96b" > +SRC_URI[sha256sum] = > "7b02f33164966a05261e83bad76eef537198fefe76eaf57dfd64bb27c7d77129" > diff --git a/recipes/libtorrent/rtorrent_0.8.6.bb > b/recipes/libtorrent/rtorrent_0.8.6.bb > new file mode 100644 > index 0000000..c765086 > --- /dev/null > +++ b/recipes/libtorrent/rtorrent_0.8.6.bb > @@ -0,0 +1,17 @@ > +DESCRIPTION = "Console bittorrent client using libtorrent" > +HOMEPAGE = "http://libtorrent.rakshasa.no" > +SECTION = "libs/network" > +LICENSE = "GPL" > +DEPENDS = "libtorrent curl ncurses gnutls libgpg-error" > + > +SRC_URI = "http://libtorrent.rakshasa.no/downloads/rtorrent-${PV}.tar.gz \ > + file://autoconf-cross-fix.patch;patch=1" > + > +PR = "r0" > + > +inherit autotools > + > +FULL_OPTIMIZATION_nslu2 ="-mcpu=xscale -fexpensive-optimizations > -frename-registers -O2 -fpermissive -fno-inline" > + > +SRC_URI[md5sum] = "b804c45c01c40312926bcea6b55bb084" > +SRC_URI[sha256sum] = > "8c96c68e1524162abd1fc4b612d0c3d924fccc25159c0b3f208e69281f0b32db" > -- > 1.6.3.3 > > > _______________________________________________ > Openembedded-devel mailing list > [email protected] > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
