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

Vladimir Zapolskiy vladimir_zapolskiy at mentor.com
Mon Aug 13 14:28:44 PDT 2012


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.

>>                                          ${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



More information about the yocto mailing list