summaryrefslogtreecommitdiff
path: root/packages/linux/linux-openzaurus.inc
diff options
context:
space:
mode:
authorHolger Freyther <zecke@selfish.org>2006-05-13 14:00:14 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-05-13 14:00:14 +0000
commit69bdd1a150ad4017fa2518df05cff17be98e9cb5 (patch)
treed0c1412bc7bf26a31fd00b8e953c5843773c5c9c /packages/linux/linux-openzaurus.inc
parent4e6cf107a375dd8100293ff4de8c8e23be55a2ea (diff)
parent13e983ea44cd0b8e1b7fc7ff6fdb892658db80ad (diff)
merge of 008eb71d2c280e1f5c511b697e1376dda71d5eef
and 61329a2030536aebd4f09b262832d612b83a3f03
Diffstat (limited to 'packages/linux/linux-openzaurus.inc')
-rw-r--r--packages/linux/linux-openzaurus.inc7
1 files changed, 7 insertions, 0 deletions
diff --git a/packages/linux/linux-openzaurus.inc b/packages/linux/linux-openzaurus.inc
index 45a4652862..c806452e52 100644
--- a/packages/linux/linux-openzaurus.inc
+++ b/packages/linux/linux-openzaurus.inc
@@ -59,6 +59,13 @@ module_autoload_snd-soc-spitz_spitz = "snd-soc-spitz"
do_configure() {
rm -f ${S}/.config
+ if [ "${MACHINE}" == "tosa" ]; then
+ gcc_version=`${KERNEL_CC} -dumpversion`
+ if [ "${gcc_version}" == "4.0.1" ] || [ "${gcc_version}" == "4.0.2" ]; then
+ die "tosa kernel wont work with gcc 4.0.x"
+ fi
+ fi
+
if [ ! -e ${WORKDIR}/defconfig-${MACHINE} ]; then
die "No default configuration for ${MACHINE} available."
fi