From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga09.intel.com ([134.134.136.24]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1SxDdT-0000qn-Rs for openembedded-core@lists.openembedded.org; Fri, 03 Aug 2012 10:53:32 +0200 Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP; 03 Aug 2012 01:41:50 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.67,351,1309762800"; d="scan'208,217";a="181112495" Received: from dell-desktop (HELO [10.237.105.32]) ([10.237.105.32]) by orsmga002.jf.intel.com with ESMTP; 03 Aug 2012 01:41:49 -0700 Message-ID: <501B8F3A.8000309@intel.com> Date: Fri, 03 Aug 2012 11:43:38 +0300 From: Radu Moisan User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120714 Thunderbird/14.0 MIME-Version: 1.0 To: Patches and discussions about the oe-core layer Subject: while trying to update u-boot X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Patches and discussions about the oe-core layer List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Aug 2012 08:53:32 -0000 Content-Type: multipart/alternative; boundary="------------000604080300070502030407" --------------000604080300070502030407 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 --------------000604080300070502030407 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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
--------------000604080300070502030407-- From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-yx0-f175.google.com ([209.85.213.175]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1SxDhc-0000vb-Fn for openembedded-core@lists.openembedded.org; Fri, 03 Aug 2012 10:57:48 +0200 Received: by yenl13 with SMTP id l13so506202yen.6 for ; Fri, 03 Aug 2012 01:46:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:from:date :message-id:subject:to:content-type:x-gm-message-state; bh=Qh6fMj89v7IRzgIVD1+CAPRr//GVucSIfH8uyF5sLMY=; b=N72g9pURFt+w6qS61QH7rsqng8CbU7ly14WbcpWTkQvKARKM4DJWwoDcMiEY/3KEst XnUH+dUAJzjE6ZHkQE5H9LAuyRwyKwyujltX7V3ElTAnDsueH7hx5DfVEBlKkqL+11iO gZTDUt8W0xWuQcagJB5vNiWi49k5Yw0B03aqkXTCskHgBmxmi4X91EKs6dyzzRk3DX7K sHTBhqVGUtifZgBSABSVE0gbynwOWaU7ZMhtmyiVhLV4GizPKXwXbeX7T4P2hdNV+/Oh 1cBftyZgntx3+sVWuhw8aBlsE6nE54te58AUF1Tuy03rzIgHBcd2AaIubcjAOE+HmF/P Bi+w== Received: by 10.42.132.1 with SMTP id b1mr1644647ict.8.1343983567156; Fri, 03 Aug 2012 01:46:07 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.139.164 with HTTP; Fri, 3 Aug 2012 01:45:46 -0700 (PDT) X-Originating-IP: [89.121.200.106] In-Reply-To: <501B8F3A.8000309@intel.com> References: <501B8F3A.8000309@intel.com> From: Andrei Gherzan Date: Fri, 3 Aug 2012 11:45:46 +0300 Message-ID: To: Patches and discussions about the oe-core layer X-Gm-Message-State: ALoCoQmshEzP0ztfDrOo+hZbJi23gxq+VVZSPW24LeddUi3KIc2ZcDZ+rt9PgGPPqPDZoyWXe23x Subject: Re: while trying to update u-boot X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Patches and discussions about the oe-core layer List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Aug 2012 08:57:48 -0000 Content-Type: multipart/alternative; boundary=90e6ba3fd4f91ab6cc04c6588f98 --90e6ba3fd4f91ab6cc04c6588f98 Content-Type: text/plain; charset=ISO-8859-1 On Fri, Aug 3, 2012 at 11:43 AM, Radu Moisan 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 --90e6ba3fd4f91ab6cc04c6588f98 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
On Fri, Aug 3, 2012 at 11:43 AM, Radu Moisan <radu.moisan@intel.com> wrote:
=20 =20 =20
I found the following code in u-boot.inc

if not d.getVar("UBOOT_MACHI= NE", True):
=A0=A0=A0 PN =3D d.getVar("PN", True)
=A0=A0=A0 FILE =3D os.path.basename(d.getVar("FILE", True= ))
=A0=A0=A0 bb.debug(1, "To build %s, see %s for instructions on= \
=A0=A0=A0 =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 setting up your m= achine config" % (PN, FILE))
=A0=A0=A0 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?

=A0
Are you sure that variable is not set some= where? 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 s= kipped: because UBOOT_MACHINE is not set
ERROR: u-boot was skippe= d: because UBOOT_MACHINE is not set

ag
--90e6ba3fd4f91ab6cc04c6588f98-- From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga09.intel.com ([134.134.136.24]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1SxDrC-0001Rr-8Q for openembedded-core@lists.openembedded.org; Fri, 03 Aug 2012 11:07:42 +0200 Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP; 03 Aug 2012 01:56:00 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.67,352,1309762800"; d="scan'208,217";a="175129908" Received: from dell-desktop (HELO [10.237.105.32]) ([10.237.105.32]) by orsmga001.jf.intel.com with ESMTP; 03 Aug 2012 01:56:00 -0700 Message-ID: <501B928D.7060003@intel.com> Date: Fri, 03 Aug 2012 11:57:49 +0300 From: Radu Moisan User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120714 Thunderbird/14.0 MIME-Version: 1.0 To: openembedded-core@lists.openembedded.org References: <501B8F3A.8000309@intel.com> In-Reply-To: Subject: Re: while trying to update u-boot X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Patches and discussions about the oe-core layer List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Aug 2012 09:07:42 -0000 Content-Type: multipart/alternative; boundary="------------090107090609020202090208" --------------090107090609020202090208 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 > 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 --------------090107090609020202090208 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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> 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

--------------090107090609020202090208-- From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-gh0-f175.google.com ([209.85.160.175]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1SxDwK-0001WH-5m for openembedded-core@lists.openembedded.org; Fri, 03 Aug 2012 11:13:00 +0200 Received: by ghbz2 with SMTP id z2so513909ghb.6 for ; Fri, 03 Aug 2012 02:01:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:from:date :message-id:subject:to:content-type:x-gm-message-state; bh=x7PE9x8rdMpvzbxR7/uXfP+o61JVKqVAMOUD1RenHlc=; b=Z+q92sfGqD8TNKTdMZir3yb6/2b0yJ+THKLd6MAgX6MEYRwaVrH7T9aYbqBOeX06XV AfsAzH+fOl8MKLmsMGXeS9wZnKM36rAwHps8h97vZk6xu7egznRqQqWJ9jxOq9NHE5sJ 3vmjIXvzaLfeaOSruZihcds+RW2nICd+sF9Ii85MArghw6ta1Rt8UmgGiUMVxJXFe22B pOevPfn1mjxZeWBtiK8ncB0OQ2FgUFQg9/pj5F+y+DghHkkpjy3vLtCiSAdgNFuIxc/z gZ/5mdDIFEUOFZOmmxG2ZWBlIpiHXnTPjV0yVklndvaxlaNDdFwzsDCUF7u4ih0Dv6fc jstg== Received: by 10.50.195.234 with SMTP id ih10mr2198355igc.0.1343984478842; Fri, 03 Aug 2012 02:01:18 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.139.164 with HTTP; Fri, 3 Aug 2012 02:00:58 -0700 (PDT) X-Originating-IP: [89.121.200.106] In-Reply-To: <501B928D.7060003@intel.com> References: <501B8F3A.8000309@intel.com> <501B928D.7060003@intel.com> From: Andrei Gherzan Date: Fri, 3 Aug 2012 12:00:58 +0300 Message-ID: To: Patches and discussions about the oe-core layer X-Gm-Message-State: ALoCoQn0ia/1Fhg23e6/n8ZZ02dCu5elYK0RqWy5DRlVCff7R/03noRY520/63KwYF7lSv6CdSSy Subject: Re: while trying to update u-boot X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Patches and discussions about the oe-core layer List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Aug 2012 09:13:00 -0000 Content-Type: multipart/alternative; boundary=14dae934125b71f0d504c658c5f1 --14dae934125b71f0d504c658c5f1 Content-Type: text/plain; charset=ISO-8859-1 On Fri, Aug 3, 2012 at 11:57 AM, Radu Moisan 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 --14dae934125b71f0d504c658c5f1 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
On Fri, Aug 3, 2012 at 11:57 AM, Radu Moisan <radu.moisan@intel.com> wrote:
=20 =20 =20
Sorry, my bad, I was trying to build u-boot-fw-utils and assumed wrongly that the recipe requires u-boot.inc

<= div>It happens. No problem.

ag=A0
--14dae934125b71f0d504c658c5f1--