]> code.ossystems Code Review - meta-freescale.git/commit
linux-qoriq recipes: reorder merge_delta_config task
authorfvo <voit@zuhause-plattform.de>
Wed, 11 Dec 2019 08:59:53 +0000 (09:59 +0100)
committerOtavio Salvador <otavio@ossystems.com.br>
Wed, 11 Dec 2019 14:25:55 +0000 (11:25 -0300)
commit6e0b6f295fa7f62484b7a448fb729fbd32191a6b
tree0ccb26ac26ef22edc2efe9ff916769d7ae26c425
parent2c386f1dd2ea11db2cb2cf44300461cb244697eb
linux-qoriq recipes: reorder merge_delta_config task

I've tried build linux-variscite where the maintainers seem to have
copied the 'merge_delta_config' task from the linux-qoriq recipe from
meta-freescale.

When i tried to use that task to add some linux kernel config flags it
did not work. It seems like the 'do_preconfigure' task inherited by the
'fsl-kernel-localversion' class deletes all content of the '.config'
file AFTER it has been merged by the 'merge_delta_config' task.

I reordered the tasks so that merge_delta_config is run after
preconfigure:

addtask merge_delta_config before do_configure after do_patch
do_preconfigure

which solved the problem for me. The flags were then added and compiled
into the kernel.

Signed-off-by: Florian Voit <voit@zuhause-plattform.de>
recipes-kernel/linux/linux-qoriq-rt_4.14.bb
recipes-kernel/linux/linux-qoriq_4.14.bb
recipes-kernel/linux/linux-qoriq_4.19.bb