[meta-freescale] [PATCH] linux-mfgtool: fix building linux-mfgtool

Otavio Salvador otavio.salvador at ossystems.com.br
Fri Aug 31 07:11:39 PDT 2018

On Mon, Aug 6, 2018 at 4:19 PM <ferlandm at amotus.ca> wrote:
> From: Marc Ferland <ferlandm at amotus.ca>
> linux-mfgtool has been broken for a while with an error similar to:
> ERROR: Nothing PROVIDES 'virtual/mfgtool-arm-poky-linux-gnueabi-binutils'
> While I haven't been able to actually fix the current code, I noticed
> that OpenEmbedded-Core now supports (from commit
> 5b4aab6b40cf21471442e21abc8051b38985de84) building multiple kernels.
> This patch completly replaces the old linux-mfgtool with a single
> statement:
> KERNEL_PACKAGE_NAME = "linux-mfgtool"
> and it works surprisingly well! This patch also provides a separate
> defconfig for linux-imx-mfgtool (which currently is a copy of
> linux-imx defconfig).
> Note: The linux-mfgtool kernel will be deployed in ${DEPLOY}/mfgtool.
> Signed-off-by: Marc Ferland <ferlandm at amotus.ca>

Thank you for working on this. This indeed is a much better solution
now that OE-Core supports building multiple kernels.

In fact, we ended up fixing[1] the error because of one of our
customers, here at O.S. Systems, required the mfgtool use in an old
branch and then I pushed it on master, sumo and rocko.

1. https://github.com/Freescale/meta-freescale/commit/7a5f1e14504e43bf41ebb9f36cb56bd71cceab32#diff-9b732ab86ef3483bb0e54684c28fd84b

Due to this change, I reworked your commit to applying on top of the
new code and reworded the commit log accordingly.

I applied this to master and sumo. Please give it a go!

Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9 9981-7854          Mobile: +1 (347) 903-9750

More information about the meta-freescale mailing list