All of lore.kernel.org
 help / color / mirror / Atom feed
* while trying to update u-boot
@ 2012-08-03  8:43 Radu Moisan
  2012-08-03  8:45 ` Andrei Gherzan
  0 siblings, 1 reply; 4+ messages in thread
From: Radu Moisan @ 2012-08-03  8:43 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

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

I found the following code in u-boot.inc

if not d.getVar("UBOOT_MACHINE", True):
     PN = d.getVar("PN", True)
     FILE = os.path.basename(d.getVar("FILE", True))
     bb.debug(1, "To build %s, see %s for instructions on \
                     setting up your machine config" % (PN, FILE))
     raise bb.parse.SkipPackage("because UBOOT_MACHINE is not set")

and while I don't have UBOOT_MACHINE set, u-boot still follows with no 
problems through do_fetch, do_configure, do_compile and so on, and 
finishes without any problem/error. I would have expected to be skipped 
as the above code snipped would imply, but I cannot find that log 
message anywhere (nor any error to indicate failure). Can somebody point 
me in the right direction with this?

Radu

[-- Attachment #2: Type: text/html, Size: 1287 bytes --]

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

* Re: while trying to update u-boot
  2012-08-03  8:43 while trying to update u-boot Radu Moisan
@ 2012-08-03  8:45 ` Andrei Gherzan
  2012-08-03  8:57   ` Radu Moisan
  0 siblings, 1 reply; 4+ messages in thread
From: Andrei Gherzan @ 2012-08-03  8:45 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

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

On Fri, Aug 3, 2012 at 11:43 AM, Radu Moisan <radu.moisan@intel.com> wrote:

>  I found the following code in u-boot.inc
>
> if not d.getVar("UBOOT_MACHINE", True):
>     PN = d.getVar("PN", True)
>     FILE = os.path.basename(d.getVar("FILE", True))
>     bb.debug(1, "To build %s, see %s for instructions on \
>                     setting up your machine config" % (PN, FILE))
>     raise bb.parse.SkipPackage("because UBOOT_MACHINE is not set")
>
> and while I don't have UBOOT_MACHINE set, u-boot still follows with no
> problems through do_fetch, do_configure, do_compile and so on, and finishes
> without any problem/error. I would have expected to be skipped as the above
> code snipped would imply, but I cannot find that log message anywhere (nor
> any error to indicate failure). Can somebody point me in the right
> direction with this?
>
>
Are you sure that variable is not set somewhere? Gave it a try on a machine
with no u-boot defined:

ERROR: Nothing PROVIDES 'u-boot'
ERROR: u-boot was skipped: because UBOOT_MACHINE is not set
ERROR: u-boot was skipped: because UBOOT_MACHINE is not set
ERROR: u-boot was skipped: because UBOOT_MACHINE is not set

ag

[-- Attachment #2: Type: text/html, Size: 1938 bytes --]

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

* Re: while trying to update u-boot
  2012-08-03  8:45 ` Andrei Gherzan
@ 2012-08-03  8:57   ` Radu Moisan
  2012-08-03  9:00     ` Andrei Gherzan
  0 siblings, 1 reply; 4+ messages in thread
From: Radu Moisan @ 2012-08-03  8:57 UTC (permalink / raw)
  To: openembedded-core

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

Sorry, my bad, I was trying to build u-boot-fw-utils and assumed wrongly 
that the recipe requires u-boot.inc

Radu

On 08/03/2012 11:45 AM, Andrei Gherzan wrote:
> On Fri, Aug 3, 2012 at 11:43 AM, Radu Moisan <radu.moisan@intel.com 
> <mailto:radu.moisan@intel.com>> wrote:
>
>     I found the following code in u-boot.inc
>
>     if not d.getVar("UBOOT_MACHINE", True):
>         PN = d.getVar("PN", True)
>         FILE = os.path.basename(d.getVar("FILE", True))
>         bb.debug(1, "To build %s, see %s for instructions on \
>                         setting up your machine config" % (PN, FILE))
>         raise bb.parse.SkipPackage("because UBOOT_MACHINE is not set")
>
>     and while I don't have UBOOT_MACHINE set, u-boot still follows
>     with no problems through do_fetch, do_configure, do_compile and so
>     on, and finishes without any problem/error. I would have expected
>     to be skipped as the above code snipped would imply, but I cannot
>     find that log message anywhere (nor any error to indicate
>     failure). Can somebody point me in the right direction with this?
>
> Are you sure that variable is not set somewhere? Gave it a try on a 
> machine with no u-boot defined:
>
> ERROR: Nothing PROVIDES 'u-boot'
> ERROR: u-boot was skipped: because UBOOT_MACHINE is not set
> ERROR: u-boot was skipped: because UBOOT_MACHINE is not set
> ERROR: u-boot was skipped: because UBOOT_MACHINE is not set
>
> ag
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[-- Attachment #2: Type: text/html, Size: 3675 bytes --]

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

* Re: while trying to update u-boot
  2012-08-03  8:57   ` Radu Moisan
@ 2012-08-03  9:00     ` Andrei Gherzan
  0 siblings, 0 replies; 4+ messages in thread
From: Andrei Gherzan @ 2012-08-03  9:00 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

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

On Fri, Aug 3, 2012 at 11:57 AM, Radu Moisan <radu.moisan@intel.com> wrote:

>  Sorry, my bad, I was trying to build u-boot-fw-utils and assumed wrongly
> that the recipe requires u-boot.inc
>
> It happens. No problem.

ag

[-- Attachment #2: Type: text/html, Size: 571 bytes --]

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

end of thread, other threads:[~2012-08-03  9:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-03  8:43 while trying to update u-boot Radu Moisan
2012-08-03  8:45 ` Andrei Gherzan
2012-08-03  8:57   ` Radu Moisan
2012-08-03  9:00     ` Andrei Gherzan

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.