All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-xilinx-community] The URL: '${PATCH_LIST}' is invalid and cannot be interpreted
@ 2014-04-28 19:46 Elvis Dowson
  2014-04-28 19:50 ` Gary Thomas
  0 siblings, 1 reply; 3+ messages in thread
From: Elvis Dowson @ 2014-04-28 19:46 UTC (permalink / raw)
  To: OpenEmbedded Developer Mailing List

[-- Attachment #1: Type: text/plain, Size: 1736 bytes --]

Hi,

In the following linux-xlnx-3.8.bbappend, 

http://git.yoctoproject.org/cgit/cgit.cgi/meta-xilinx-community/tree/recipes-kernel/linux/linux-xlnx_3.8.bbappend

ZX3_ZYNQ7_PATCHSET = " \
			file://zx3-zynq7/0001-ze7000-phy-micrel-phy-init.patch                              \
			file://zx3-zynq7/0002-ze7000-phy-adapt-marvell-settings.patch                       \
			file://zx3-zynq7/0003-zynq-nand-do-not-wait-on-erase-completion-in-cmd-fct.patch    \
			file://zx3-zynq7/0004-clk-remove-clock-notifier-at-unregister.patch                 \
			file://zx3-zynq7/0005-xdevcfg-Make-sure-that-devcfg-is-not-in-loopback-mod.patch    \
			file://zx3-zynq7/0006-xilinx_emacps-Make-phy-address-configurable.patch             \
			file://zx3-zynq7/0007-kernel-sdhci-add-sd-card-support.patch                        \
			file://zx3-zynq7/0008-xilinx_emacps-Changed-change_mtu-so-that-it-is-possi.patch    \
			file://zx3-zynq7/0009-xilinx_emacps-Set-the-maximum-frame-reception-size-t.patch    \
			"

PATCH_LIST_ze7000-zynq7 = "${ZX3_ZYNQ7_PATCHSET}”

<snip>

SRC_URI_append += " ${PATCH_LIST}”

<snip>

I get the following error, for all other machines, except for machine ze7000-zynq7:

ERROR: ExpansionError during parsing /tool/yocto/meta-xilinx/recipes-kernel/linux/linux-xlnx_3.8.bb: Failure expanding variable do_fetch[file-checksums], expression was ${@bb.fetch.get_checksum_file_list(d)} which triggered exception MalformedUrl: The URL: '${PATCH_LIST}' is invalid and cannot be interpreted

If I redefine 

SRC_URI_append += " ${PATCH_LIST_ze7000-zynq7}”

it fixes the issue. 

However, I was wondering what is the correct way, to use the kernel PATCH_LIST variable?

Regards,

Elvis Dowson

[-- Attachment #2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 1563 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [meta-xilinx-community] The URL: '${PATCH_LIST}' is invalid and cannot be interpreted
  2014-04-28 19:46 [meta-xilinx-community] The URL: '${PATCH_LIST}' is invalid and cannot be interpreted Elvis Dowson
@ 2014-04-28 19:50 ` Gary Thomas
  2014-04-28 20:23   ` Khem Raj
  0 siblings, 1 reply; 3+ messages in thread
From: Gary Thomas @ 2014-04-28 19:50 UTC (permalink / raw)
  To: openembedded-devel

On 2014-04-28 13:46, Elvis Dowson wrote:
> Hi,
>
> In the following linux-xlnx-3.8.bbappend,
>
> http://git.yoctoproject.org/cgit/cgit.cgi/meta-xilinx-community/tree/recipes-kernel/linux/linux-xlnx_3.8.bbappend
>
> ZX3_ZYNQ7_PATCHSET = " \
> 			file://zx3-zynq7/0001-ze7000-phy-micrel-phy-init.patch                              \
> 			file://zx3-zynq7/0002-ze7000-phy-adapt-marvell-settings.patch                       \
> 			file://zx3-zynq7/0003-zynq-nand-do-not-wait-on-erase-completion-in-cmd-fct.patch    \
> 			file://zx3-zynq7/0004-clk-remove-clock-notifier-at-unregister.patch                 \
> 			file://zx3-zynq7/0005-xdevcfg-Make-sure-that-devcfg-is-not-in-loopback-mod.patch    \
> 			file://zx3-zynq7/0006-xilinx_emacps-Make-phy-address-configurable.patch             \
> 			file://zx3-zynq7/0007-kernel-sdhci-add-sd-card-support.patch                        \
> 			file://zx3-zynq7/0008-xilinx_emacps-Changed-change_mtu-so-that-it-is-possi.patch    \
> 			file://zx3-zynq7/0009-xilinx_emacps-Set-the-maximum-frame-reception-size-t.patch    \
> 			"
>
> PATCH_LIST_ze7000-zynq7 = "${ZX3_ZYNQ7_PATCHSET}”
>
> <snip>
>
> SRC_URI_append += " ${PATCH_LIST}”
>
> <snip>
>
> I get the following error, for all other machines, except for machine ze7000-zynq7:
>
> ERROR: ExpansionError during parsing /tool/yocto/meta-xilinx/recipes-kernel/linux/linux-xlnx_3.8.bb: Failure expanding variable do_fetch[file-checksums], expression was ${@bb.fetch.get_checksum_file_list(d)} which triggered exception MalformedUrl: The URL: '${PATCH_LIST}' is invalid and cannot be interpreted
>
> If I redefine
>
> SRC_URI_append += " ${PATCH_LIST_ze7000-zynq7}”
>
> it fixes the issue.
>
> However, I was wondering what is the correct way, to use the kernel PATCH_LIST variable?

Just add this to your recipe:
PATCH_LIST = ""

That way, ${PATCH_LIST} will be defined for all contexts.

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [meta-xilinx-community] The URL: '${PATCH_LIST}' is invalid and cannot be interpreted
  2014-04-28 19:50 ` Gary Thomas
