Benjamin Henrion <bh <at> udev.org> writes:

> On Mon, Mar 12, 2012 at 4:17 AM, Mike Frysinger <vapier <at> gentoo.org> 
> wrote:
> > On Sunday 11 March 2012 17:54:20 Benjamin Henrion wrote:
> >> I just quickly made an ebuild for gentoo of the urjtag SVN version here:
> >>
> >> https://github.com/zoobab/urjtag-ebuilds
> >>
> >> Feel free to test it.
> >
> > thanks ... i've added urjtag-9999 to the Gentoo tree
> >
> >> It works for me on my laptop, but not with crossdev.
> >>
> >> I am trying to cross-compile urjtag for the beaglebone to use the GPIO
> >> cable driver over there.
> >>
> >> The 0.10 ebuild crossbuilds fine, but 0.10 does not have the GPIO cable
> >> support.
> >>
> >> I suspect the autogen.sh to behave incorrectly with the corss-build
> >> environnement.
> >
> > not sure what you mean.  should cross-compile fine.
> 
> I confirm, it x-compile fine now, urjtag 9999 now installed on the
> Beaglebone, cable initialized, now will find a target to test it on.
> 

Hi,

It works on my system too (Gentoo x86-64).

Here is a patch that adds libftd2xx support to the ebuild.
Urjtag will then work with the BusBlaster from dangerousprototypes.com .
################
################
--- /usr/portage/dev-embedded/urjtag/urjtag-9999.ebuild 2012-03-12
04:17:35.000000000 +0100
+++ urjtag-9999.ebuild  2012-03-28 09:43:02.000000000 +0200
@@ -22,9 +22,10 @@
 
 LICENSE="GPL-2"
 SLOT="0"
-IUSE="ftdi readline static-libs usb"
+IUSE="ftdi ftd2xx readline static-libs usb"
 
 DEPEND="ftdi? ( dev-embedded/libftdi )
+       ftd2xx? ( dev-embedded/libftd2xx )
        readline? ( sys-libs/readline )
        usb? ( virtual/libusb:1 )"
 RDEPEND="${DEPEND}
@@ -44,6 +45,7 @@
                --disable-python \
                $(use_with readline) \
                $(use_with ftdi libftdi) \
+               $(use_with ftd2xx ftd2xx /opt/$(get_libdir)) \
                $(use_enable static-libs static) \
                $(use_with usb libusb 1.0)
 }
################
################

I tested it on x86-64. It should work on 32bit systems too.


William






------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
UrJTAG-development mailing list
UrJTAG-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/urjtag-development

Reply via email to