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