wtk-overlay.git
12 years agoSet simulavr docdir to .../usr/share/doc/$PF not .../usr/share/$P. dev-embedded/simulavr
W. Trevor King [Wed, 15 Aug 2012 16:51:31 +0000 (12:51 -0400)]
Set simulavr docdir to .../usr/share/doc/$PF not .../usr/share/$P.

12 years agoBuild and install documentation when USE includes doc in simulavr.
W. Trevor King [Wed, 15 Aug 2012 15:02:43 +0000 (11:02 -0400)]
Build and install documentation when USE includes doc in simulavr.

12 years agoFix myconf -> my_conf typos in simulavr ebuild.
W. Trevor King [Tue, 14 Aug 2012 16:07:37 +0000 (12:07 -0400)]
Fix myconf -> my_conf typos in simulavr ebuild.

12 years agoSet RUNPATH for simulavr binary (so it can find libbfd).
W. Trevor King [Tue, 14 Aug 2012 02:27:30 +0000 (22:27 -0400)]
Set RUNPATH for simulavr binary (so it can find libbfd).

With --enable-new-dtags, ld sets both RUNPATH and RPATH instead of
just RPATH.  On Gentoo, this has been the default since 2005 [1], but
explicit is better than implicit [2].

  $ readelf -d .../usr/bin/simulavr | grep PATH
   0x000000000000000f (RPATH)    Library rpath: [/usr/lib/binutils/avr/git]
   0x000000000000001d (RUNPATH)  Library runpath: [/usr/lib/binutils/avr/git]

From ld(1):

  The "DT_RPATH" entries are ignored if "DT_RUNPATH" entries exist.

So the fact that there is a RPATH entry doesn't matter.

[1]: http://comments.gmane.org/gmane.comp.gnu.binutils/57379
[2]: http://www.python.org/dev/peps/pep-0020/

12 years agoAdjust simulavr docdir so docs get installed in ".../share/doc/${P}".
W. Trevor King [Tue, 14 Aug 2012 00:28:51 +0000 (20:28 -0400)]
Adjust simulavr docdir so docs get installed in ".../share/doc/${P}".

12 years agoPatch simulavr to work around bug 35737 (poisoned interrupts).
W. Trevor King [Mon, 13 Aug 2012 20:15:59 +0000 (16:15 -0400)]
Patch simulavr to work around bug 35737 (poisoned interrupts).

12 years agoAdd dev-embedded/simulavr.
W. Trevor King [Mon, 13 Aug 2012 19:47:46 +0000 (15:47 -0400)]
Add dev-embedded/simulavr.