[yocto] [meta-fsl-ppc][PATCH] u-boot: correct path to config files

McClintock Matthew-B29882 B29882 at freescale.com
Mon Aug 13 14:43:04 PDT 2012


On Mon, Aug 13, 2012 at 4:28 PM, Vladimir Zapolskiy
<vladimir_zapolskiy at mentor.com> wrote:
> On 13.08.2012 23:52, McClintock Matthew-B29882 wrote:
>>
>> On Fri, Aug 10, 2012 at 5:48 PM, Vladimir Zapolskiy
>> <vladimir_zapolskiy at mentor.com>  wrote:
>>>
>>> The trivial change fixes u-boot compilation task, boot_format utility
>>> installs
>>> board configuration files into a subdirectory of STAGING_DATADIR_NATIVE.
>>>
>>> Signed-off-by: Vladimir Zapolskiy<vladimir_zapolskiy at mentor.com>
>>> Cc: Matthew McClintock<msm at freescale.com>
>>> ---
>>>   recipes-kernel/u-boot/u-boot_git.bb |    2 +-
>>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>>
>>> diff --git a/recipes-kernel/u-boot/u-boot_git.bb
>>> b/recipes-kernel/u-boot/u-boot_git.bb
>>> index 8ced122..4dfb723 100644
>>> --- a/recipes-kernel/u-boot/u-boot_git.bb
>>> +++ b/recipes-kernel/u-boot/u-boot_git.bb
>>> @@ -59,7 +59,7 @@ do_compile () {
>>>                                  cp ${S}/${board}/u-boot.bin
>>> ${S}/${board}/${UBOOT_TARGET}.bin
>>>                          else
>>>                                  ${STAGING_BINDIR_NATIVE}/boot_format \
>>> -
>>> ${STAGING_DATADIR_NATIVE}/${BOOTFORMAT_CONFIG} \
>>> +
>>> ${STAGING_DATADIR_NATIVE}/boot_format/${BOOTFORMAT_CONFIG} \
>>
>>
>> What is this applying against? The current versions of boot-format in
>> meta-fsl-ppc master install to /usr/share/... and this patch seems to
>> break things.
>>
>
> My mistake, the change is against a local clone of boot-format.
>
> Certainly there should be a prior (and trivial) fix against
> boot-format/Makefile source, which sets the installation directory.
>
> I can make the fix, if you want to proceed with this.

I guess, you are saying it's "correct" to put the files in
/usr/share/boot-format instead of /usr/share? That seems sensible...

-M

>
>
>>>                                          ${S}/${board}/u-boot.bin -spi
>>> ${S}/${board}/${UBOOT_TARGET}.bin
>>>                          fi
>>>                  fi
>>> --
>>> 1.7.10.4
>>>
>>> _______________________________________________
>>> yocto mailing list
>>> yocto at yoctoproject.org
>>> https://lists.yoctoproject.org/listinfo/yocto
>
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto



More information about the yocto mailing list