All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denys Dmytriyenko <denys@ti.com>
To: Gary Thomas <gary@mlbassoc.com>
Cc: meta-ti@yoctoproject.org
Subject: Re: Can't build for BeagleBone
Date: Tue, 18 Oct 2016 12:31:38 -0400	[thread overview]
Message-ID: <20161018163138.GW12745@edge> (raw)
In-Reply-To: <212371ab-9b66-e313-9cf3-9b9ce3578807@mlbassoc.com>

On Sun, Oct 16, 2016 at 12:46:19PM +0200, Gary Thomas wrote:
> On 2016-10-11 12:47, Denys Dmytriyenko wrote:
> >Yeah, I'm also getting this in master. Works fine in krogoth. Haven't yet looked close at it though...
> 
> There seem to be two things wrong here.
> 
> *) Yocto has moved most recipes to use a split source/build tree,
>    thus ${S} != ${B}

Well, that actually happened quite a long time ago for most of recipes. U-boot 
was in the unconverted minority for a while, until couple months ago:

http://cgit.openembedded.org/openembedded-core/commit/?id=36f110594506fbee5dc18de3a04981f019f2024d


As of UBOOT_LOCALVERSION - not sure if generating it fails or rather 
consumption of it fails inside U-boot Makefiles...

-- 
Denys


> *) There is some issue with generating the UBOOT_LOCALVERSION that
>    causes problems.
> 
> This patch [sort of] addresses both.  At least it lets me build a
> working U-Boot for the BeagleBone from master.  I know it's not
> perfect, but I couldn't figure out the why the UBOOT_LOCALVERSION
> stuff wasn't working.
> 
> -- 
> ------------------------------------------------------------
> Gary Thomas                 |  Consulting for the
> MLB Associates              |    Embedded world
> ------------------------------------------------------------

> diff --git a/recipes-bsp/u-boot/u-boot-ti.inc b/recipes-bsp/u-boot/u-boot-ti.inc
> index b0054c9..a854243 100644
> --- a/recipes-bsp/u-boot/u-boot-ti.inc
> +++ b/recipes-bsp/u-boot/u-boot-ti.inc
> @@ -8,7 +8,7 @@ def get_git_revision(p):
>      except OSError:
>          return None
>  
> -UBOOT_LOCALVERSION = "-g${@get_git_revision('${S}').__str__()[:10]}"
> +#UBOOT_LOCALVERSION = "-g${@get_git_revision('${S}').__str__()[:10]}"
>  
>  UBOOT_SUFFIX ?= "img"
>  
> @@ -36,7 +36,7 @@ SPL_UART_SYMLINK ?= "${SPL_UART_BINARY}-${MACHINE}"
>  do_install_append () {
>      if [ "x${SPL_UART_BINARY}" != "x" ]
>      then
> -        install ${S}/spl/${SPL_UART_BINARY} ${D}/boot/${SPL_UART_IMAGE}
> +        install ${B}/spl/${SPL_UART_BINARY} ${D}/boot/${SPL_UART_IMAGE}
>          ln -sf ${SPL_UART_IMAGE} ${D}/boot/${SPL_UART_BINARY}
>      fi
>  }
> @@ -45,7 +45,7 @@ do_deploy_append () {
>      cd ${DEPLOYDIR}
>      if [ "x${SPL_UART_BINARY}" != "x" ]
>      then
> -        install ${S}/spl/${SPL_UART_BINARY} ${DEPLOYDIR}/${SPL_UART_IMAGE}
> +        install ${B}/spl/${SPL_UART_BINARY} ${DEPLOYDIR}/${SPL_UART_IMAGE}
>          rm -f ${DEPLOYDIR}/${SPL_UART_BINARY} ${DEPLOYDIR}/${SPL_UART_SYMLINK}
>          ln -sf ${SPL_UART_IMAGE} ${DEPLOYDIR}/${SPL_UART_BINARY}
>          ln -sf ${SPL_UART_IMAGE} ${DEPLOYDIR}/${SPL_UART_SYMLINK}

> -- 
> _______________________________________________
> meta-ti mailing list
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti



  reply	other threads:[~2016-10-18 16:31 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-11  9:52 Can't build for BeagleBone Gary Thomas
2016-10-11 10:47 ` Denys Dmytriyenko
2016-10-12  8:05   ` Gary Thomas
2016-10-12  8:59     ` Gary Thomas
2016-10-16 10:46   ` Gary Thomas
2016-10-18 16:31     ` Denys Dmytriyenko [this message]
2016-10-18 17:17       ` Denys Dmytriyenko
2016-10-19  5:44         ` Gary Thomas
  -- strict thread matches above, loose matches on Subject: below --
2012-03-02 14:56 Gary Thomas
2012-03-02 15:01 ` Gary Thomas
2012-03-03  8:27   ` Denys Dmytriyenko
2012-03-03 12:49     ` Gary Thomas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20161018163138.GW12745@edge \
    --to=denys@ti.com \
    --cc=gary@mlbassoc.com \
    --cc=meta-ti@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.