Hi Diego,

On 16.10.2013 00:07, Diego Sueiro wrote:
Folks,

I created the following bbapend recipe for linux-mainline_3.8.bb
<http://linux-mainline_3.8.bb> (from meta-beagleboard on dylan branch)
for beaglebone.
meta-mine/recipes-kernel/linux/linux-mainline_3.8.bbappend:

    FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
    SRC_URI += " file://0019-mine.patch \
                  file://defconfig \
                  "

But the defconfig and .config files on ${S} and ${WORKDIR} used are from
meta-beagleboad, not from my bbappend.

I did this like this in http://git.yoctoproject.org/cgit/cgit.cgi/meta-eca/tree/meta-eca-bsp/recipes-kernel/linux/linux-mainline_3.8.bbappend


FILESEXTRAPATHS_append := ":${THISDIR}/${PN}"

# netfilter stuff is missing from beaglebone kernel
SRC_URI_append_beaglebone += "file://netfilter.cfg"

do_configure_append_beaglebone () {
        for i in ${S}/../*.cfg; do
                echo "Adding ${i} to ${S}/.config"
                cat ${i} >> ${S}/.config
        done

        yes '' | oe_runmake oldconfig
}


Seems to work just fine for me.


--
Cheers,
Jukka
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to