Files
poky/meta/recipes-kernel/linux/linux-yocto_3.14.bb
Bruce Ashfield 8ad2c024f3 linux-yocto/3.14: fix edgerouter (octeon) build
Upating the SRCREVs to import the following commit:

    Author: Kevin Hao <kexin.hao@windriver.com>
    Date:   Mon Aug 31 19:34:48 2015 +0800

        mips: octeon: use ll/sc for the atomic ops for all the predecessor
        of octeon2

        Even the octeon plus has the support of the 'saa' instruction, but
        we
        don't have a way to distinguish between octeon and octeon plus at
        compile time and pass "-march=octeon" to all the predecessor of
        octeon2. So it will cause the following error when trying to
        assemble
        the "saa" instruction with option "-march=octeon":
          {standard input}: Assembler messages:
          {standard input}:360: Error: Unrecognized opcode `saa $2,($4)'
          scripts/Makefile.build:308: recipe for target
        'arch/mips/cavium-octeon/executive/cvmx-lap.o' failed

        Forcing to use the "ll/sc" for the atomic ops for all the
        predecessor
        of octeon2 to fix this issue.

        Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
        Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>

(From OE-Core rev: a31c715fe484af7fe582d8becac0f20a33acac42)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-09-09 14:27:47 +01:00

42 lines
1.8 KiB
BlitzBasic

KBRANCH ?= "standard/base"
require recipes-kernel/linux/linux-yocto.inc
# board specific branches
KBRANCH_qemuarm ?= "standard/arm-versatile-926ejs"
KBRANCH_qemuarm64 ?= "standard/qemuarm64"
KBRANCH_qemumips ?= "standard/mti-malta32"
KBRANCH_qemuppc ?= "standard/qemuppc"
KBRANCH_qemux86 ?= "standard/common-pc/base"
KBRANCH_qemux86-64 ?= "standard/common-pc-64/base"
KBRANCH_qemumips64 ?= "standard/mti-malta64"
SRCREV_machine_qemuarm ?= "4817747912b5c50ce5c31ef25658340ca615e1b4"
SRCREV_machine_qemuarm64 ?= "578602a722dbfb260801f3b37c6eafd2abb2340d"
SRCREV_machine_qemumips ?= "6ed76ec26b120f65f8547c8612b7334bd2745ec9"
SRCREV_machine_qemuppc ?= "a86ade84b2e142c0fd7536d96477107b6d07db5c"
SRCREV_machine_qemux86 ?= "af1f7f586bd32d39c057f17606991b887eadb389"
SRCREV_machine_qemux86-64 ?= "578602a722dbfb260801f3b37c6eafd2abb2340d"
SRCREV_machine_qemumips64 ?= "a63d40b860a6d255005a541894d53729090b40ea"
SRCREV_machine ?= "578602a722dbfb260801f3b37c6eafd2abb2340d"
SRCREV_meta ?= "3a09b38a9f5015c56d99d17aa7c2f200c566249b"
SRC_URI = "git://git.yoctoproject.org/linux-yocto-3.14.git;branch=${KBRANCH};name=machine; \
git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-3.14;destsuffix=${KMETA}"
LINUX_VERSION ?= "3.14.36"
PV = "${LINUX_VERSION}+git${SRCPV}"
KMETA = "kernel-meta"
KCONF_BSP_AUDIT_LEVEL = "2"
COMPATIBLE_MACHINE = "qemuarm|qemuarm64|qemux86|qemuppc|qemumips|qemumips64|qemux86-64"
# Functionality flags
KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc"
KERNEL_FEATURES_append = " ${KERNEL_EXTRA_FEATURES}"
KERNEL_FEATURES_append_qemux86=" cfg/sound.scc cfg/paravirt_kvm.scc"
KERNEL_FEATURES_append_qemux86-64=" cfg/sound.scc cfg/paravirt_kvm.scc"
KERNEL_FEATURES_append = " ${@bb.utils.contains("TUNE_FEATURES", "mx32", " cfg/x32.scc", "" ,d)}"