[oe] [PATCH] elf2flt-cross_nios2-git.bb: elf2flt-cross for nios2.
Leon Woestenberg
leon.woestenberg at gmail.com
Sun Dec 6 22:44:42 UTC 2009
This is from a non-upstream GIT'd fork of elf2flt, community
maintained.
Tested-by: Walter Goossens <walter.goossens at axon.tv>
Tested-by: Leon Woestenberg <leon at sidebranch.com>
Signed-off-by: Leon Woestenberg <leon at sidebranch.com>
---
recipes/elf2flt/elf2flt-cross_nios2-git.bb | 17 +++++++++++++++++
1 files changed, 17 insertions(+), 0 deletions(-)
create mode 100644 recipes/elf2flt/elf2flt-cross_nios2-git.bb
diff --git a/recipes/elf2flt/elf2flt-cross_nios2-git.bb b/recipes/elf2flt/elf2flt-cross_nios2-git.bb
new file mode 100644
index 0000000..a7925cd
--- /dev/null
+++ b/recipes/elf2flt/elf2flt-cross_nios2-git.bb
@@ -0,0 +1,17 @@
+DESCRIPTION = "Elf2flt is a wrapper around the linker for uclinux platforms"
+PV = "0.1"
+DEPENDS = "binutils-cross zlib-native"
+
+inherit autotools cross
+
+SRC_URI = "git://sopc.et.ntust.edu.tw/git/elf2flt.git;protocol=git;branch=nios2;tag=7f2f6c6b107fb18b6b6d3692b273a00315948da4"
+
+S = "${WORKDIR}/git"
+
+EXTRA_OECONF = " --with-libiberty=${CROSS_DIR}/lib/libiberty.a \
+ --with-libbfd=${CROSS_DIR}/${HOST_SYS}/${TARGET_SYS}/lib/libbfd.a \
+ --with-bfd-include-dir=${CROSS_DIR}/${HOST_SYS}/${TARGET_SYS}/include \
+ --with-binutils-include-dir=${CROSS_DIR}/include \
+ --disable-emit-relocs \
+ "
+
--
1.6.0.4
More information about the Openembedded-devel
mailing list