@ 2014-04-28 20:23   ` Khem Raj
  0 siblings, 0 replies; 3+ messages in thread
From: Khem Raj @ 2014-04-28 20:23 UTC (permalink / raw)
  To: openembedded-devel

-Khem
On Apr 28, 2014 12:51 PM, "Gary Thomas" <gary@mlbassoc.com> wrote:
>
> On 2014-04-28 13:46, Elvis Dowson wrote:
>>
>> Hi,
>>
>> In the following linux-xlnx-3.8.bbappend,
>>
>>
http://git.yoctoproject.org/cgit/cgit.cgi/meta-xilinx-community/tree/recipes-kernel/linux/linux-xlnx_3.8.bbappend
>>
>> ZX3_ZYNQ7_PATCHSET = " \
>>
file://zx3-zynq7/0001-ze7000-phy-micrel-phy-init.patch
         \
>>
file://zx3-zynq7/0002-ze7000-phy-adapt-marvell-settings.patch
        \
>>
file://zx3-zynq7/0003-zynq-nand-do-not-wait-on-erase-completion-in-cmd-fct.patch
   \
>>
file://zx3-zynq7/0004-clk-remove-clock-notifier-at-unregister.patch
        \
>>
file://zx3-zynq7/0005-xdevcfg-Make-sure-that-devcfg-is-not-in-loopback-mod.patch
   \
>>
file://zx3-zynq7/0006-xilinx_emacps-Make-phy-address-configurable.patch
        \
>>
file://zx3-zynq7/0007-kernel-sdhci-add-sd-card-support.patch
         \
>>
file://zx3-zynq7/0008-xilinx_emacps-Changed-change_mtu-so-that-it-is-possi.patch
   \
>>
file://zx3-zynq7/0009-xilinx_emacps-Set-the-maximum-frame-reception-size-t.patch
   \
>>                         "
>>
>> PATCH_LIST_ze7000-zynq7 = "${ZX3_ZYNQ7_PATCHSET}”
>>
>> <snip>
>>
>> SRC_URI_append += " ${PATCH_LIST}”
>>
>> <snip>
>>
>> I get the following error, for all other machines, except for machine
ze7000-zynq7:
>>
>> ERROR: ExpansionError during parsing
/tool/yocto/meta-xilinx/recipes-kernel/linux/linux-xlnx_3.8.bb: Failure
expanding variable do_fetch[file-checksums], expression was
${@bb.fetch.get_checksum_file_list(d)} which triggered exception
MalformedUrl: The URL: '${PATCH_LIST}' is invalid and cannot be interpreted
>>
>> If I redefine
>>
>> SRC_URI_append += " ${PATCH_LIST_ze7000-zynq7}”
>>
>> it fixes the issue.
>>
>> However, I was wondering what is the correct way, to use the kernel
PATCH_LIST variable?
>
>
> Just add this to your recipe:
> PATCH_LIST = ""
>

?= is better here

> That way, ${PATCH_LIST} will be defined for all contexts.
>
> --
> ------------------------------------------------------------
> Gary Thomas                 |  Consulting for the
> MLB Associates              |    Embedded world
> ------------------------------------------------------------
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-04-28 20:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-28 19:46 [meta-xilinx-community] The URL: '${PATCH_LIST}' is invalid and cannot be interpreted Elvis Dowson
2014-04-28 19:50 ` Gary Thomas
2014-04-28 20:23   ` Khem Raj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.