From e00fec60c82357e56e7c5bc4f5e1314d0c236c8d Mon Sep 17 00:00:00 2001 From: Dirk Opfer Date: Mon, 8 May 2006 11:24:35 +0000 Subject: linux/linux-openzaurus.inc: tosa kernel won't work with gcc4.0.x. version check implemented. --- packages/linux/linux-openzaurus.inc | 7 +++++++ 1 file changed, 7 insertions(+) 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 -- cgit v1.2.3