From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.vivaldi.net (smtp.vivaldi.net [31.209.137.12]) by mx.groups.io with SMTP id smtpd.web10.1084.1615849881439686819 for ; Mon, 15 Mar 2021 16:11:21 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@vivaldi.net header.s=default header.b=f01xoGCE; spf=pass (domain: vivaldi.net, ip: 31.209.137.12, mailfrom: jchludzinski@vivaldi.net) Received: from localhost (localhost [127.0.0.1]) by smtp.vivaldi.net (Postfix) with ESMTP id 6A1D0BD041 for ; Mon, 15 Mar 2021 23:11:18 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp.vivaldi.net 6A1D0BD041 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vivaldi.net; s=default; t=1615849878; bh=n8qOBV4n2Fss/Odo59NoNK4iGp3RcmEqxlHY8O5eGrw=; h=Date:From:To:Subject:From; b=f01xoGCET2dqttoqqwW5p3s5uNVFL9d9c5pSy+/2FvS0AIndwrdnNGVscWRzU5ty/ hbiUAh7FnPOAcNA/E1KLrq5RskY1Rwcxwktzw782KsJj8PfS7YTEAlkpeM4j5TRvYx o7PUKVHJFdH3vOUwJBiig+Z5ClJKIUXheCIQiPSAu8Tm5kgoCOcyDiWBHHAO+z7Swi Gs20IllFwWljdDbPcAbQGr33p0Qq04ILH7bVEIp8hyoGfOF7hg7nYgdqVxnqaBMrVY ijYlmOeyUNeh0LFIcdEaGfsHa9OxJ2PwOMxTczr2pj9gWVS+5AW3vNM5Wwm4cOoHHe WqInpA8P+WH/A== X-Virus-Scanned: Debian amavisd-new at smtp.vivaldi.net Received: from smtp.vivaldi.net ([127.0.0.1]) by localhost (mxo.viv.dc01 [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DHvkr2jEB8VD for ; Mon, 15 Mar 2021 23:11:16 +0000 (UTC) Date: Mon, 15 Mar 2021 19:11:16 -0400 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp.vivaldi.net 36F5CBD017 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vivaldi.net; s=default; t=1615849876; bh=n8qOBV4n2Fss/Odo59NoNK4iGp3RcmEqxlHY8O5eGrw=; h=Date:From:To:Subject:From; b=bYqP7jyDkmcCzkEIJcajdj4OIHV+kuQaxLkYf7GMi9BR5mdQH/B+XLNm6D0s4E0Kw KjFZ/Yy1+CCtSKmUDeFTT/ZSYl+5iDke4lF54SzqmJtAUmyqPuxXP6IZNO35bkZCjf cJiaCVwZIoXzlVSck6CkxkfUHcr0T6I4RloO+Dx+q0G1e7dxHuDrj64nKtDEUkHJz+ G1ojx8NIC9W5QwkE179CCvcaqGKcARqILmQbdPdWm6knntGI0valhfW+9GN/xRgWk8 R6Lt9+Woiu1PNbF41Be8ndEziI4kMRqkuNb9Pn818kMbK35joyvIxCdtvfHJAy1oy7 jPJEbicYw1FYQ== From: "jchludzinski" To: Yocto Subject: Building test code? User-Agent: Roundcube Webmail/1.4.4 Message-ID: X-Sender: jchludzinski@vivaldi.net Content-Type: multipart/alternative; boundary="=_b438b3797dca4af038f9a523bc5220aa" --=_b438b3797dca4af038f9a523bc5220aa Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed I got a piece of code from github: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/tools/spi/spidev_test.c I'd like to add it somewhere under _tools/testing_ and build it there. Not sure if this is appropriate? If so, how do I go about this? If not, what's the best way to build this? --=_b438b3797dca4af038f9a523bc5220aa Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=UTF-8
= I got a piece of code from github:
https://git.kernel.org/pub/scm/= linux/kernel/git/torvalds/linux.git/tree/tools/spi/spidev_test.c
<= br />I'd like to add it somewhere under tools/testing and build it there= =2E

Not sure if this is appropriate? If so, how do I go about t= his?

If not, what's the best way to build this?
--=_b438b3797dca4af038f9a523bc5220aa-- From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ot1-f48.google.com (mail-ot1-f48.google.com [209.85.210.48]) by mx.groups.io with SMTP id smtpd.web10.1595.1615852453908295307 for ; Mon, 15 Mar 2021 16:54:14 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20161025 header.b=eOmfg8cO; spf=pass (domain: gmail.com, ip: 209.85.210.48, mailfrom: akuster808@gmail.com) Received: by mail-ot1-f48.google.com with SMTP id r24so7774695otp.12 for ; Mon, 15 Mar 2021 16:54:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:autocrypt:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=zMdU2+lAgaISul6Mb+B6n2N/CqFn2SiaLJSkAqNqrRg=; b=eOmfg8cOsJ2KFrbJ1cOgvd8+llU769BTb23zIY8C10A2S3+7tZf1MW3zCDnaXcIru5 J+gLWVfDsrHmEQXuW2hlk2A76/kq200kg02fq5xxSeTblbu6254HduXekRHmAOyYS10+ 8kD4TeY9IwF4nrhiuQ4Wkvk/Zjjv1Qdq4ZaZwSLwmfSYQfOdMdofijm7jpFRRlYA4BXp HVC4TisU4AUlKxLwxtLhosbQijKiYNT/HSLbKQMhjXyJ+OqA6lph4yH68rP8+jkwkgyx E4RbSVpaG6Ue0eXYIFvCLnYunhnv7r301vvNOfR0uAX7QlMXZgwiUpEPemlw4qPPrvRl nOuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:autocrypt:message-id :date:user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=zMdU2+lAgaISul6Mb+B6n2N/CqFn2SiaLJSkAqNqrRg=; b=td7ZFrCPwHRe9dfArXv2jVYu3E2PgXwrk29tjmiLV5jiGAdNzJ5nLs9fpfSl2/Ri7S YbcFNC/SolAZ91o8V8zIwhhyN77uv0UM6QTgkF2Mwms16agpu2J2jk52hzqQXJ5aOHiW SMZSTeJt3GwWbtLVX7Z8OSZUTIMuGDnoe/KSgpu4yXXqmUhY85CwnKpcUwbA4s2N/Y3D XhjjKfQcbf3IejCQw2AXoUnzpNFrcIi7KdoI56juzgZTk1RtTuxk5kmYYfOB0KSyoF06 rslC+UV9cxyB49R/cZMDkF8X3B/qvUA1uQGPQsr8mQzRYiQMkA+i2JEFsEK3zLuB3723 cghg== X-Gm-Message-State: AOAM531c8vvRPSU6ZIDoD8PEPJYH9vmh9dcDLENwYn7JaIMEsobn5snc D8sALE1APr6sncppncgsJ+MqoY264JE= X-Google-Smtp-Source: ABdhPJyYDhOHACz+rLJRe6uCEX7wP1nIBaeYKFKy8kHkktcibE6UCVcuZOFgT3dWVMxYO9O8h5Wsnw== X-Received: by 2002:a9d:19a3:: with SMTP id k32mr1230829otk.189.1615852453047; Mon, 15 Mar 2021 16:54:13 -0700 (PDT) Return-Path: Received: from ?IPv6:2601:202:4180:a5c0:941:286b:5c37:6c83? ([2601:202:4180:a5c0:941:286b:5c37:6c83]) by smtp.gmail.com with ESMTPSA id c205sm6944815oib.40.2021.03.15.16.54.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 15 Mar 2021 16:54:12 -0700 (PDT) Subject: Re: [yocto] Building test code? To: jchludzinski@vivaldi.net, Yocto References: From: "akuster" Autocrypt: addr=akuster808@gmail.com; prefer-encrypt=mutual; keydata= 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 8CS2NxU= Message-ID: <503454c9-ea3c-6ecb-bfdf-eb5fce6feeee@gmail.com> Date: Mon, 15 Mar 2021 16:54:11 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: en-US On 3/15/21 4:11 PM, jchludzinski via lists.yoctoproject.org wrote: > I got a piece of code from github: > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/tools/spi/spidev_test.c > > I'd like to add it somewhere under /*tools/testing*/ and build it there. > > Not sure if this is appropriate? If so, how do I go about this? > > If not, what's the best way to build this? Is this what you are looking for?  https://git.openembedded.org/meta-openembedded/tree/meta-oe/recipes-kernel/spidev-test/spidev-test.bb -armin > > > From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.vivaldi.net (smtp.vivaldi.net [31.209.137.12]) by mx.groups.io with SMTP id smtpd.web09.5047.1615878452671158580 for ; Tue, 16 Mar 2021 00:07:33 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@vivaldi.net header.s=default header.b=IL4PvNW8; spf=pass (domain: vivaldi.net, ip: 31.209.137.12, mailfrom: jchludzinski@vivaldi.net) Received: from localhost (localhost [127.0.0.1]) by smtp.vivaldi.net (Postfix) with ESMTP id 17D83BD0FA; Tue, 16 Mar 2021 07:07:30 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp.vivaldi.net 17D83BD0FA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vivaldi.net; s=default; t=1615878450; bh=DUOGsi5jmCG/gyi+k3PtD1QpaKRNVfVREo5Agcee9ck=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=IL4PvNW8AF0SW5EFlhkEBuQtFW9emrtIKdnM54z+cwgbIsTHbWr7t+meRMZ9VFS8Y 2ls/ZperFsV9fXujfyArKqd6XLDlHfE+SbzcMS4huG0tTZ129Pc02zLBzAzaKjzcd9 7NI0Q8VwfiT8QMOO3CMQq05dNpPt3AVkGH/0gy3yQbce1Q1NXNM4yAb/rTHpwq97/b BinbuGJ3WVDr6jAxcq5hRcsOvv9YOAg/aLOJ8vzxXtP0cr04Tx9yk255s/nOpT6Seo GIXGkAbSGJX/qNBaBZ/OWWGyQxKTbPMNFTSpta9bH8cOgHgBC9D1/ABvT+XzLiQFVz nD1drETTUXi9g== X-Virus-Scanned: Debian amavisd-new at smtp.vivaldi.net Received: from smtp.vivaldi.net ([127.0.0.1]) by localhost (mxo.viv.dc01 [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EzWIN1OS2LTE; Tue, 16 Mar 2021 07:07:26 +0000 (UTC) Date: Tue, 16 Mar 2021 03:07:26 -0400 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp.vivaldi.net 2B5AABD064 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vivaldi.net; s=default; t=1615878446; bh=DUOGsi5jmCG/gyi+k3PtD1QpaKRNVfVREo5Agcee9ck=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=BFJrU8xOcDFOYUwREFGqWZ+kZkRTjx6dWjdmGx7/PRP4lDKDkfxsU6c69bNC8Ybce HP12Lb2/iwWxgIAdtHt9MD/Ge+bYlLBwGqjCICxleBUJ6S7fBNe/1LEHW9AJGUBDe1 uXdgqnKOS4X1+lub0Aq3bXZmrd+P/LjzOTljEPl01r9XbVcd5qW87bjH1bNVKdCzPw mplQSUt7bc+fg2TU6XydsmGCIhJjavVlbz/1vTqLyXRNhAKVVH4flGjSOO38Zmt0wc 88KWXDgWJ6V6ochkJ4OXxiz0/0k6DL2xnljzkPGpE7gxkTkUZJT7E2A4wq+MpiEVjQ eWjmT1ehb4TjA== From: "jchludzinski" To: akuster Cc: Yocto Subject: Re: [yocto] Building test code? In-Reply-To: <503454c9-ea3c-6ecb-bfdf-eb5fce6feeee@gmail.com> References: <503454c9-ea3c-6ecb-bfdf-eb5fce6feeee@gmail.com> User-Agent: Roundcube Webmail/1.4.4 Message-ID: <247c426e3db4a7f031aad842303134f1@vivaldi.net> X-Sender: jchludzinski@vivaldi.net Content-Type: multipart/alternative; boundary="=_7bf4043ff0154033b9c379664f48c061" --=_7bf4043ff0154033b9c379664f48c061 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed It certainly appears to be BUT I'm not certain what I'm looking at? What is _meta-openembedded_? Is it a GIT repo that can be cloned and built? How do I use this to build _spidev-test_? ---John On 2021-03-15 19:54, akuster wrote: > On 3/15/21 4:11 PM, jchludzinski via lists.yoctoproject.org wrote: > >> I got a piece of code from github: >> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/tools/spi/spidev_test.c >> >> I'd like to add it somewhere under /*tools/testing*/ and build it there. >> >> Not sure if this is appropriate? If so, how do I go about this? >> >> If not, what's the best way to build this? > > Is this what you are looking for? > https://git.openembedded.org/meta-openembedded/tree/meta-oe/recipes-kernel/spidev-test/spidev-test.bb > > -armin > >> > > --=_7bf4043ff0154033b9c379664f48c061 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=UTF-8
It certainly appears to be BUT I'm not certain what I'm looking at?
=
What is meta-= openembedded?

Is it a GIT repo that can be= cloned and built?

How do I use this to build spidev-test?

---John


On 2021-03-15 19:54, akuster wrote:
On 3/15/21 4:11 PM, jchludzinski via lists.yoctoproje= ct.org wrote:
I got a piece of code from github:
https://g= it.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/tools/spi/sp= idev_test.c

I'd like to add it somewhere under /*tools/testi= ng*/ and build it there.

Not sure if this is appropriate? If so,= how do I go about this?

If not, what's the best way to build th= is?

Is this what you are looking for?
 https://git.o= penembedded.org/meta-openembedded/tree/meta-oe/recipes-kernel/spidev-test/s= pidev-test.bb

-armin






--=_7bf4043ff0154033b9c379664f48c061-- From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ej1-f50.google.com (mail-ej1-f50.google.com [209.85.218.50]) by mx.groups.io with SMTP id smtpd.web09.6091.1615888175611911892 for ; Tue, 16 Mar 2021 02:49:36 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@linaro.org header.s=google header.b=X6a0Ygz3; spf=pass (domain: linaro.org, ip: 209.85.218.50, mailfrom: nicolas.dechesne@linaro.org) Received: by mail-ej1-f50.google.com with SMTP id ci14so70881073ejc.7 for ; Tue, 16 Mar 2021 02:49:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=CS/u0HyccCuj/YAPEueGjfF8NaKm/i6Na6rAO9ntGCk=; b=X6a0Ygz3uYMJ/O1Bdyvtw0oIiU7w1VXPkS4k1MofgESwe+d/AYf7xzAfNgXMIVdIS4 7GMBrVPs9aNBJ0NoxHpcYJ7tbSLh3g77/j6k7JdM4b6PjXNwUSecttzEfLIuFqIbTe3V uOTgap7LddUaxGY7ywYGfUJFI+Q+iVS5bzemdC7ZqQKYe9N3drTvU3JOKQ2mE1Y75Lbm 4bn++kHr+zpvWUaJxYTEH+X5rAf5j4Ul0sZWcUJbcz7bP27ARI9De6IVGL+vMXptbmuh IFpnSScvEHJbAmhLkIBCtpGLrPGtVAMIneVdroyzrkl7UnBtvokxBijm/2iOZUK2R3tw WihQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=CS/u0HyccCuj/YAPEueGjfF8NaKm/i6Na6rAO9ntGCk=; b=WAPhXKG+WiVG9dLS7al8pAYvxScG62TfNt1s5a0ceNN8LIeTZX6Aw/Y3hmToWGpPR0 2RjSMh7Y87iEYFyjolQzIFTzA7Idp6VZbMLFit7vC4cplT4bMtjPjLortEU3OpFW2MWP +qOP4U/4/Jg9H+zfWXSlGjSYE4qhYGq8ep2rFDXeoCu6q0T7yWZsQDjnt8hAlBIMORLL /yoWDta8uw1iJ81L+/6S8gv7DhJ2bOL+U7fA7PHNfXfBT0tv+KpaHAcbl1lzuLwCviFI gsdK4+pDQ8b21IkbywYV85tLuh2UaOsGqOfwnPB4b31wN196dipCrnfC3+CxdcSSHi++ 2ALQ== X-Gm-Message-State: AOAM533ArORwAiuMy0rTxeExktOPxYeYBTzhohKkAouHrSwJCnXgPrWB VKRXTAjINfEx0KAIYmBQw7Jk7P5WNvVd8xGMTsoXmQ== X-Google-Smtp-Source: ABdhPJxtDyalXEivP39oVmEH0D3G3QJnI/XhhCU7VU9wab6EmVKpXYjzdw4jo1+FCpz1Fnh8/UoTEij+catZ0vEk17U= X-Received: by 2002:a17:906:fc1c:: with SMTP id ov28mr28807085ejb.342.1615888174038; Tue, 16 Mar 2021 02:49:34 -0700 (PDT) MIME-Version: 1.0 References: <503454c9-ea3c-6ecb-bfdf-eb5fce6feeee@gmail.com> <247c426e3db4a7f031aad842303134f1@vivaldi.net> In-Reply-To: <247c426e3db4a7f031aad842303134f1@vivaldi.net> From: "Nicolas Dechesne" Date: Tue, 16 Mar 2021 10:49:23 +0100 Message-ID: Subject: Re: [yocto] Building test code? To: jchludzinski@vivaldi.net Cc: akuster , Yocto Content-Type: text/plain; charset="UTF-8" On Tue, Mar 16, 2021 at 8:07 AM jchludzinski via lists.yoctoproject.org wrote: > > It certainly appears to be BUT I'm not certain what I'm looking at? > > What is meta-openembedded? > > Is it a GIT repo that can be cloned and built? Short answer is yes. The whole Yocto Project / Open Embedded concept is based around 'layers. A layer is a repository that contains recipes (and/or machine/distro, ..). The Yocto Project releases include a couple of common/core layers, but there are plenty of layers out there which can be used I am sure there are quite a bit of documentation on this topic, but perhaps you might want to start with: https://docs.yoctoproject.org/overview-manual/yp-intro.html#the-yocto-project-layer-model > > > > How do I use this to build spidev-test? > > > ---John > > > On 2021-03-15 19:54, akuster wrote: > > On 3/15/21 4:11 PM, jchludzinski via lists.yoctoproject.org wrote: > > I got a piece of code from github: > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/tools/spi/spidev_test.c > > I'd like to add it somewhere under /*tools/testing*/ and build it there. > > Not sure if this is appropriate? If so, how do I go about this? > > If not, what's the best way to build this? > > > Is this what you are looking for? > https://git.openembedded.org/meta-openembedded/tree/meta-oe/recipes-kernel/spidev-test/spidev-test.bb > > -armin > > > > > > > > > > From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lj1-f171.google.com (mail-lj1-f171.google.com [209.85.208.171]) by mx.groups.io with SMTP id smtpd.web08.6182.1615888758336153670 for ; Tue, 16 Mar 2021 02:59:18 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@theyoctojester-info.20150623.gappssmtp.com header.s=20150623 header.b=UG0i1GLo; spf=none, err=permanent DNS error (domain: theyoctojester.info, ip: 209.85.208.171, mailfrom: jester@theyoctojester.info) Received: by mail-lj1-f171.google.com with SMTP id 16so19706023ljc.11 for ; Tue, 16 Mar 2021 02:59:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=theyoctojester-info.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=55igmS/r5YPDepCvfXgSD9/aMu2c9GiB8ahmHnPWFWg=; b=UG0i1GLoUblczzVHDyZEucaTo0sS3FzFGL0b2cbQTIqTxIwGDRYpw5Zzs7og0cp0Gj KVXLKxaLqIMRrJ7Y1iygz9Cj4E2PZXXSmhTlHK4zKMGYx75DqTP7KrIc/pdI8FaBrtN/ EULk3dlldXftKICiWyaPrcCKLHDVjrROOxEDpR3OoARpwcDY4EVAuddKQXZMe1oHhkas 99ig8VesWUUMlQFA9c+8lxU5wGrnJHLGh8P2eC/BFQdDqIj4Dea6D+ya/P5kAR71p4+y ixp+xtAaOVglXhPH8oMozShQypi0bGK+dgGm2MBuw99AmF507DkHB+l1oCGcSEId5VcT 70hA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=55igmS/r5YPDepCvfXgSD9/aMu2c9GiB8ahmHnPWFWg=; b=hCR95oF1c0T15lx65Dpmlsbk+lrtHe4bd9rsLrf1GHh912KC6eIzAEHcCH1L5RFBMM KcBJw6G3wVYUwtc4PIefUb4PiRgW5p3K7Sc2GdNcSSvCoAX/AfWUiA1uUTh99V3IUbch RMp/GS8VTgvuuy+dinEA5onSpS26UsZ1f+wEF2yk4m8+4PFepiGt+sgTJkHO6cnWHh3C O7xN5h42PgAmuxpEZPPmNWqk/qbac/xlrbSifQQxDIMbVHaSRSjE1h4KzoRYn+ybeXbL EE+tEMpHwcx3Hx8YHAHf/jpsgWl0TC+KbNhduofke5fj6TB6i74A5Q46Gmd0zZyMdDDj kI8A== X-Gm-Message-State: AOAM5325+Myg9vmfrt/TuLFPscyB4ZiUVhEdGrgnHenvlXBLGJJBz45I lL9ajdzRekAH7hCqbl8b1yVk5U7gWG1UWwqFQqA1kQ== X-Google-Smtp-Source: ABdhPJx6W0+LgrC4fkCjXXlF/qnInMW6ayWMh55ztGxk298Ny4sFINpF8Gy/UUQ4Ra4Ys9OiMhcEgcIQIsZ/5zFbb0k= X-Received: by 2002:a2e:7409:: with SMTP id p9mr2113492ljc.165.1615888756184; Tue, 16 Mar 2021 02:59:16 -0700 (PDT) MIME-Version: 1.0 References: <503454c9-ea3c-6ecb-bfdf-eb5fce6feeee@gmail.com> <247c426e3db4a7f031aad842303134f1@vivaldi.net> In-Reply-To: From: "Josef Holzmayr" Date: Tue, 16 Mar 2021 10:58:49 +0100 Message-ID: Subject: Re: [yocto] Building test code? To: Nicolas Dechesne Cc: jchludzinski@vivaldi.net, akuster , Yocto Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Am Di., 16. M=C3=A4rz 2021 um 10:49 Uhr schrieb Nicolas Dechesne : > > On Tue, Mar 16, 2021 at 8:07 AM jchludzinski via > lists.yoctoproject.org > wrote: > > > > It certainly appears to be BUT I'm not certain what I'm looking at? > > > > What is meta-openembedded? > > > > Is it a GIT repo that can be cloned and built? > > Short answer is yes. The whole Yocto Project / Open Embedded concept > is based around 'layers. A layer is a repository that contains recipes > (and/or machine/distro, ..). The Yocto Project releases include a > couple of common/core layers, but there are plenty of layers out there > which can be used > I am sure there are quite a bit of documentation on this topic, but > perhaps you might want to start with: > https://docs.yoctoproject.org/overview-manual/yp-intro.html#the-yocto-pr= oject-layer-model Or grab a beer and start bingewatching https://www.youtube.com/playlist?list=3DPLD4M5FoHz-TxMfBFrDKfIS_GLY25Qsfyj > > > > > > > > > > How do I use this to build spidev-test? > > > > > > ---John > > > > > > On 2021-03-15 19:54, akuster wrote: > > > > On 3/15/21 4:11 PM, jchludzinski via lists.yoctoproject.org wrote: > > > > I got a piece of code from github: > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tre= e/tools/spi/spidev_test.c > > > > I'd like to add it somewhere under /*tools/testing*/ and build it ther= e. > > > > Not sure if this is appropriate? If so, how do I go about this? > > > > If not, what's the best way to build this? > > > > > > Is this what you are looking for? > > https://git.openembedded.org/meta-openembedded/tree/meta-oe/recipes-k= ernel/spidev-test/spidev-test.bb > > > > -armin > > > > > > > > > > > > > > > > > > > > > >=20 > From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.vivaldi.net (smtp.vivaldi.net [31.209.137.12]) by mx.groups.io with SMTP id smtpd.web11.28.1615906439692752017 for ; Tue, 16 Mar 2021 07:54:00 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@vivaldi.net header.s=default header.b=s8x/jodt; spf=pass (domain: vivaldi.net, ip: 31.209.137.12, mailfrom: jchludzinski@vivaldi.net) Received: from localhost (localhost [127.0.0.1]) by smtp.vivaldi.net (Postfix) with ESMTP id 673C4BD02C; Tue, 16 Mar 2021 14:53:56 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp.vivaldi.net 673C4BD02C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vivaldi.net; s=default; t=1615906436; bh=2e6JUCz2PYDk1qtYhB/GeDpGJeMFzDSg4Ly1gWwwPAs=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=s8x/jodtNfL+30nfmKRKtdCq9MEkBhTLbek4zhP2ThOVKQs5Trcd/nqwXh9s/zbB9 lk3TPurEcAYdSlBZm4BI7d4qtIUdGVXhH81aCT46wuyi3bnt0hRbY8KHYzrt8r9RMT FSUdt38Z9OI7riSZIuFG57pzUnU8j7xcsS6cqhdkTL0QJUMdRAE1TBerikViHU4Zw2 ni8nmR/zQE4oGlwyMKEtbXuoqZgK1moMcSyMXAWs+84qPWldFnfOX6/75PcTbQSRDE ZAi9Fypyd0+0970WsssmAcL7ipmiQncPVI37bKBBiOCuSp2QSVAZ3u5AGlPp7dUp6m hM/lxsS2Ub4xQ== X-Virus-Scanned: Debian amavisd-new at smtp.vivaldi.net Received: from smtp.vivaldi.net ([127.0.0.1]) by localhost (mxo.viv.dc01 [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aOOfGTwBvVfw; Tue, 16 Mar 2021 14:53:52 +0000 (UTC) Date: Tue, 16 Mar 2021 10:53:52 -0400 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp.vivaldi.net 4FF3FBD00D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vivaldi.net; s=default; t=1615906432; bh=2e6JUCz2PYDk1qtYhB/GeDpGJeMFzDSg4Ly1gWwwPAs=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=kH/4GpJCuFRiYbIzxFofodzgvrUkcNExQ+SbdeKiSGfWrTSqjowl9K8nlTZiSIVKP Hic41AmvdUpQofM/L6uRlwT8W/9IJkuQUuGdlq6XS/ML6fs7HA+vsPqoRBX5MzMpZ6 NqffzvmAcdEfj+k1MPPs3huqxeVJcEhDBq7hcMr2Kf+BT84vRpB7NbyJ0dyXawmG1g i+Fd6YpEWIxPN6y6y8wQ9/HvuJD3OEHa/fElZwZkLFIRD1fUQ4WdefZjdnhizNDwNS 4Z9pd5/qzuxnniSiKSAQ3BfF5orqlaF6ml4bFElM6nbLXPK9Uz6M6dyeWOTZ6EHpdH BRlB2gKZpmblQ== From: "jchludzinski" To: Josef Holzmayr Cc: Nicolas Dechesne , akuster , Yocto Subject: Re: [yocto] Building test code? In-Reply-To: References: <503454c9-ea3c-6ecb-bfdf-eb5fce6feeee@gmail.com> <247c426e3db4a7f031aad842303134f1@vivaldi.net> User-Agent: Roundcube Webmail/1.4.4 Message-ID: <10f436d4d4f9993ed8496bc502e16dc8@vivaldi.net> X-Sender: jchludzinski@vivaldi.net Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Well, because time is of the essence, could you give me a little assist=20 here and explain how I might build spidev-test using OpenEmbedded? THANKS for your help! ---John On 2021-03-16 05:58, Josef Holzmayr wrote: > Am Di., 16. M=C3=A4rz 2021 um 10:49 Uhr schrieb Nicolas Dechesne > : >>=20 >> On Tue, Mar 16, 2021 at 8:07 AM jchludzinski via >> lists.yoctoproject.org >> wrote: >> > >> > It certainly appears to be BUT I'm not certain what I'm looking at? >> > >> > What is meta-openembedded? >> > >> > Is it a GIT repo that can be cloned and built? >>=20 >> Short answer is yes. The whole Yocto Project / Open Embedded concept >> is based around 'layers. A layer is a repository that contains recipes >> (and/or machine/distro, ..). The Yocto Project releases include a >> couple of common/core layers, but there are plenty of layers out there >> which can be used >> I am sure there are quite a bit of documentation on this topic, but >> perhaps you might want to start with: >> https://docs.yoctoproject.org/overview-manual/yp-intro.html#the-yocto-p= roject-layer-model >=20 > Or grab a beer and start bingewatching > https://www.youtube.com/playlist?list=3DPLD4M5FoHz-TxMfBFrDKfIS_GLY25Qsf= yj >=20 > >=20 >>=20 >>=20 >> > >> > >> > >> > How do I use this to build spidev-test? >> > >> > >> > ---John >> > >> > >> > On 2021-03-15 19:54, akuster wrote: >> > >> > On 3/15/21 4:11 PM, jchludzinski via lists.yoctoproject.org wrote: >> > >> > I got a piece of code from github: >> > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tr= ee/tools/spi/spidev_test.c >> > >> > I'd like to add it somewhere under /*tools/testing*/ and build it the= re. >> > >> > Not sure if this is appropriate? If so, how do I go about this? >> > >> > If not, what's the best way to build this? >> > >> > >> > Is this what you are looking for? >> > https://git.openembedded.org/meta-openembedded/tree/meta-oe/recipes-= kernel/spidev-test/spidev-test.bb >> > >> > -armin >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >>=20 >>=20 >>=20 >=20 >=20 >=20 From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.vivaldi.net (smtp.vivaldi.net [31.209.137.12]) by mx.groups.io with SMTP id smtpd.web08.963.1615909848477498799 for ; Tue, 16 Mar 2021 08:50:49 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@vivaldi.net header.s=default header.b=K9NASEzd; spf=pass (domain: vivaldi.net, ip: 31.209.137.12, mailfrom: jchludzinski@vivaldi.net) Received: from localhost (localhost [127.0.0.1]) by smtp.vivaldi.net (Postfix) with ESMTP id 57E1CBD045; Tue, 16 Mar 2021 15:50:46 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp.vivaldi.net 57E1CBD045 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vivaldi.net; s=default; t=1615909846; bh=BtI3GEvYt5xeqk3HW3M1Uy8c00wkH0BzKngbRi++d7c=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=K9NASEzdoPwX67/tz1dEMvaRIe92RXG8zr6+WM/cEjGAvbUjQJpmIRb+0DjCgtZL8 2Y3GZpgEwK3x5+CIyfCgGfyhgO03C9yHY4TvZ2qhGXm5dG9B0fBhxlugZsuJoKA/6I +TN62rOHaH7wRaqdH5uY1GU7TpAvKVzFLTcPuvpTh6BTz/CPymvwCmD1qpvnPlMA8g J86NNwdeVqkWhjKvvF/a00YqYPh5Ng72WXqHUnrFjF6gzudrh/niPz3dSv1qQrLgKm XT3FqbJ0X+aGJ0onhNWoYEtmHozO2krhl0R75qos1kiUQjZ3HJrEWCkLdltSk3FuMf zbQRQtJdNdp3Q== X-Virus-Scanned: Debian amavisd-new at smtp.vivaldi.net Received: from smtp.vivaldi.net ([127.0.0.1]) by localhost (mxo.viv.dc01 [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 74fZlPq-dUha; Tue, 16 Mar 2021 15:50:42 +0000 (UTC) Date: Tue, 16 Mar 2021 11:50:42 -0400 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp.vivaldi.net 40AEABD026 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vivaldi.net; s=default; t=1615909842; bh=BtI3GEvYt5xeqk3HW3M1Uy8c00wkH0BzKngbRi++d7c=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=sChSt2l/2N2ouyN7QtTakoRrnRhroYjmMwQ+hupglpwZK8ABKwIKFt9TWVwEKDjJw 7QcQVe8l58AkCxCmQG/EcW/9TtF1xPxcmUW9w46rdjo57umE+sURnx3AGwGGclP6WB XFH3WCUznui2OBVq/jNcs0Vv/t5fkYHx/vr0VNHNX7pl3Lxh0ccTr9Qgfyzt1JsIPW RL7JRV1sg+NTktx2G/2uQ2vjRg1dpeEHuka+F1z/AwDhzvdD9oeSw6HcuEIgs59aeh DZAj8+Pw1dWExuhccVzAlX+uY6LwVil9ARFbckvyJdDTlg6wHo420OtufCfj+dqoco RLFxWHhuUXysg== From: "jchludzinski" To: jchludzinski@vivaldi.net Cc: Josef Holzmayr , Nicolas Dechesne , akuster , Yocto Subject: Re: [yocto] Building test code? In-Reply-To: <166CDA589776C94C.8652@lists.yoctoproject.org> References: <503454c9-ea3c-6ecb-bfdf-eb5fce6feeee@gmail.com> <247c426e3db4a7f031aad842303134f1@vivaldi.net> <166CDA589776C94C.8652@lists.yoctoproject.org> User-Agent: Roundcube Webmail/1.4.4 Message-ID: <6b47dbaa6ee4a30b21120cf809dd7934@vivaldi.net> X-Sender: jchludzinski@vivaldi.net Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable I'm 'bitbaking' now. On 2021-03-16 10:53, jchludzinski via lists.yoctoproject.org wrote: > Well, because time is of the essence, could you give me a little > assist here and explain how I might build spidev-test using > OpenEmbedded? >=20 > THANKS for your help! > ---John >=20 >=20 > On 2021-03-16 05:58, Josef Holzmayr wrote: >> Am Di., 16. M=C3=A4rz 2021 um 10:49 Uhr schrieb Nicolas Dechesne >> : >>>=20 >>> On Tue, Mar 16, 2021 at 8:07 AM jchludzinski via >>> lists.yoctoproject.org >>> wrote: >>> > >>> > It certainly appears to be BUT I'm not certain what I'm looking at? >>> > >>> > What is meta-openembedded? >>> > >>> > Is it a GIT repo that can be cloned and built? >>>=20 >>> Short answer is yes. The whole Yocto Project / Open Embedded concept >>> is based around 'layers. A layer is a repository that contains=20 >>> recipes >>> (and/or machine/distro, ..). The Yocto Project releases include a >>> couple of common/core layers, but there are plenty of layers out=20 >>> there >>> which can be used >>> I am sure there are quite a bit of documentation on this topic, but >>> perhaps you might want to start with: >>> https://docs.yoctoproject.org/overview-manual/yp-intro.html#the-yocto-= project-layer-model >>=20 >> Or grab a beer and start bingewatching >> https://www.youtube.com/playlist?list=3DPLD4M5FoHz-TxMfBFrDKfIS_GLY25Qs= fyj >>=20 >> >>=20 >>>=20 >>>=20 >>> > >>> > >>> > >>> > How do I use this to build spidev-test? >>> > >>> > >>> > ---John >>> > >>> > >>> > On 2021-03-15 19:54, akuster wrote: >>> > >>> > On 3/15/21 4:11 PM, jchludzinski via lists.yoctoproject.org wrote: >>> > >>> > I got a piece of code from github: >>> > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/t= ree/tools/spi/spidev_test.c >>> > >>> > I'd like to add it somewhere under /*tools/testing*/ and build it th= ere. >>> > >>> > Not sure if this is appropriate? If so, how do I go about this? >>> > >>> > If not, what's the best way to build this? >>> > >>> > >>> > Is this what you are looking for? >>> > https://git.openembedded.org/meta-openembedded/tree/meta-oe/recipes= -kernel/spidev-test/spidev-test.bb >>> > >>> > -armin >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>>=20 >>>=20 >>>=20 >>=20 >>=20 >>=20 >=20 >=20 >=20 From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.vivaldi.net (smtp.vivaldi.net [31.209.137.12]) by mx.groups.io with SMTP id smtpd.web12.765.1615919961437012396 for ; Tue, 16 Mar 2021 11:39:22 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@vivaldi.net header.s=default header.b=PEMLQRgv; spf=pass (domain: vivaldi.net, ip: 31.209.137.12, mailfrom: jchludzinski@vivaldi.net) Received: from localhost (localhost [127.0.0.1]) by smtp.vivaldi.net (Postfix) with ESMTP id 2D3B6BD04B; Tue, 16 Mar 2021 18:39:19 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp.vivaldi.net 2D3B6BD04B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vivaldi.net; s=default; t=1615919959; bh=BQ3Ha1b3vC7L5Rrc1aZbL7x+eQA29DV+uvggnBoeXZY=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=PEMLQRgvFK1DobpMcXJs6Yd3O6hujXxh1qFllpUUvYdyJeNQlkM4zxnoJVG4kbU73 9T/nwZbckFayKx9zPIbGGvECGw+7hWEHnp1eGxjyMn2UOyImImQubK+Z1H4KxSYNPk Jy+ow3R1haU/ueeljiKNrK3OfuHl50H4jFMVBq4tHT5hD5JS8bVlioNrJUPVg6ynoa P5ASyug3mB9El8lwXl5jMDheJ9sIF3foo0NH5HLkYP+ae7PEvmj6h92K8+qcCuDllb auywzNf+3Ga769gC+5jsWofgnPx/9Kg6e3U41tTCQSyIdapmK8kf2buR5GIbouHg+M Ju7j1MucTIshQ== X-Virus-Scanned: Debian amavisd-new at smtp.vivaldi.net Received: from smtp.vivaldi.net ([127.0.0.1]) by localhost (mxo.viv.dc01 [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 70sNFISvJX9N; Tue, 16 Mar 2021 18:39:15 +0000 (UTC) Date: Tue, 16 Mar 2021 14:39:14 -0400 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp.vivaldi.net 8CDEFBD052 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vivaldi.net; s=default; t=1615919954; bh=BQ3Ha1b3vC7L5Rrc1aZbL7x+eQA29DV+uvggnBoeXZY=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=YH81v++WRW09hw0csnraIUNKQp4X81VGDFAAmGvJ/sqH7QjuXQV1BcalFC6XLiMoW agBiEyaoxMwmwxaBFCzZVz4Un7YrlG3szFZHfTfg8V/P9JKSolBWsTgzCUTCiZYXR3 8jJ2sRKvJndliRptlX04u4WVi5wNLakfYB7p+Np8iISoy3EnwhkqvbDSC2do1v7oeH DsJStPGUljG+w/yx1Dp1zwtUGdwn1HvXtTi7b1hGXitjUc+lZ0zNqk0FtUqUaszobG F22hLL6rvb6cES3QfNeJOad+3M7Mj1Z1M47QILvj4Ov7PqaC5jUzJOhOVejHzi7gFn 5Ui72jJnIs9YA== From: "jchludzinski" To: jchludzinski@vivaldi.net Cc: Josef Holzmayr , Nicolas Dechesne , akuster , Yocto , "jchludzinski via lists.yoctoproject.org" Subject: Re: [yocto] Building test code? In-Reply-To: <166CDD724205027D.27789@lists.yoctoproject.org> References: <503454c9-ea3c-6ecb-bfdf-eb5fce6feeee@gmail.com> <247c426e3db4a7f031aad842303134f1@vivaldi.net> <166CDA589776C94C.8652@lists.yoctoproject.org> <166CDD724205027D.27789@lists.yoctoproject.org> User-Agent: Roundcube Webmail/1.4.4 Message-ID: X-Sender: jchludzinski@vivaldi.net Content-Type: multipart/alternative; boundary="=_ccf1d8f191ba90e33f2ad3bd97d5b659" --=_ccf1d8f191ba90e33f2ad3bd97d5b659 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable I tried to build spidev-test using the bitbake recipe: spidev-test.bb I set:=20 ARCH=3Darm=20 BBPATH=20 CROSS_COMPILER=3Darm-linux-gnueabihf-=20 PATH=20 ... and then tried to build spidev-test: $ bitbake -b spidev-test.bb=20 WARNING: Buildfile specified, dependencies will not be handled. If this is not what you want, do not use -b / --buildfile. Loading cache: 100% |################################################################| Time: 0:00:00 Loaded 1433 entries from dependency cache. Build Configuration: BB_VERSION =3D "1.49.2" BUILD_SYS =3D "x86_64-linux" NATIVELSBSTRING =3D "fedora-33" TARGET_SYS =3D "x86_64-oe-linux" MACHINE =3D "qemux86-64" DISTRO =3D "nodistro" DISTRO_VERSION =3D "nodistro.0" TUNE_FEATURES =3D "m64 core2" TARGET_FPU =3D "" meta =3D "master:fa1e1fbc082e82e41ccfeae58af97fe048c9aac7" Initialising tasks: 100% |###########################################################| Time: 0:00:00 Sstate summary: Wanted 6 Local 0 Network 0 Missed 6 Current 0 (0% match, 0% complete) NOTE: Executing Tasks WARNING: spidev-test-1.0-r0 do_populate_lic: Could not copy license file /home/fedora/openembedded-core/meta/files/common-licenses/GPL-2.0 to /home/fedora/openembedded-core/build/tmp-glibc/work/qemux86_64-oe-linux/sp= idev-test/1.0-r0/license-destdir/spidev-test/GPL-2.0: [Errno 2] No such file or directory: '/home/fedora/openembedded-core/meta/files/common-licenses/GPL-2.0' ERROR: spidev-test-1.0-r0 do_populate_lic: QA Issue: spidev-test: LIC_FILES_CHKSUM points to an invalid file: /home/fedora/openembedded-core/meta/files/common-licenses/GPL-2.0 [license-checksum] ERROR: spidev-test-1.0-r0 do_populate_lic: Fatal QA errors found, failing task. ERROR: Logfile of failure stored in: /home/fedora/openembedded-core/build/tmp-glibc/work/qemux86_64-oe-linux/sp= idev-test/1.0-r0/temp/log.do_populate_lic.281153 ERROR: Task (/home/fedora/junk/meta-openembedded/meta-oe/recipes-kernel/spidev-test/sp= idev-test.bb:do_populate_lic) failed with exit code '1' NOTE: Tasks Summary: Attempted 3 tasks of which 0 didn't need to be rerun and 1 failed. Summary: 1 task failed: =20 /home/fedora/junk/meta-openembedded/meta-oe/recipes-kernel/spidev-test/spi= dev-test.bb:do_populate_lic Summary: There were 2 WARNING messages shown. Summary: There were 2 ERROR messages shown, returning a non-zero exit code. What's this about licences?=20 ---John On 2021-03-16 11:50, jchludzinski via lists.yoctoproject.org wrote:=20 > I'm 'bitbaking' now. >=20 > On 2021-03-16 10:53, jchludzinski via lists.yoctoproject.org wrote: Well= , because time is of the essence, could you give me a little > assist here and explain how I might build spidev-test using > OpenEmbedded? >=20 > THANKS for your help! > ---John >=20 > On 2021-03-16 05:58, Josef Holzmayr wrote: Am Di., 16. M=C3=A4rz 2021 um= 10:49 Uhr schrieb Nicolas Dechesne > :=20 > On Tue, Mar 16, 2021 at 8:07 AM jchludzinski via > lists.yoctoproject.org > wrote:=20 > It certainly appears to be BUT I'm not certain what I'm looking at? >=20 > What is meta-openembedded? >=20 > Is it a GIT repo that can be cloned and built?=20 > Short answer is yes. The whole Yocto Project / Open Embedded concept > is based around 'layers. A layer is a repository that contains recipes > (and/or machine/distro, ..). The Yocto Project releases include a > couple of common/core layers, but there are plenty of layers out there > which can be used > I am sure there are quite a bit of documentation on this topic, but > perhaps you might want to start with: > https://docs.yoctoproject.org/overview-manual/yp-intro.html#the-yocto-pr= oject-layer-model Or grab a beer and start bingewatching https://www.youtube.com/playlist?list=3DPLD4M5FoHz-TxMfBFrDKfIS_GLY25Qsfyj > How do I use this to build spidev-test? >=20 > ---John >=20 > On 2021-03-15 19:54, akuster wrote: >=20 > On 3/15/21 4:11 PM, jchludzinski via lists.yoctoproject.org wrote: >=20 > I got a piece of code from github: > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/= tools/spi/spidev_test.c >=20 > I'd like to add it somewhere under /*tools/testing*/ and build it there. >=20 > Not sure if this is appropriate? If so, how do I go about this? >=20 > If not, what's the best way to build this? >=20 > Is this what you are looking for? > https://git.openembedded.org/meta-openembedded/tree/meta-oe/recipes-kern= el/spidev-test/spidev-test.bb >=20 > -armin --=_ccf1d8f191ba90e33f2ad3bd97d5b659 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=UTF-8
I tried to build spidev-test using the bi= tbake recipe: 
spidev-test.bb
 
I set:
ARCH=3Darm
BBPATH
CROSS_COMPILER=3Darm-linux-gnueabihf-
PATH

... and then tried to build spidev-= test:
$ bi=
tbake -b spidev-test.bb=20
WARNING: Buildfile specified, dependencies will not be handle=
d. If this is not what you want, do not use -b / --buildfile.
Loading cache: 100% |#####################################################=
###########| Time: 0:00:00
Loaded 1433 entries from dependency cache.

Build Configuration:
BB_VERSION           =3D "1.49.2"
BUILD_SYS            =3D "x86_64-linux"
NATIVELSBSTRING      =3D "fedora-33"
TARGET_SYS           =3D "x86_64-oe-linux"
MACHINE              =3D "qemux86-64"
DISTRO               =3D "nodistro"
DISTRO_VERSION       =3D "nodistro.0"
TUNE_FEATURES        =3D "m64 core2"
TARGET_FPU           =3D ""
meta                 =3D "master:fa1e1fbc082e82e41ccfeae58af97fe048c9aac7"

Initialising tasks: 100% |################################################=
###########| Time: 0:00:00
Sstate summary: Wanted 6 Local 0 Network 0 Missed 6 Current 0 (0% match, 0=
% complete)
NOTE: Executing Tasks
WARNING: spidev-test-1.0-r0 do_populate_lic: Could not copy l=
icense file /home/fedora/openembedded-core/meta/files/common-licenses/GPL-2=
.0 to /home/fedora/openembedded-core/build/tmp-glibc/work/qemux86_64-oe-lin=
ux/spidev-test/1.0-r0/license-destdir/spidev-test/GPL-2.0: [Errno 2] No suc=
h file or directory: '/home/fedora/openembedded-core/meta/files/common-lice=
nses/GPL-2.0'
ERROR: spidev-test-1.0-r0 do_populate_lic: QA Issue: spidev-=
test: LIC_FILES_CHKSUM points to an invalid file: /home/fedora/openembedded=
-core/meta/files/common-licenses/GPL-2.0 [license-checksum]
ERROR: spidev-test-1.0-r0 do_populate_lic: Fatal QA errors f=
ound, failing task.
ERROR: Logfile of failure stored in: /home/fedora/openembedd=
ed-core/build/tmp-glibc/work/qemux86_64-oe-linux/spidev-test/1.0-r0/temp/lo=
g.do_populate_lic.281153
ERROR: Task (/home/fedora/junk/meta-openembedded/meta-oe/rec=
ipes-kernel/spidev-test/spidev-test.bb:do_populate_lic) failed with exit co=
de '1'
NOTE: Tasks Summary: Attempted 3 tasks of which 0 didn't =
need to be rerun and 1 failed.

Summary: 1 task failed:
  /home/fedora/junk/meta-openembedded/meta-oe/recipes-kernel/spidev-test/s=
pidev-test.bb:do_populate_lic
Summary: There were 2 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code=
.
What's this about licences?
 
---John
 

On = 2021-03-16 11:50, jchludzinski via lists.yoctoproject.org wrote:
I'm 'bitbaking' now.

On 2021-03-16 10:53, = jchludzinski via lists.yoctoproject.org wrote:
Well, because time is of the essence, could you give = me a little
assist here and explain how I might build spidev-test usin= g
OpenEmbedded?

THANKS for your help!
---John

On 2021-03-16 05:58, Josef Holzmayr wrote:
Am Di., 16. März 2021 um 10:49 Uhr schrieb Nicol= as Dechesne
<nicolas= .dechesne@linaro.org>:

On Tue, Mar 16, 2021 at 8:07 AM jchludzinski vi= a
lists.yoctoproject.org
<jchludzinski=3Dvivaldi.net@lists.yoctoproj= ect.org> wrote:

It certainly appears to be BUT I'm not certain = what I'm looking at?

What is meta-openembedded?

Is it= a GIT repo that can be cloned and built?

Short answer is yes. The whole Yocto Project / Open Embedded concept=
is based around 'layers. A layer is a repository that contains recipe= s
(and/or machine/distro, ..). The Yocto Project releases include acouple of common/core layers, but there are plenty of layers out therewhich can be used
I am sure there are quite a bit of documentation= on this topic, but
perhaps you might want to start with:
https://= docs.yoctoproject.org/overview-manual/yp-intro.html#the-yocto-project-layer= -model

Or grab a beer and start bingewatching
https://www.youtube.com/playlist?list=3DP= LD4M5FoHz-TxMfBFrDKfIS_GLY25Qsfyj

</SCNR>

<= /blockquote>


How do I use this to build spidev-test?

---John


On 2021-03-15 19:54, akuster wrote:

On 3/15/21 4:11 PM, jchludzinski via lists.yoctoproject.org wrote:
I got a piece of code from github:
https://git.kernel.or= g/pub/scm/linux/kernel/git/torvalds/linux.git/tree/tools/spi/spidev_test.c<= /a>

I'd like to add it somewhere under /*tools/testing*/ and bui= ld it there.

Not sure if this is appropriate? If so, how do I go= about this?

If not, what's the best way to build this?

Is this what you are looking for?
 
https://git= .openembedded.org/meta-openembedded/tree/meta-oe/recipes-kernel/spidev-test= /spidev-test.bb

-armin




--=_ccf1d8f191ba90e33f2ad3bd97d5b659-- From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from cpanel8.indieserve.net (cpanel8.indieserve.net [199.212.143.3]) by mx.groups.io with SMTP id smtpd.web10.1141.1615920233307295576 for ; Tue, 16 Mar 2021 11:43:53 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: crashcourse.ca, ip: 199.212.143.3, mailfrom: rpjday@crashcourse.ca) Received: from cpef81d0f814063-cmf81d0f814060.cpe.net.cable.rogers.com ([174.114.57.56]:56136 helo=fedora) by cpanel8.indieserve.net with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1lMEfW-00HAOm-64; Tue, 16 Mar 2021 14:43:50 -0400 Date: Tue, 16 Mar 2021 14:43:43 -0400 (EDT) From: "Robert P. J. Day" To: jchludzinski@vivaldi.net cc: Josef Holzmayr , Nicolas Dechesne , akuster , Yocto , "jchludzinski via lists.yoctoproject.org" Subject: Re: [yocto] Building test code? In-Reply-To: Message-ID: <902ab76c-de1-3e5b-2bef-3b5ed093b093@crashcourse.ca> References: <503454c9-ea3c-6ecb-bfdf-eb5fce6feeee@gmail.com> <247c426e3db4a7f031aad842303134f1@vivaldi.net> <166CDA589776C94C.8652@lists.yoctoproject.org> <166CDD724205027D.27789@lists.yoctoproject.org> MIME-Version: 1.0 X-OutGoing-Spam-Status: No, score=-1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cpanel8.indieserve.net X-AntiAbuse: Original Domain - lists.yoctoproject.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - crashcourse.ca X-Get-Message-Sender-Via: cpanel8.indieserve.net: authenticated_id: rpjday+crashcourse.ca/only user confirmed/virtual account not confirmed X-Authenticated-Sender: cpanel8.indieserve.net: rpjday@crashcourse.ca X-Source: X-Source-Args: X-Source-Dir: Content-Type: multipart/mixed; boundary="8323328-171389226-1615920230=:9985" --8323328-171389226-1615920230=:9985 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT On Tue, 16 Mar 2021, jchludzinski via lists.yoctoproject.org wrote: > I tried to build spidev-test using the bitbake recipe:  > > spidev-test.bb >   > I set: > ARCH=arm > BBPATH > CROSS_COMPILER=arm-linux-gnueabihf- > PATH > > ... and then tried to build spidev-test: > > $ bitbake -b spidev-test.bb > WARNING: Buildfile specified, dependencies will not be handled. If this is not what you want, do not use -b / --buildfile. > Loading cache: 100% |################################################################| Time: 0:00:00 > Loaded 1433 entries from dependency cache. > > Build Configuration: > BB_VERSION = "1.49.2" > BUILD_SYS = "x86_64-linux" > NATIVELSBSTRING = "fedora-33" > TARGET_SYS = "x86_64-oe-linux" > MACHINE = "qemux86-64" > DISTRO = "nodistro" > DISTRO_VERSION = "nodistro.0" > TUNE_FEATURES = "m64 core2" > TARGET_FPU = "" > meta = "master:fa1e1fbc082e82e41ccfeae58af97fe048c9aac7" > > Initialising tasks: 100% |###########################################################| Time: 0:00:00 > Sstate summary: Wanted 6 Local 0 Network 0 Missed 6 Current 0 (0% match, 0% complete) > NOTE: Executing Tasks > WARNING: spidev-test-1.0-r0 do_populate_lic: Could not copy license file /home/fedora/openembedded-core/meta/files/common-lic > enses/GPL-2.0 to /home/fedora/openembedded-core/build/tmp-glibc/work/qemux86_64-oe-linux/spidev-test/1.0-r0/license-destdir/s > pidev-test/GPL-2.0: [Errno 2] No such file or directory: '/home/fedora/openembedded-core/meta/files/common-licenses/GPL-2.0' > ERROR: spidev-test-1.0-r0 do_populate_lic: QA Issue: spidev-test: LIC_FILES_CHKSUM points to an invalid file: /home/fedora/op > enembedded-core/meta/files/common-licenses/GPL-2.0 [license-checksum] > ERROR: spidev-test-1.0-r0 do_populate_lic: Fatal QA errors found, failing task. > ERROR: Logfile of failure stored in: /home/fedora/openembedded-core/build/tmp-glibc/work/qemux86_64-oe-linux/spidev-test/1.0- > r0/temp/log.do_populate_lic.281153 > ERROR: Task (/home/fedora/junk/meta-openembedded/meta-oe/recipes-kernel/spidev-test/spidev-test.bb:do_populate_lic) failed wi > th exit code '1' > NOTE: Tasks Summary: Attempted 3 tasks of which 0 didn't need to be rerun and 1 failed. > > Summary: 1 task failed: > /home/fedora/junk/meta-openembedded/meta-oe/recipes-kernel/spidev-test/spidev-test.bb:do_populate_lic > Summary: There were 2 WARNING messages shown. > Summary: There were 2 ERROR messages shown, returning a non-zero exit code. > What's this about licences? in current OE, there is no "GPL-2.0" license file, there is "GPL-2.0-only" and "GPL-2.0-or-later" and a bunch of others, so i think you need to pick one of those. rday --8323328-171389226-1615920230=:9985-- From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.vivaldi.net (smtp.vivaldi.net [31.209.137.12]) by mx.groups.io with SMTP id smtpd.web10.1067.1615995683506312120 for ; Wed, 17 Mar 2021 08:41:24 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@vivaldi.net header.s=default header.b=NRHD4fVH; spf=pass (domain: vivaldi.net, ip: 31.209.137.12, mailfrom: jchludzinski@vivaldi.net) Received: from localhost (localhost [127.0.0.1]) by smtp.vivaldi.net (Postfix) with ESMTP id 5F3ADBD238; Wed, 17 Mar 2021 15:41:21 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp.vivaldi.net 5F3ADBD238 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vivaldi.net; s=default; t=1615995681; bh=tdvMgfP6CcN3TIhzWE2siJDrUWVgTNZ4+U1KS/ZWz1Q=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=NRHD4fVHWVWQq37Xg4EGp8t4zcs4GSvJY00pp8SYX5z+TMINmixrPXh/IlMWKhkX/ 2DhemOkxdtqSFViF9ZDq66/lG03HNdyAXUpbPZTLMp1lhdNY9BtJfPLu/2W7y/Jo/m Zl4exUtzVnqKm+Tp9RzHCdhTeDkD1iV7MOiyte8KQ2cwogBJ0DnzWoiMgYJ08vQEU3 ihIHtuP6i/xgBWa5YConHvQKM5/s37al7b8m9Fa5n4O2xzDIz6XdtGBFdo0pVjoDQp 9pL6sJomBeUNMMvcLUe+YgkeoYm5S0/ohg/n0luauMzjhd2LOZG4MaaiggaeEIovE6 PcgSQVXVxz1gQ== X-Virus-Scanned: Debian amavisd-new at smtp.vivaldi.net Received: from smtp.vivaldi.net ([127.0.0.1]) by localhost (mxo.viv.dc01 [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kkizV8IRVdoY; Wed, 17 Mar 2021 15:41:17 +0000 (UTC) Date: Wed, 17 Mar 2021 11:41:16 -0400 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp.vivaldi.net 31F86BD053 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vivaldi.net; s=default; t=1615995677; bh=tdvMgfP6CcN3TIhzWE2siJDrUWVgTNZ4+U1KS/ZWz1Q=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=Fj2Qj7uwLYPMvdOpKSraHkpdpGJF9JABo+PgoAHpoDu11zWVbEb8/nmLiqGmJRxb4 JNyhvaUhpQD/Orj/4VNVP23wpPtR81xOag+Q1I38ENxSHu1WK5tZ09sVjZrrE8bboj sC49HgjQzXxA8jCaQ3hbdKiWP6iyDyTY54OvgsLFqeQm5zMjvHKZupg1hABoDn0dt1 LnghDAINO5RTmF6QLnUk6KRqUfv6ar6/M0snhO88i1DstMJGClMpj0p6bdddznYmzt g9ZVcHrnjPSJfZdZE4wjLiww6VB1y5eb5cMPBvOJBcTtYiPdgyimYHmq6YAn2Q7QKo mQlC0lfqz/lmA== From: "jchludzinski" To: "Robert P. J. Day" Cc: Josef Holzmayr , Nicolas Dechesne , akuster , Yocto , "jchludzinski via lists.yoctoproject.org" Subject: Re: [yocto] Building test code? In-Reply-To: <902ab76c-de1-3e5b-2bef-3b5ed093b093@crashcourse.ca> References: <503454c9-ea3c-6ecb-bfdf-eb5fce6feeee@gmail.com> <247c426e3db4a7f031aad842303134f1@vivaldi.net> <166CDA589776C94C.8652@lists.yoctoproject.org> <166CDD724205027D.27789@lists.yoctoproject.org> <902ab76c-de1-3e5b-2bef-3b5ed093b093@crashcourse.ca> User-Agent: Roundcube Webmail/1.4.4 Message-ID: <01a990c31a6a8eb9e60e3fad88f0eb67@vivaldi.net> X-Sender: jchludzinski@vivaldi.net Content-Type: multipart/alternative; boundary="=_4f175e8f4dd32710c457079be9daa61a" --=_4f175e8f4dd32710c457079be9daa61a Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed There are 2 git repos: _openembedded-core_ and _meta-openembedded._ _openembedded-core_ has _oe-init-build-env_ to create the build environment. _meta-openembedded_ has the recipe for _spidev-test_ If I use _oe-init-build-env_ from _openembedded-core_ to create the env vars then try: $ bitbake -b spidev-test.bb I get into those licencing issues. How do I extricate myself from this conundrum? ---John On 2021-03-16 14:43, Robert P. J. Day wrote: > On Tue, 16 Mar 2021, jchludzinski via lists.yoctoproject.org wrote: > >> I tried to build spidev-test using the bitbake recipe: >> >> spidev-test.bb >> >> I set: >> ARCH=arm >> BBPATH >> CROSS_COMPILER=arm-linux-gnueabihf- >> PATH >> >> ... and then tried to build spidev-test: >> >> $ bitbake -b spidev-test.bb >> WARNING: Buildfile specified, dependencies will not be handled. If this is not what you want, do not use -b / --buildfile. >> Loading cache: 100% |################################################################| Time: 0:00:00 >> Loaded 1433 entries from dependency cache. >> >> Build Configuration: >> BB_VERSION = "1.49.2" >> BUILD_SYS = "x86_64-linux" >> NATIVELSBSTRING = "fedora-33" >> TARGET_SYS = "x86_64-oe-linux" >> MACHINE = "qemux86-64" >> DISTRO = "nodistro" >> DISTRO_VERSION = "nodistro.0" >> TUNE_FEATURES = "m64 core2" >> TARGET_FPU = "" >> meta = "master:fa1e1fbc082e82e41ccfeae58af97fe048c9aac7" >> >> Initialising tasks: 100% |###########################################################| Time: 0:00:00 >> Sstate summary: Wanted 6 Local 0 Network 0 Missed 6 Current 0 (0% match, 0% complete) >> NOTE: Executing Tasks >> WARNING: spidev-test-1.0-r0 do_populate_lic: Could not copy license file /home/fedora/openembedded-core/meta/files/common-lic >> enses/GPL-2.0 to /home/fedora/openembedded-core/build/tmp-glibc/work/qemux86_64-oe-linux/spidev-test/1.0-r0/license-destdir/s >> pidev-test/GPL-2.0: [Errno 2] No such file or directory: '/home/fedora/openembedded-core/meta/files/common-licenses/GPL-2.0' >> ERROR: spidev-test-1.0-r0 do_populate_lic: QA Issue: spidev-test: LIC_FILES_CHKSUM points to an invalid file: /home/fedora/op >> enembedded-core/meta/files/common-licenses/GPL-2.0 [license-checksum] >> ERROR: spidev-test-1.0-r0 do_populate_lic: Fatal QA errors found, failing task. >> ERROR: Logfile of failure stored in: /home/fedora/openembedded-core/build/tmp-glibc/work/qemux86_64-oe-linux/spidev-test/1.0- >> r0/temp/log.do_populate_lic.281153 >> ERROR: Task (/home/fedora/junk/meta-openembedded/meta-oe/recipes-kernel/spidev-test/spidev-test.bb:do_populate_lic) failed wi >> th exit code '1' >> NOTE: Tasks Summary: Attempted 3 tasks of which 0 didn't need to be rerun and 1 failed. >> >> Summary: 1 task failed: >> /home/fedora/junk/meta-openembedded/meta-oe/recipes-kernel/spidev-test/spidev-test.bb:do_populate_lic >> Summary: There were 2 WARNING messages shown. >> Summary: There were 2 ERROR messages shown, returning a non-zero exit code. >> What's this about licences? > > in current OE, there is no "GPL-2.0" license file, there is > "GPL-2.0-only" and "GPL-2.0-or-later" and a bunch of others, so i > think you need to pick one of those. > > rday > > --=_4f175e8f4dd32710c457079be9daa61a Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=UTF-8
There are 2 git repos: openembedded-core and meta-openembe= dded.

openembedded-cor= e has = oe-init-build-env to create the build environm= ent.
meta-openembedded has t= he recipe for spide= v-test

If I use oe-ini= t-build-env from openembedded-core to create the env= vars then try:

   $ bitbake -b spidev-test.= bb

I get into those licencing issues.&= nbsp;
 
How do I extricate myself from this conun= drum? 
 
---John
 


On 2021-03-16 14:43, Robert P. J. Day wrote:
On Tue, 16 Mar 2021, jchludzinski via lists.yoctoproj= ect.org wrote:

I tried to build spidev-test using the bitbake recipe= : 

spidev-test.bb
 
I set:
ARCH=3DarmBBPATH
CROSS_COMPILER=3Darm-linux-gnueabihf-
PATH

= ... and then tried to build spidev-test:

$ bitbake -b spidev-tes= t.bb
WARNING: Buildfile specified, dependencies will not be handled. I= f this is not what you want, do not use -b / --buildfile.
Loading cach= e: 100% |################################################################| = Time: 0:00:00
Loaded 1433 entries from dependency cache.

Bu= ild Configuration:
BB_VERSION       &nbs= p;   =3D "1.49.2"
BUILD_SYS     &nb= sp;      =3D "x86_64-linux"
NATIVELSBSTR= ING      =3D "fedora-33"
TARGET_SYS  &nb= sp;        =3D "x86_64-oe-linux"MACHINE           &nbs= p;  =3D "qemux86-64"
DISTRO      &n= bsp;        =3D "nodistro"
DIS= TRO_VERSION       =3D "nodistro.0"
TUNE_= FEATURES        =3D "m64 core2"
TAR= GET_FPU           =3D ""<= br />meta            = ;     =3D "master:fa1e1fbc082e82e41ccfeae58af97fe0= 48c9aac7"

Initialising tasks: 100% |############################= ###############################| Time: 0:00:00
Sstate summary: Wanted = 6 Local 0 Network 0 Missed 6 Current 0 (0% match, 0% complete)
NOTE: E= xecuting Tasks
WARNING: spidev-test-1.0-r0 do_populate_lic: Could not = copy license file /home/fedora/openembedded-core/meta/files/common-lic
enses/GPL-2.0 to /home/fedora/openembedded-core/build/tmp-glibc/work/qemux= 86_64-oe-linux/spidev-test/1.0-r0/license-destdir/s
pidev-test/GPL-2.0= : [Errno 2] No such file or directory: '/home/fedora/openembedded-core/meta= /files/common-licenses/GPL-2.0'
ERROR: spidev-test-1.0-r0 do_populate_= lic: QA Issue: spidev-test: LIC_FILES_CHKSUM points to an invalid file: /ho= me/fedora/op
enembedded-core/meta/files/common-licenses/GPL-2.0 [licen= se-checksum]
ERROR: spidev-test-1.0-r0 do_populate_lic: Fatal QA error= s found, failing task.
ERROR: Logfile of failure stored in: /home/fedo= ra/openembedded-core/build/tmp-glibc/work/qemux86_64-oe-linux/spidev-test/1= .0-
r0/temp/log.do_populate_lic.281153
ERROR: Task (/home/fedora/= junk/meta-openembedded/meta-oe/recipes-kernel/spidev-test/spidev-test.bb:do= _populate_lic) failed wi
th exit code '1'
NOTE: Tasks Summary: At= tempted 3 tasks of which 0 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /home/fedora/junk/meta-openembedd= ed/meta-oe/recipes-kernel/spidev-test/spidev-test.bb:do_populate_lic
S= ummary: There were 2 WARNING messages shown.
Summary: There were 2 ERR= OR messages shown, returning a non-zero exit code.
What's this about l= icences?

  in current OE, there is no "GPL-2.0" license file, there= is
"GPL-2.0-only" and "GPL-2.0-or-later" and a bunch of others, so i<= br />think you need to pick one of those.

rday


=
--=_4f175e8f4dd32710c457079be9daa61a--