Skip to content

Commit

Permalink
elf2flt-nios2: This should build now. Seriously. Really Really.
Browse files Browse the repository at this point in the history
Really Really Really.

Signed-off-by: Leon Woestenberg <leon@sidebranch.com>
  • Loading branch information
likewise committed Nov 26, 2009
1 parent b845c30 commit b37e2b2
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 8 deletions.
10 changes: 7 additions & 3 deletions recipes/binutils/binutils-cross.inc
Expand Up @@ -8,12 +8,13 @@ EXTRA_OECONF = "--with-sysroot=${STAGING_DIR_TARGET} \
--enable-install-libbfd \
--disable-werror"

# --enable-install-libiberty"

do_stage () {
oe_runmake install

install -d ${CROSS_DIR}/include
install -m 0644 ${S}/include/libiberty.h ${CROSS_DIR}/include
# install -d ${CROSS_DIR}/lib
# install -m 0644 ${S}/lib/libiberty.a ${CROSS_DIR}/lib

# We don't really need these, so we'll remove them...
rm -rf ${CROSS_DIR}/lib/ldscripts
Expand All @@ -29,5 +30,8 @@ do_stage () {
}

do_install () {
:
:
# this already happens, don't know why
# install -d ${CROSS_DIR}/lib
# install -m 0644 ${S}/lib/libiberty.a ${CROSS_DIR}/lib
}
2 changes: 1 addition & 1 deletion recipes/binutils/binutils.inc
Expand Up @@ -113,7 +113,7 @@ do_install () {
install -m 644 ${S}/include/ansidecl.h ${D}${includedir}
install -m 644 ${S}/include/libiberty.h ${D}${includedir}

oe_libinstall -a -C libiberty libiberty
#oe_libinstall -a -C libiberty libiberty

cd ${D}${bindir}

Expand Down
3 changes: 3 additions & 0 deletions recipes/gcc/gcc-cross_nios2-3.4.6.bb
Expand Up @@ -4,3 +4,6 @@ require gcc_nios2-3.4.6.inc
require gcc-cross.inc
require gcc-configure-cross.inc
require gcc-package-cross.inc

DEPENDS += "elf2flt-cross"

6 changes: 2 additions & 4 deletions recipes/gcc/gcc_nios2-3.4.6.inc
Expand Up @@ -2,17 +2,15 @@ JAVA = ""
FORTRAN = ""
OBJC = ""
SHARED_LIBRARIES = "no"
DEPENDS += " elf2flt-cross "
EXTRA_OECONF_append_nios2 = " --enable-cxx-flags=-static "
require gcc-common.inc
#DEPENDS += "elf2flt-cross"

BINV = "3.4.6"
PV = "nios2-3.4.6"

SRCREV = "b773f7eccc6cc2ffa8fa2bd201ea62f24ba0bb41"
GCCREV = "b773f7eccc6cc2ffa8fa2bd201ea62f24ba0bb41"

#SRC_URI = "git://sopc.et.ntust.edu.tw/git/gcc3.git;protocol=git;branch=nios2-linux"
SRCREV = "b773f7eccc6cc2ffa8fa2bd201ea62f24ba0bb41"

SRC_URI = "git://sopc.et.ntust.edu.tw/git/gcc3.git;protocol=http;branch=nios2-linux"

Expand Down

0 comments on commit b37e2b2

Please sign in to comment.