aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorculot <culot@FreeBSD.org>2011-09-06 18:48:58 +0800
committerculot <culot@FreeBSD.org>2011-09-06 18:48:58 +0800
commitb33fa5af5a521360a26da9f7688d588d3b2a6f22 (patch)
tree0bc64f75119993c21d952affc546a23930b7d4f5
parent5495e31da3dc42c1129fa93819007fdc7400c19e (diff)
downloadfreebsd-ports-graphics-b33fa5af5a521360a26da9f7688d588d3b2a6f22.tar.gz
freebsd-ports-graphics-b33fa5af5a521360a26da9f7688d588d3b2a6f22.tar.zst
freebsd-ports-graphics-b33fa5af5a521360a26da9f7688d588d3b2a6f22.zip
This package is a dependency of lang/gnatdroid. It provides the cross-tools
required to build the GNAT FreeBSD->ARM cross-compiler that is gnatdroid, as well as any binaries that it produces. WWW: http://www.dragonlace.net PR: ports/160424 Submitted by: John Marino <freebsdml@marino.st>
-rw-r--r--lang/Makefile1
-rw-r--r--lang/gnatdroid-binutils/Makefile51
-rw-r--r--lang/gnatdroid-binutils/distinfo4
-rw-r--r--lang/gnatdroid-binutils/files/patch-bfd__Makefile.in13
-rw-r--r--lang/gnatdroid-binutils/files/patch-binutils__Makefile.in11
-rw-r--r--lang/gnatdroid-binutils/files/patch-configure11
-rw-r--r--lang/gnatdroid-binutils/files/patch-gas__Makefile.in11
-rw-r--r--lang/gnatdroid-binutils/files/patch-gas__configure.tgt10
-rw-r--r--lang/gnatdroid-binutils/files/patch-gprof__Makefile.in20
-rw-r--r--lang/gnatdroid-binutils/files/patch-ld__Makefile.in16
-rw-r--r--lang/gnatdroid-binutils/files/patch-ld__configure.tgt13
-rw-r--r--lang/gnatdroid-binutils/files/patch-libiberty__Makefile.in11
-rw-r--r--lang/gnatdroid-binutils/pkg-descr5
-rw-r--r--lang/gnatdroid-binutils/pkg-plist114
14 files changed, 291 insertions, 0 deletions
diff --git a/lang/Makefile b/lang/Makefile
index fa169a27ee6..1b7ea1e7fe2 100644
--- a/lang/Makefile
+++ b/lang/Makefile
@@ -103,6 +103,7 @@
SUBDIR += gjs
SUBDIR += gnat
SUBDIR += gnat-aux
+ SUBDIR += gnatdroid-binutils
SUBDIR += gnatdroid-sysroot
SUBDIR += gnustep-base
SUBDIR += gnustep-guile
diff --git a/lang/gnatdroid-binutils/Makefile b/lang/gnatdroid-binutils/Makefile
new file mode 100644
index 00000000000..d9b26f87c6c
--- /dev/null
+++ b/lang/gnatdroid-binutils/Makefile
@@ -0,0 +1,51 @@
+# New ports collection makefile for: gnatdroid-binutils
+# Date created: 2011-07-20
+# Whom: John Marino <draco@marino>
+#
+# $FreeBSD$
+#
+
+PORTNAME= binutils
+PORTVERSION= 2.21.1
+CATEGORIES= lang
+MASTER_SITES= ${MASTER_SITE_SOURCEWARE}
+MASTER_SITE_SUBDIR= binutils/releases
+PKGNAMEPREFIX= gnatdroid-
+
+MAINTAINER= draco@marino.st
+COMMENT= Infrastructure for C/Ada Android cross-compiler
+
+BUILD_DEPENDS= gnatdroid-sysroot>=9:${PORTSDIR}/lang/gnatdroid-sysroot \
+ ${LOCALBASE}/lib/libgmp.so:${PORTSDIR}/math/gmp \
+ ${LOCALBASE}/lib/libmpfr.so:${PORTSDIR}/math/mpfr
+RUN_DEPENDS:= ${BUILD_DEPENDS}
+
+USE_BZIP2= YES
+USE_GMAKE= YES
+HAS_CONFIGURE= YES
+NO_MTREE= YES
+MAKE_JOBS_SAFE= YES
+
+WRKSRC= ${WRKDIR}/binutils-${PORTVERSION}
+PREFIX= ${LOCALBASE}/android9
+BRANCH1= ARMv5
+BRANCH2= ARMv7
+BR1_PREFIX= ${PREFIX}/${BRANCH1}
+BR2_PREFIX= ${PREFIX}/${BRANCH2}
+ARMTARGET= arm-android-eabi
+PLIST_SUB+= TARGET="${ARMTARGET}"
+PLIST_SUB+= BRANCH1="${BRANCH1}"
+PLIST_SUB+= BRANCH2="${BRANCH2}"
+
+CONFIGURE_ARGS+= --target=${ARMTARGET}
+CONFIGURE_ARGS+= --prefix=${BR1_PREFIX}
+CONFIGURE_ARGS+= --with-sysroot=${PREFIX}
+CONFIGURE_ARGS+= --with-gmp=${LOCALBASE}
+CONFIGURE_ARGS+= --with-mpfr=${LOCALBASE}
+CONFIGURE_ARGS+= --disable-nls
+
+post-install:
+ ${MKDIR} ${BR2_PREFIX}
+ (cd ${BR1_PREFIX} && ${COPYTREE_BIN} \* ${BR2_PREFIX})
+
+.include <bsd.port.mk>
diff --git a/lang/gnatdroid-binutils/distinfo b/lang/gnatdroid-binutils/distinfo
new file mode 100644
index 00000000000..b0c8cc999c1
--- /dev/null
+++ b/lang/gnatdroid-binutils/distinfo
@@ -0,0 +1,4 @@
+SHA256 (binutils-2.21.1.tar.bz2) = f769b64350a02fbee009e1582cc12b6ed43b41985de65effb741e258e075dd05
+SIZE (binutils-2.21.1.tar.bz2) = 18890094
+SHA256 (android-9-arm.tar.bz2) = c27063b829b4b49ea604c1b524399c7672ecb0f869478b18d37b9d4d32841a6b
+SIZE (android-9-arm.tar.bz2) = 1923856
diff --git a/lang/gnatdroid-binutils/files/patch-bfd__Makefile.in b/lang/gnatdroid-binutils/files/patch-bfd__Makefile.in
new file mode 100644
index 00000000000..8de42f4fe00
--- /dev/null
+++ b/lang/gnatdroid-binutils/files/patch-bfd__Makefile.in
@@ -0,0 +1,13 @@
+--- bfd/Makefile.in.orig 2011-07-21 01:29:01.000000000 +0200
++++ bfd/Makefile.in 2011-07-21 01:29:26.000000000 +0200
+@@ -323,8 +323,8 @@
+ RELEASE = y
+ INCDIR = $(srcdir)/../include
+ CSEARCH = -I. -I$(srcdir) -I$(INCDIR)
+-SUBDIRS = doc po
+-bfddocdir = doc
++SUBDIRS = po
++bfddocdir =
+ libbfd_la_LDFLAGS = $(am__append_1) -release `cat libtool-soversion` \
+ @SHARED_LDFLAGS@ $(am__empty)
+ @INSTALL_LIBBFD_TRUE@bfdlib_LTLIBRARIES = libbfd.la
diff --git a/lang/gnatdroid-binutils/files/patch-binutils__Makefile.in b/lang/gnatdroid-binutils/files/patch-binutils__Makefile.in
new file mode 100644
index 00000000000..d349024a4f8
--- /dev/null
+++ b/lang/gnatdroid-binutils/files/patch-binutils__Makefile.in
@@ -0,0 +1,11 @@
+--- binutils/Makefile.in.orig 2011-06-27 09:39:08.000000000 +0200
++++ binutils/Makefile.in 2011-07-21 14:50:20.000000000 +0200
+@@ -401,7 +401,7 @@
+ top_srcdir = @top_srcdir@
+ AUTOMAKE_OPTIONS = dejagnu no-dist foreign
+ ACLOCAL_AMFLAGS = -I .. -I ../config -I ../bfd
+-SUBDIRS = doc po
++SUBDIRS = po
+ tooldir = $(exec_prefix)/$(target_alias)
+
+ # Automake 1.10+ disables lex and yacc output file regeneration if
diff --git a/lang/gnatdroid-binutils/files/patch-configure b/lang/gnatdroid-binutils/files/patch-configure
new file mode 100644
index 00000000000..c84b8089bc5
--- /dev/null
+++ b/lang/gnatdroid-binutils/files/patch-configure
@@ -0,0 +1,11 @@
+--- configure.orig 2011-06-27 09:39:00.000000000 +0200
++++ configure 2011-07-21 14:04:08.000000000 +0200
+@@ -2670,7 +2670,7 @@
+ # binutils, gas and ld appear in that order because it makes sense to run
+ # "make check" in that particular order.
+ # If --enable-gold is used, "gold" may replace "ld".
+-host_tools="texinfo byacc flex bison binutils gas ld fixincludes gcc cgen sid sim gdb make patch prms send-pr gprof etc expect dejagnu ash bash bzip2 m4 autoconf automake libtool diff rcs fileutils shellutils time textutils wdiff find uudecode hello tar gzip indent recode release sed utils guile perl gawk findutils gettext zip fastjar gnattools"
++host_tools="texinfo byacc flex bison binutils gas ld fixincludes gcc cgen sid sim gdb make patch prms send-pr gprof expect dejagnu ash bash bzip2 m4 autoconf automake libtool diff rcs fileutils shellutils time textutils wdiff find uudecode hello tar gzip indent recode release sed utils guile perl gawk findutils gettext zip fastjar gnattools"
+
+ # libgcj represents the runtime libraries only used by gcj.
+ libgcj="target-libffi \
diff --git a/lang/gnatdroid-binutils/files/patch-gas__Makefile.in b/lang/gnatdroid-binutils/files/patch-gas__Makefile.in
new file mode 100644
index 00000000000..3c2bd269459
--- /dev/null
+++ b/lang/gnatdroid-binutils/files/patch-gas__Makefile.in
@@ -0,0 +1,11 @@
+--- gas/Makefile.in.orig 2011-07-21 01:29:49.000000000 +0200
++++ gas/Makefile.in 2011-07-21 01:30:03.000000000 +0200
+@@ -281,7 +281,7 @@
+ top_srcdir = @top_srcdir@
+ AUTOMAKE_OPTIONS = 1.11 dejagnu foreign no-dist
+ ACLOCAL_AMFLAGS = -I .. -I ../config -I ../bfd
+-SUBDIRS = doc po
++SUBDIRS = po
+ tooldir = $(exec_prefix)/$(target_alias)
+
+ # Automake 1.10+ disables lex and yacc output file regeneration if
diff --git a/lang/gnatdroid-binutils/files/patch-gas__configure.tgt b/lang/gnatdroid-binutils/files/patch-gas__configure.tgt
new file mode 100644
index 00000000000..407af38f610
--- /dev/null
+++ b/lang/gnatdroid-binutils/files/patch-gas__configure.tgt
@@ -0,0 +1,10 @@
+--- gas/configure.tgt.orig 2011-01-29 04:08:15 +0100
++++ gas/configure.tgt 2011-01-29 04:15:35 +0100
+@@ -105,6 +105,7 @@
+
+ arc-*-elf*) fmt=elf ;;
+
++ arm-android-eabi*) fmt=elf em=armlinuxeabi ;;
+ arm-*-aout) fmt=aout ;;
+ arm-*-coff | thumb-*-coff) fmt=coff ;;
+ arm-*-rtems* | thumb-*-rtems*) fmt=elf ;;
diff --git a/lang/gnatdroid-binutils/files/patch-gprof__Makefile.in b/lang/gnatdroid-binutils/files/patch-gprof__Makefile.in
new file mode 100644
index 00000000000..d34a584232c
--- /dev/null
+++ b/lang/gnatdroid-binutils/files/patch-gprof__Makefile.in
@@ -0,0 +1,20 @@
+--- gprof/Makefile.in.orig 2010-11-05 11:34:01.000000000 +0100
++++ gprof/Makefile.in 2011-07-23 19:05:29.000000000 +0200
+@@ -93,7 +93,7 @@
+ --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
+ $(LDFLAGS) -o $@
+ SOURCES = $(gprof_SOURCES)
+-INFO_DEPS = gprof.info
++INFO_DEPS =
+ am__TEXINFO_TEX_DIR = $(srcdir)/$(top_srcdir)/../texinfo
+ DVIS = gprof.dvi
+ PDFS = gprof.pdf
+@@ -861,7 +861,7 @@
+
+ info-am: $(INFO_DEPS)
+
+-install-data-am: install-info-am install-man
++install-data-am:
+
+ install-dvi: install-dvi-recursive
+
diff --git a/lang/gnatdroid-binutils/files/patch-ld__Makefile.in b/lang/gnatdroid-binutils/files/patch-ld__Makefile.in
new file mode 100644
index 00000000000..0b10793a1c0
--- /dev/null
+++ b/lang/gnatdroid-binutils/files/patch-ld__Makefile.in
@@ -0,0 +1,16 @@
+--- ld/Makefile.in.orig 2011-03-16 09:37:30.000000000 +0100
++++ ld/Makefile.in 2011-07-21 14:56:55.000000000 +0200
+@@ -1817,11 +1817,11 @@
+
+ html-am: $(HTMLS)
+
+-info: info-recursive
++info:
+
+ info-am: $(INFO_DEPS)
+
+-install-data-am: install-data-local install-info-am install-man
++install-data-am: install-data-local
+
+ install-dvi: install-dvi-recursive
+
diff --git a/lang/gnatdroid-binutils/files/patch-ld__configure.tgt b/lang/gnatdroid-binutils/files/patch-ld__configure.tgt
new file mode 100644
index 00000000000..c1576039889
--- /dev/null
+++ b/lang/gnatdroid-binutils/files/patch-ld__configure.tgt
@@ -0,0 +1,13 @@
+--- ld/configure.tgt.orig 2011-01-29 04:17:31 +0100
++++ ld/configure.tgt 2011-01-29 04:18:28 +0100
+@@ -44,6 +44,10 @@
+ ;;
+ arc-*-elf*) targ_emul=arcelf
+ ;;
++arm*-android-eabi*) targ_emul=armelf_linux_eabi
++ targ_extra_emuls=armelfb_linux_eabi
++ targ_extra_libpath=$targ_extra_emuls
++ ;;
+ arm-epoc-pe) targ_emul=arm_epoc_pe ; targ_extra_ofiles="deffilep.o pe-dll.o" ;;
+ arm*-*-cegcc*) targ_emul=arm_wince_pe ; targ_extra_ofiles="deffilep.o pe-dll.o"
+ LIB_PATH='${tooldir}/lib/w32api' ;;
diff --git a/lang/gnatdroid-binutils/files/patch-libiberty__Makefile.in b/lang/gnatdroid-binutils/files/patch-libiberty__Makefile.in
new file mode 100644
index 00000000000..2ae49db1df3
--- /dev/null
+++ b/lang/gnatdroid-binutils/files/patch-libiberty__Makefile.in
@@ -0,0 +1,11 @@
+--- libiberty/Makefile.in.orig 2011-07-23 00:35:21.000000000 +0200
++++ libiberty/Makefile.in 2011-07-23 00:35:38.000000000 +0200
+@@ -340,7 +340,7 @@
+ @MAINT@ echo stamp > stamp-functions
+
+ INSTALL_DEST = @INSTALL_DEST@
+-install: install_to_$(INSTALL_DEST) install-subdir
++install:
+
+ # This is tricky. Even though CC in the Makefile contains
+ # multilib-specific flags, it's overridden by FLAGS_TO_PASS from the
diff --git a/lang/gnatdroid-binutils/pkg-descr b/lang/gnatdroid-binutils/pkg-descr
new file mode 100644
index 00000000000..ca206a19bca
--- /dev/null
+++ b/lang/gnatdroid-binutils/pkg-descr
@@ -0,0 +1,5 @@
+This package is a dependency of lang/gnatdroid. It provides the cross-tools
+required to build the GNAT FreeBSD->ARM cross-compiler that is gnatdroid,
+as well as any binaries that it produces.
+
+WWW: http://www.dragonlace.net
diff --git a/lang/gnatdroid-binutils/pkg-plist b/lang/gnatdroid-binutils/pkg-plist
new file mode 100644
index 00000000000..3f8ee020efc
--- /dev/null
+++ b/lang/gnatdroid-binutils/pkg-plist
@@ -0,0 +1,114 @@
+%%BRANCH1%%/%%TARGET%%/bin/ar
+%%BRANCH1%%/%%TARGET%%/bin/as
+%%BRANCH1%%/%%TARGET%%/bin/ld
+%%BRANCH1%%/%%TARGET%%/bin/ld.bfd
+%%BRANCH1%%/%%TARGET%%/bin/nm
+%%BRANCH1%%/%%TARGET%%/bin/objcopy
+%%BRANCH1%%/%%TARGET%%/bin/objdump
+%%BRANCH1%%/%%TARGET%%/bin/ranlib
+%%BRANCH1%%/%%TARGET%%/bin/strip
+%%BRANCH1%%/%%TARGET%%/lib/ldscripts/armelf_linux_eabi.x
+%%BRANCH1%%/%%TARGET%%/lib/ldscripts/armelf_linux_eabi.xbn
+%%BRANCH1%%/%%TARGET%%/lib/ldscripts/armelf_linux_eabi.xc
+%%BRANCH1%%/%%TARGET%%/lib/ldscripts/armelf_linux_eabi.xd
+%%BRANCH1%%/%%TARGET%%/lib/ldscripts/armelf_linux_eabi.xdc
+%%BRANCH1%%/%%TARGET%%/lib/ldscripts/armelf_linux_eabi.xdw
+%%BRANCH1%%/%%TARGET%%/lib/ldscripts/armelf_linux_eabi.xn
+%%BRANCH1%%/%%TARGET%%/lib/ldscripts/armelf_linux_eabi.xr
+%%BRANCH1%%/%%TARGET%%/lib/ldscripts/armelf_linux_eabi.xs
+%%BRANCH1%%/%%TARGET%%/lib/ldscripts/armelf_linux_eabi.xsc
+%%BRANCH1%%/%%TARGET%%/lib/ldscripts/armelf_linux_eabi.xsw
+%%BRANCH1%%/%%TARGET%%/lib/ldscripts/armelf_linux_eabi.xu
+%%BRANCH1%%/%%TARGET%%/lib/ldscripts/armelf_linux_eabi.xw
+%%BRANCH1%%/%%TARGET%%/lib/ldscripts/armelfb_linux_eabi.x
+%%BRANCH1%%/%%TARGET%%/lib/ldscripts/armelfb_linux_eabi.xbn
+%%BRANCH1%%/%%TARGET%%/lib/ldscripts/armelfb_linux_eabi.xc
+%%BRANCH1%%/%%TARGET%%/lib/ldscripts/armelfb_linux_eabi.xd
+%%BRANCH1%%/%%TARGET%%/lib/ldscripts/armelfb_linux_eabi.xdc
+%%BRANCH1%%/%%TARGET%%/lib/ldscripts/armelfb_linux_eabi.xdw
+%%BRANCH1%%/%%TARGET%%/lib/ldscripts/armelfb_linux_eabi.xn
+%%BRANCH1%%/%%TARGET%%/lib/ldscripts/armelfb_linux_eabi.xr
+%%BRANCH1%%/%%TARGET%%/lib/ldscripts/armelfb_linux_eabi.xs
+%%BRANCH1%%/%%TARGET%%/lib/ldscripts/armelfb_linux_eabi.xsc
+%%BRANCH1%%/%%TARGET%%/lib/ldscripts/armelfb_linux_eabi.xsw
+%%BRANCH1%%/%%TARGET%%/lib/ldscripts/armelfb_linux_eabi.xu
+%%BRANCH1%%/%%TARGET%%/lib/ldscripts/armelfb_linux_eabi.xw
+%%BRANCH1%%/bin/%%TARGET%%-addr2line
+%%BRANCH1%%/bin/%%TARGET%%-ar
+%%BRANCH1%%/bin/%%TARGET%%-as
+%%BRANCH1%%/bin/%%TARGET%%-c++filt
+%%BRANCH1%%/bin/%%TARGET%%-elfedit
+%%BRANCH1%%/bin/%%TARGET%%-gprof
+%%BRANCH1%%/bin/%%TARGET%%-ld
+%%BRANCH1%%/bin/%%TARGET%%-ld.bfd
+%%BRANCH1%%/bin/%%TARGET%%-nm
+%%BRANCH1%%/bin/%%TARGET%%-objcopy
+%%BRANCH1%%/bin/%%TARGET%%-objdump
+%%BRANCH1%%/bin/%%TARGET%%-ranlib
+%%BRANCH1%%/bin/%%TARGET%%-readelf
+%%BRANCH1%%/bin/%%TARGET%%-size
+%%BRANCH1%%/bin/%%TARGET%%-strings
+%%BRANCH1%%/bin/%%TARGET%%-strip
+@dirrm %%BRANCH1%%/%%TARGET%%/bin
+@dirrm %%BRANCH1%%/%%TARGET%%/lib/ldscripts
+@dirrm %%BRANCH1%%/%%TARGET%%/lib
+@dirrm %%BRANCH1%%/%%TARGET%%
+@dirrm %%BRANCH1%%/bin
+@dirrm %%BRANCH1%%
+%%BRANCH2%%/%%TARGET%%/bin/ar
+%%BRANCH2%%/%%TARGET%%/bin/as
+%%BRANCH2%%/%%TARGET%%/bin/ld
+%%BRANCH2%%/%%TARGET%%/bin/ld.bfd
+%%BRANCH2%%/%%TARGET%%/bin/nm
+%%BRANCH2%%/%%TARGET%%/bin/objcopy
+%%BRANCH2%%/%%TARGET%%/bin/objdump
+%%BRANCH2%%/%%TARGET%%/bin/ranlib
+%%BRANCH2%%/%%TARGET%%/bin/strip
+%%BRANCH2%%/%%TARGET%%/lib/ldscripts/armelf_linux_eabi.x
+%%BRANCH2%%/%%TARGET%%/lib/ldscripts/armelf_linux_eabi.xbn
+%%BRANCH2%%/%%TARGET%%/lib/ldscripts/armelf_linux_eabi.xc
+%%BRANCH2%%/%%TARGET%%/lib/ldscripts/armelf_linux_eabi.xd
+%%BRANCH2%%/%%TARGET%%/lib/ldscripts/armelf_linux_eabi.xdc
+%%BRANCH2%%/%%TARGET%%/lib/ldscripts/armelf_linux_eabi.xdw
+%%BRANCH2%%/%%TARGET%%/lib/ldscripts/armelf_linux_eabi.xn
+%%BRANCH2%%/%%TARGET%%/lib/ldscripts/armelf_linux_eabi.xr
+%%BRANCH2%%/%%TARGET%%/lib/ldscripts/armelf_linux_eabi.xs
+%%BRANCH2%%/%%TARGET%%/lib/ldscripts/armelf_linux_eabi.xsc
+%%BRANCH2%%/%%TARGET%%/lib/ldscripts/armelf_linux_eabi.xsw
+%%BRANCH2%%/%%TARGET%%/lib/ldscripts/armelf_linux_eabi.xu
+%%BRANCH2%%/%%TARGET%%/lib/ldscripts/armelf_linux_eabi.xw
+%%BRANCH2%%/%%TARGET%%/lib/ldscripts/armelfb_linux_eabi.x
+%%BRANCH2%%/%%TARGET%%/lib/ldscripts/armelfb_linux_eabi.xbn
+%%BRANCH2%%/%%TARGET%%/lib/ldscripts/armelfb_linux_eabi.xc
+%%BRANCH2%%/%%TARGET%%/lib/ldscripts/armelfb_linux_eabi.xd
+%%BRANCH2%%/%%TARGET%%/lib/ldscripts/armelfb_linux_eabi.xdc
+%%BRANCH2%%/%%TARGET%%/lib/ldscripts/armelfb_linux_eabi.xdw
+%%BRANCH2%%/%%TARGET%%/lib/ldscripts/armelfb_linux_eabi.xn
+%%BRANCH2%%/%%TARGET%%/lib/ldscripts/armelfb_linux_eabi.xr
+%%BRANCH2%%/%%TARGET%%/lib/ldscripts/armelfb_linux_eabi.xs
+%%BRANCH2%%/%%TARGET%%/lib/ldscripts/armelfb_linux_eabi.xsc
+%%BRANCH2%%/%%TARGET%%/lib/ldscripts/armelfb_linux_eabi.xsw
+%%BRANCH2%%/%%TARGET%%/lib/ldscripts/armelfb_linux_eabi.xu
+%%BRANCH2%%/%%TARGET%%/lib/ldscripts/armelfb_linux_eabi.xw
+%%BRANCH2%%/bin/%%TARGET%%-addr2line
+%%BRANCH2%%/bin/%%TARGET%%-ar
+%%BRANCH2%%/bin/%%TARGET%%-as
+%%BRANCH2%%/bin/%%TARGET%%-c++filt
+%%BRANCH2%%/bin/%%TARGET%%-elfedit
+%%BRANCH2%%/bin/%%TARGET%%-gprof
+%%BRANCH2%%/bin/%%TARGET%%-ld
+%%BRANCH2%%/bin/%%TARGET%%-ld.bfd
+%%BRANCH2%%/bin/%%TARGET%%-nm
+%%BRANCH2%%/bin/%%TARGET%%-objcopy
+%%BRANCH2%%/bin/%%TARGET%%-objdump
+%%BRANCH2%%/bin/%%TARGET%%-ranlib
+%%BRANCH2%%/bin/%%TARGET%%-readelf
+%%BRANCH2%%/bin/%%TARGET%%-size
+%%BRANCH2%%/bin/%%TARGET%%-strings
+%%BRANCH2%%/bin/%%TARGET%%-strip
+@dirrm %%BRANCH2%%/%%TARGET%%/bin
+@dirrm %%BRANCH2%%/%%TARGET%%/lib/ldscripts
+@dirrm %%BRANCH2%%/%%TARGET%%/lib
+@dirrm %%BRANCH2%%/%%TARGET%%
+@dirrm %%BRANCH2%%/bin
+@dirrm %%BRANCH2%%