summaryrefslogtreecommitdiff
path: root/packages/linux
diff options
context:
space:
mode:
authorDirk Opfer <dirk@opfer-online.de>2006-05-08 11:24:35 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-05-08 11:24:35 +0000
commite00fec60c82357e56e7c5bc4f5e1314d0c236c8d (patch)
tree37b938a18cd2c68ea965c2d60d10e8ffc53e4dad /packages/linux
parent545b374dac2aacb9ad1fc36aaa65d9946bc56cfd (diff)
linux/linux-openzaurus.inc: tosa kernel won't work with gcc4.0.x. version check implemented.
Diffstat (limited to 'packages/linux')
-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