summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authornslu2-linux.adm@bkbits.net <nslu2-linux.adm@bkbits.net>2005-06-04 20:40:09 +0000
committernslu2-linux.adm@bkbits.net <nslu2-linux.adm@bkbits.net>2005-06-04 20:40:09 +0000
commit84548b84b58e0dc78ca4048efd14f5e856dcfbd5 (patch)
tree5d14d541c7975ecd95f0a70bba6d1a60aebbf0c7 /packages
parent25c6441ff72fc6705fd44d85a374ab512fc0cbf8 (diff)
Merge bk://oe-devel.bkbits.net/openembedded
into bkbits.net:/repos/n/nslu2-linux/openembedded 2005/06/04 20:57:43+01:00 reciva.com!pb shuffle some gcc bits around BKrev: 42a211a9UI3CnuzP7rPMH507ZQN9wg
Diffstat (limited to 'packages')
-rw-r--r--packages/gcc/gcc3-build.inc9
-rw-r--r--packages/gcc/gcc4-build.inc0
2 files changed, 8 insertions, 1 deletions
diff --git a/packages/gcc/gcc3-build.inc b/packages/gcc/gcc3-build.inc
index 3e5510c51a..daf8c64763 100644
--- a/packages/gcc/gcc3-build.inc
+++ b/packages/gcc/gcc3-build.inc
@@ -10,11 +10,18 @@ S = "${WORKDIR}/gcc-${PV}"
B = "${S}/build.${HOST_SYS}.${TARGET_SYS}"
BINV ?= "${PV}"
+# gcj doesn't work on arm
+JAVA = ",java"
+JAVA_arm = ""
+# gcc4-build sets this to f95
+FORTRAN ?= "f77"
+LANGUAGES ?= "c,c++,${FORTRAN}${JAVA}"
+
EXTRA_OECONF = "${@['--enable-clocale=generic', ''][bb.data.getVar('USE_NLS', d, 1) != 'no']} \
--with-gnu-ld \
--enable-shared \
--enable-target-optspace \
- --enable-languages=c,c++,f77 \
+ --enable-languages=${LANGUAGES} \
--enable-threads=posix \
--enable-multilib \
--enable-c99 \
diff --git a/packages/gcc/gcc4-build.inc b/packages/gcc/gcc4-build.inc
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/gcc/gcc4-build.inc