From 121b90021e9e876dc582f448781211e938869651 Mon Sep 17 00:00:00 2001 From: Kristoffer Ericson Date: Wed, 28 Jun 2006 22:51:04 +0000 Subject: /conf/distro/jlime-donkey.conf: Addition of seperate kernel compile * Sets 3.4.3 as the default kernel compiler /linux/linux-jlime-sh3_2.6.16.20 : Addition of seperate kernel compile * Adds CC suffix to -3.4.3 so that gcc-3.4.3 will handle it Note currently, broken due to bitbake but change until working --- conf/distro/jlime-donkey.conf | 19 ++++++++++++------- packages/linux/linux-jlime-sh3_2.6.16.20.bb | 12 +++++------- 2 files changed, 17 insertions(+), 14 deletions(-) diff --git a/conf/distro/jlime-donkey.conf b/conf/distro/jlime-donkey.conf index 075140ec2b..a89dc17569 100644 --- a/conf/distro/jlime-donkey.conf +++ b/conf/distro/jlime-donkey.conf @@ -6,24 +6,29 @@ DISTRO_NAME = "jlime" DISTRO_VERSION = "donkey" -export FEED_URLS_jlime = "donkey##http://www.jlime.com/downloads/Releases/donkey/${TARGET_ARCH}/feed/" +export FEED_URLS_jlime = "donkey##http://www.jlime.com/downloads/releases/donkey/${TARGET_ARCH}/feed/" #<> #<> We will set CVS DATE when things are known to work. #<> SRCDATE = "20060627" PREFERRED_PROVIDERS = "virtual/${TARGET_PREFIX}gcc-initial:gcc-cross-initial" -PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc:gcc-cross" -PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}g++:gcc-cross" -PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}libc-for-gcc:glibc" +PREFERRED_PROVIDERS += "virtual/${TARGET_PREFIX}gcc:gcc-cross" +PREFERRED_PROVIDERS += "virtual/${TARGET_PREFIX}g++:gcc-cross" +PREFERRED_PROVIDERS += "virtual/${TARGET_PREFIX}libc-for-gcc:glibc" + +#<> We want this so we can crosscompile the kernel using gcc 3.4.3 +#<> Also, select version of modules (and kernel) +#<> +PREFERRED_PROVIDERS += "virtual/${TARGET_PREFIX}gcc-3.4.3:the-gcc" +PREFERRED_VERSION_the-gcc = "3.4.3" PREFERRED_PROVIDER_virtual/kernel = "linux-jlime-${TARGET_ARCH}" -PREFERRED_PROVIDER_virtual/xserver = "xserver-kdrive" -PREFERRED_VERSION_kernel-modules = "2.6.16.20" #<> #<>We want kdrive as our default X-Server. #<> -PREFERRED_PROVIDER_xserver = "xserver-kdrive" +PREFERRED_PROVIDER_xserver = "xserver-kdrive" +PREFERRED_PROVIDER_virtual/xserver = "xserver-kdrive" #<> #<>Setting Preferred Binutils,gcc,glibc and linux-libc-headers diff --git a/packages/linux/linux-jlime-sh3_2.6.16.20.bb b/packages/linux/linux-jlime-sh3_2.6.16.20.bb index a8c40e4969..de49ea3f26 100644 --- a/packages/linux/linux-jlime-sh3_2.6.16.20.bb +++ b/packages/linux/linux-jlime-sh3_2.6.16.20.bb @@ -7,17 +7,15 @@ COMPATIBLE_HOST = "sh.*-linux" COMPATIBLE_MACHINE = 'jornada6xx' SRC_URI = "http://www.jlime.com/downloads/Releases/donkey/kernels/6xx/sources/jlime-2.6.16.20-patched.tar.gz \ - file://defconfig_jlime \ - file://volatile-traps.c.patch;patch=1 \ - file://volatile-signal.c.patch;patch=1 \ - file://volatile-sys_sh.c.patch;patch=1 \ - file://volatile-setup.c.patch;patch=1 \ - file://Optimize-O1.patch;patch=1" - + file://defconfig_jlime" + S = "${WORKDIR}/linux-${PV}" inherit kernel +#Lets let 3.4.x handle the compilation of this one +KERNEL_CCSUFFIX = "-3.4.3" + ARCH = "sh" KERNEL_IMAGETYPE = "zImage" FILES_kernel-image = "/boot/${KERNEL_IMAGETYPE}*" -- cgit v1.2.3