summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2004-09-16 02:51:11 +0000
committerChris Larson <clarson@kergoth.com>2004-09-16 02:51:11 +0000
commit67225038e62549bda2dc965a820c67ed6aab9a9f (patch)
treede4cbaea14e15735adedf1e3e03afb9a90c89776 /gcc
parent3d4a5446d84d420b5f95f10fd29b6fa68eb63e0d (diff)
Add armeb to the list of architectures that dont need an initial pass C library.
BKrev: 4148ff9f-Dz8DDiyoZzYqg2IL5rg5g
Diffstat (limited to 'gcc')
-rw-r--r--gcc/gcc-cross-initial_3.3.3.oe2
-rw-r--r--gcc/gcc-cross-initial_3.3.4.oe2
-rw-r--r--gcc/gcc-cross-initial_3.4.1.oe2
-rw-r--r--gcc/gcc-cross-initial_3.4.2.oe31
4 files changed, 34 insertions, 3 deletions
diff --git a/gcc/gcc-cross-initial_3.3.3.oe b/gcc/gcc-cross-initial_3.3.3.oe
index ae53897594..015de3a368 100644
--- a/gcc/gcc-cross-initial_3.3.3.oe
+++ b/gcc/gcc-cross-initial_3.3.3.oe
@@ -1,7 +1,7 @@
include gcc-cross_${PV}.oe
DEPENDS = "virtual/${TARGET_PREFIX}binutils"
-DEPENDS += "${@['virtual/${TARGET_PREFIX}libc-initial',''][oe.data.getVar('TARGET_ARCH', d, 1) in ['arm', 'mips', 'mipsel']]}"
+DEPENDS += "${@['virtual/${TARGET_PREFIX}libc-initial',''][oe.data.getVar('TARGET_ARCH', d, 1) in ['arm', 'armeb', 'mips', 'mipsel']]}"
PROVIDES = "virtual/${TARGET_PREFIX}gcc-initial"
# This is intended to be a -very- basic config
diff --git a/gcc/gcc-cross-initial_3.3.4.oe b/gcc/gcc-cross-initial_3.3.4.oe
index ae53897594..015de3a368 100644
--- a/gcc/gcc-cross-initial_3.3.4.oe
+++ b/gcc/gcc-cross-initial_3.3.4.oe
@@ -1,7 +1,7 @@
include gcc-cross_${PV}.oe
DEPENDS = "virtual/${TARGET_PREFIX}binutils"
-DEPENDS += "${@['virtual/${TARGET_PREFIX}libc-initial',''][oe.data.getVar('TARGET_ARCH', d, 1) in ['arm', 'mips', 'mipsel']]}"
+DEPENDS += "${@['virtual/${TARGET_PREFIX}libc-initial',''][oe.data.getVar('TARGET_ARCH', d, 1) in ['arm', 'armeb', 'mips', 'mipsel']]}"
PROVIDES = "virtual/${TARGET_PREFIX}gcc-initial"
# This is intended to be a -very- basic config
diff --git a/gcc/gcc-cross-initial_3.4.1.oe b/gcc/gcc-cross-initial_3.4.1.oe
index 933de58b7e..f1c7569421 100644
--- a/gcc/gcc-cross-initial_3.4.1.oe
+++ b/gcc/gcc-cross-initial_3.4.1.oe
@@ -1,7 +1,7 @@
include gcc-cross_${PV}.oe
DEPENDS = "virtual/${TARGET_PREFIX}binutils"
-DEPENDS += "${@['virtual/${TARGET_PREFIX}libc-initial',''][oe.data.getVar('TARGET_ARCH', d, 1) in ['arm', 'mips', 'mipsel']]}"
+DEPENDS += "${@['virtual/${TARGET_PREFIX}libc-initial',''][oe.data.getVar('TARGET_ARCH', d, 1) in ['arm', 'armeb', 'mips', 'mipsel']]}"
PROVIDES = "virtual/${TARGET_PREFIX}gcc-initial"
PACKAGES = ""
diff --git a/gcc/gcc-cross-initial_3.4.2.oe b/gcc/gcc-cross-initial_3.4.2.oe
index e69de29bb2..f1c7569421 100644
--- a/gcc/gcc-cross-initial_3.4.2.oe
+++ b/gcc/gcc-cross-initial_3.4.2.oe
@@ -0,0 +1,31 @@
+include gcc-cross_${PV}.oe
+
+DEPENDS = "virtual/${TARGET_PREFIX}binutils"
+DEPENDS += "${@['virtual/${TARGET_PREFIX}libc-initial',''][oe.data.getVar('TARGET_ARCH', d, 1) in ['arm', 'armeb', 'mips', 'mipsel']]}"
+PROVIDES = "virtual/${TARGET_PREFIX}gcc-initial"
+
+PACKAGES = ""
+
+# This is intended to be a -very- basic config
+EXTRA_OECONF = "--with-local-prefix=${CROSS_DIR}/${TARGET_SYS} \
+ --with-newlib \
+ --disable-nls \
+ --disable-shared \
+ --disable-threads \
+ --disable-multilib \
+ --disable-__cxa_atexit \
+ --enable-languages=c \
+ --enable-target-optspace \
+ --program-prefix=${TARGET_PREFIX} \
+ ${@get_gcc_fpu_setting(oe, d)}"
+
+do_stage_prepend () {
+ mkdir -p ${CROSS_DIR}/lib/gcc/${TARGET_SYS}/${PV}
+ ln -sf libgcc.a ${CROSS_DIR}/lib/gcc/${TARGET_SYS}/${PV}/libgcc_eh.a
+}
+
+# Override the method from gcc-cross so we don't try to install libgcc
+do_install () {
+ oe_runmake 'DESTDIR=${D}' install
+}
+