[meta-freescale] [meta-fsl-ppc]t4240qds yocto build

Vigneshwaren Sankaran vigneshwaren.sankaran78 at gmail.com
Mon Jan 27 07:06:41 PST 2014


I am trying to write my own kernel recipes (basically builidng the image
with a different kernel source). The machine is a Freescale T4240qds board.
I have the meta-fsl-ppc layer required to provide support and in the
recipes-kernel folder, I wrote the following bb file (linux-t4240qds.bb):


inherit kernel
require recipes-kernel/linux/linux-yocto.inc
KBRANCH_DEFAULT = "master"
KBRANCH = "${KBRANCH_DEFAULT}"
SRC_URI = "git://
git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git;protocol=git;nocheckout=1;branch=${KBRANCH};name=machine<http://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git;protocol=git;nocheckout=1;branch=$%7BKBRANCH%7D;name=machine>
"
SRC_URI += "file://defconfig"
LINUX_VERSION ?= "3.12.9"
LINUX_VERSION_EXTENSION ?= "-custom"
DEPENDS_append = " libgcc"
KERNEL_CC_append = " ${TOOLCHAIN_OPTIONS}"
KERNEL_LD_append = " ${TOOLCHAIN_OPTIONS}"
SRCREV = "4a5804b8c293b23786b0743fc9c64b64f5099048"
PR = "r1"
PV = "${LINUX_VERSION}+git${SRCPV}"
KMETA = ""
COMPATIBLE_MACHINE = "($MACHINE|t4240qds)"

The defconfig file was the .config file from a previous t4240 build, that I
had used.

The error that I got was:
during the do_compile() stage
:
/home/usernsl/poky-dora-10.0.0/build/tmp/work/t4240qds-poky-linux/linux-t4240qds/3.12.9+gitAUTOINC+4a5804b8c2-r1/linux/scripts/mod/empty.c:1:0:
error: -mcmodel not supported in this configuration
:
/home/usernsl/poky-dora-10.0.0/build/tmp/work/t4240qds-poky-linux/linux-t4240qds/3.12.9+gitAUTOINC+4a5804b8c2-r1/linux/kernel/bounds.c:1:0:
error: -mcmodel not supported in this configuration
:

I have shown only a section of the error screen. What is it that I am doing
that is wrong? Thanks in advance
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20140127/3aab1c86/attachment-0001.html>


More information about the meta-freescale mailing list