koenkooi / meta-beagleboard

Board support layer for the beagleboard.org family
beagleboard.org
MIT License
6 stars 7 forks source link

KERNEL_CONFIG_FRAGMENTS handling fails with 3.8 kernel #16

Closed imyller closed 10 years ago

imyller commented 10 years ago

The change committed in 2dac0fc7184ce0abbbc21d6845822a8a165e9058 uses -O parameter for merge_config.sh.

This parameter was introduced in 3.9 kernel.

Maybe the -O could be replaced with a simple cp ${WORKDIR}/.config ${S}/.config ?

imyller commented 10 years ago

One solution is to call merge_config.sh like this:

( cd ${S} && ${S}/scripts/kconfig/merge_config.sh -m -r ${S}/.config ${KERNEL_CONFIG_FRAGMENTS} 1>&2 )

Works for both 3.8 and 3.14 kernels.

koenkooi commented 10 years ago

Another option would be to backport the -O thing to 3.8. I don't have a preference for any solution, could you make a pull request with the one you think is best?