All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] u-boot: set B directory for imx5's
@ 2020-02-10 23:13 Trevor Woerner
  2020-02-11 13:47 ` [meta-freescale] " Otavio Salvador
  0 siblings, 1 reply; 5+ messages in thread
From: Trevor Woerner @ 2020-02-10 23:13 UTC (permalink / raw)
  To: meta-freescale

The imx5* machines need separate S and B directories to build u-boot-fslc
otherwise the build fails with:

	| make[1]: *** No rule to make target '/z/build-master/meta-freescale/build/tmp-glibc/work/imx53qsb-oe-linux-gnueabi/u-boot-fslc/v2019.07+gitAUTOINC+ca0ab15271-r0/git/arch//cpu/u-boot.lds', needed by 'u-boot.lds'.  Stop.

Build-tested with imx51evk, imx53ard, and imx53qsb.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
---
 recipes-bsp/u-boot/u-boot-fslc-common_2019.07.inc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/recipes-bsp/u-boot/u-boot-fslc-common_2019.07.inc b/recipes-bsp/u-boot/u-boot-fslc-common_2019.07.inc
index 575f76f8..44dd5125 100644
--- a/recipes-bsp/u-boot/u-boot-fslc-common_2019.07.inc
+++ b/recipes-bsp/u-boot/u-boot-fslc-common_2019.07.inc
@@ -16,3 +16,4 @@ SRCBRANCH = "2019.07+fslc"
 PV = "v2019.07+git${SRCPV}"
 
 S = "${WORKDIR}/git"
+B_mx5 = "${WORKDIR}/build"
-- 
2.25.0.114.g5b0ca878e0


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

* Re: [meta-freescale] [PATCH] u-boot: set B directory for imx5's
  2020-02-10 23:13 [PATCH] u-boot: set B directory for imx5's Trevor Woerner
@ 2020-02-11 13:47 ` Otavio Salvador
  2020-02-11 15:12   ` Trevor Woerner
  0 siblings, 1 reply; 5+ messages in thread
From: Otavio Salvador @ 2020-02-11 13:47 UTC (permalink / raw)
  To: Trevor Woerner; +Cc: meta-freescale Mailing List

On Mon, Feb 10, 2020 at 8:14 PM Trevor Woerner <twoerner@gmail.com> wrote:
> The imx5* machines need separate S and B directories to build u-boot-fslc
> otherwise the build fails with:
>
>         | make[1]: *** No rule to make target '/z/build-master/meta-freescale/build/tmp-glibc/work/imx53qsb-oe-linux-gnueabi/u-boot-fslc/v2019.07+gitAUTOINC+ca0ab15271-r0/git/arch//cpu/u-boot.lds', needed by 'u-boot.lds'.  Stop.
>
> Build-tested with imx51evk, imx53ard, and imx53qsb.
>
> Signed-off-by: Trevor Woerner <twoerner@gmail.com>

Which branch did you use?

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9 9981-7854          Mobile: +1 (347) 903-9750

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

* Re: [meta-freescale] [PATCH] u-boot: set B directory for imx5's
  2020-02-11 13:47 ` [meta-freescale] " Otavio Salvador
@ 2020-02-11 15:12   ` Trevor Woerner
  2020-02-11 17:17     ` Otavio Salvador
  0 siblings, 1 reply; 5+ messages in thread
From: Trevor Woerner @ 2020-02-11 15:12 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: meta-freescale Mailing List

Hi Otavio,

On Tue 2020-02-11 @ 10:47:46 AM, Otavio Salvador wrote:
> On Mon, Feb 10, 2020 at 8:14 PM Trevor Woerner <twoerner@gmail.com> wrote:
> > The imx5* machines need separate S and B directories to build u-boot-fslc
> > otherwise the build fails with:
> >
> >         | make[1]: *** No rule to make target '/z/build-master/meta-freescale/build/tmp-glibc/work/imx53qsb-oe-linux-gnueabi/u-boot-fslc/v2019.07+gitAUTOINC+ca0ab15271-r0/git/arch//cpu/u-boot.lds', needed by 'u-boot.lds'.  Stop.
> >
> > Build-tested with imx51evk, imx53ard, and imx53qsb.
> >
> > Signed-off-by: Trevor Woerner <twoerner@gmail.com>
> 
> Which branch did you use?

Master on everything:

	Build Configuration:
	BB_VERSION           = "1.44.0"
	BUILD_SYS            = "x86_64-linux"
	NATIVELSBSTRING      = "opensuseleap-15.1"
	TARGET_SYS           = "arm-oe-linux-gnueabi"
	MACHINE              = "imx53qsb"
	DISTRO               = "nodistro"
	DISTRO_VERSION       = "nodistro.0"
	TUNE_FEATURES        = "arm armv7a vfp thumb neon callconvention-hard"
	TARGET_FPU           = "hard"
	meta-freescale       = "master:9227f4c9e6d77d3fa15f67d178ba9da02c5550fe"
	meta                 = "master:44a4ac2294da0f53cbbfabc7ece836fe97f4d3f7"

	https://git.yoctoproject.org/git/meta-freescale
	git://git.openembedded.org/openembedded-core.git

conf/bblayers.conf:

	# LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf
	# changes incompatibly
	LCONF_VERSION = "7"

	BBPATH = "${TOPDIR}"
	BBFILES ?= ""

	BBLAYERS ?= " \
	  /opt/oe/configs/z/build-master/meta-freescale/layers/meta-freescale \
	  /opt/oe/configs/z/build-master/meta-freescale/layers/openembedded-core/meta \
	  "

conf/local.conf:

	ACCEPT_FSL_EULA = "1"
	MACHINE = "imx53qsb"
	DISTRO = "nodistro"
	DL_DIR = "/opt/Downloads"

	PACKAGE_CLASSES ?= "package_ipk"
	EXTRA_IMAGE_FEATURES ?= "debug-tweaks"
	USER_CLASSES ?= "buildstats image-mklibs image-prelink"
	PATCHRESOLVE ?= "noop"
	BB_DISKMON_DIRS = "\
	    STOPTASKS,${TMPDIR},1G,100K \
	    STOPTASKS,${DL_DIR},1G,100K \
	    STOPTASKS,${SSTATE_DIR},1G,100K \
	    STOPTASKS,/tmp,100M,100K \
	    ABORT,${TMPDIR},100M,1K \
	    ABORT,${DL_DIR},100M,1K \
	    ABORT,${SSTATE_DIR},100M,1K \
	    ABORT,/tmp,10M,1K"
	PACKAGECONFIG_append_pn-qemu-system-native = " sdl"
	PACKAGECONFIG_append_pn-nativesdk-qemu = " sdl"
	ASSUME_PROVIDED += "libsdl2-native"
	CONF_VERSION = "1"


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

* Re: [meta-freescale] [PATCH] u-boot: set B directory for imx5's
  2020-02-11 15:12   ` Trevor Woerner
@ 2020-02-11 17:17     ` Otavio Salvador
  2020-02-11 18:06       ` Trevor Woerner
  0 siblings, 1 reply; 5+ messages in thread
From: Otavio Salvador @ 2020-02-11 17:17 UTC (permalink / raw)
  To: Trevor Woerner; +Cc: meta-freescale Mailing List

On Tue, Feb 11, 2020 at 12:12 PM Trevor Woerner <twoerner@gmail.com> wrote:
> On Tue 2020-02-11 @ 10:47:46 AM, Otavio Salvador wrote:
> > On Mon, Feb 10, 2020 at 8:14 PM Trevor Woerner <twoerner@gmail.com> wrote:
> > > The imx5* machines need separate S and B directories to build u-boot-fslc
> > > otherwise the build fails with:
> > >
> > >         | make[1]: *** No rule to make target '/z/build-master/meta-freescale/build/tmp-glibc/work/imx53qsb-oe-linux-gnueabi/u-boot-fslc/v2019.07+gitAUTOINC+ca0ab15271-r0/git/arch//cpu/u-boot.lds', needed by 'u-boot.lds'.  Stop.
> > >
> > > Build-tested with imx51evk, imx53ard, and imx53qsb.
> > >
> > > Signed-off-by: Trevor Woerner <twoerner@gmail.com>
> >
> > Which branch did you use?
>
> Master on everything:
>
>         Build Configuration:
>         BB_VERSION           = "1.44.0"
>         BUILD_SYS            = "x86_64-linux"
>         NATIVELSBSTRING      = "opensuseleap-15.1"
>         TARGET_SYS           = "arm-oe-linux-gnueabi"
>         MACHINE              = "imx53qsb"
>         DISTRO               = "nodistro"
>         DISTRO_VERSION       = "nodistro.0"
>         TUNE_FEATURES        = "arm armv7a vfp thumb neon callconvention-hard"
>         TARGET_FPU           = "hard"
>         meta-freescale       = "master:9227f4c9e6d77d3fa15f67d178ba9da02c5550fe"
>         meta                 = "master:44a4ac2294da0f53cbbfabc7ece836fe97f4d3f7"
>
>         https://git.yoctoproject.org/git/meta-freescale
>         git://git.openembedded.org/openembedded-core.git
>
> conf/bblayers.conf:
>
>         # LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf
>         # changes incompatibly
>         LCONF_VERSION = "7"
>
>         BBPATH = "${TOPDIR}"
>         BBFILES ?= ""
>
>         BBLAYERS ?= " \
>           /opt/oe/configs/z/build-master/meta-freescale/layers/meta-freescale \
>           /opt/oe/configs/z/build-master/meta-freescale/layers/openembedded-core/meta \
>           "
>
> conf/local.conf:
>
>         ACCEPT_FSL_EULA = "1"
>         MACHINE = "imx53qsb"
>         DISTRO = "nodistro"
>         DL_DIR = "/opt/Downloads"
>
>         PACKAGE_CLASSES ?= "package_ipk"
>         EXTRA_IMAGE_FEATURES ?= "debug-tweaks"
>         USER_CLASSES ?= "buildstats image-mklibs image-prelink"
>         PATCHRESOLVE ?= "noop"
>         BB_DISKMON_DIRS = "\
>             STOPTASKS,${TMPDIR},1G,100K \
>             STOPTASKS,${DL_DIR},1G,100K \
>             STOPTASKS,${SSTATE_DIR},1G,100K \
>             STOPTASKS,/tmp,100M,100K \
>             ABORT,${TMPDIR},100M,1K \
>             ABORT,${DL_DIR},100M,1K \
>             ABORT,${SSTATE_DIR},100M,1K \
>             ABORT,/tmp,10M,1K"
>         PACKAGECONFIG_append_pn-qemu-system-native = " sdl"
>         PACKAGECONFIG_append_pn-nativesdk-qemu = " sdl"
>         ASSUME_PROVIDED += "libsdl2-native"
>         CONF_VERSION = "1"

Please open an issue on github?

IIRC, we are using different build directories for S and B so I am
wondering why it is failing.


-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9 9981-7854          Mobile: +1 (347) 903-9750

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

* Re: [meta-freescale] [PATCH] u-boot: set B directory for imx5's
  2020-02-11 17:17     ` Otavio Salvador
@ 2020-02-11 18:06       ` Trevor Woerner
  0 siblings, 0 replies; 5+ messages in thread
From: Trevor Woerner @ 2020-02-11 18:06 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: meta-freescale Mailing List

On Tue 2020-02-11 @ 02:17:03 PM, Otavio Salvador wrote:
> On Tue, Feb 11, 2020 at 12:12 PM Trevor Woerner <twoerner@gmail.com> wrote:
> > On Tue 2020-02-11 @ 10:47:46 AM, Otavio Salvador wrote:
> > > On Mon, Feb 10, 2020 at 8:14 PM Trevor Woerner <twoerner@gmail.com> wrote:
> > > > The imx5* machines need separate S and B directories to build u-boot-fslc
> > > > otherwise the build fails with:
> > > >
> > > >         | make[1]: *** No rule to make target '/z/build-master/meta-freescale/build/tmp-glibc/work/imx53qsb-oe-linux-gnueabi/u-boot-fslc/v2019.07+gitAUTOINC+ca0ab15271-r0/git/arch//cpu/u-boot.lds', needed by 'u-boot.lds'.  Stop.
> > > >
> > > > Build-tested with imx51evk, imx53ard, and imx53qsb.
> > > >
> > > > Signed-off-by: Trevor Woerner <twoerner@gmail.com>
>
> Please open an issue on github?

Okay.

> IIRC, we are using different build directories for S and B so I am
> wondering why it is failing.

This is what I'm getting:

$ bitbake virtual/bootloader -e | grep "^B="
B="/z/build-master/meta-freescale/build/tmp-glibc/work/imx53qsb-oe-linux-gnueabi/u-boot-fslc/v2019.07+gitAUTOINC+ca0ab15271-r0/git"
$ bitbake virtual/bootloader -e | grep "^S="
S="/z/build-master/meta-freescale/build/tmp-glibc/work/imx53qsb-oe-linux-gnueabi/u-boot-fslc/v2019.07+gitAUTOINC+ca0ab15271-r0/git"


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

end of thread, other threads:[~2020-02-11 18:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-10 23:13 [PATCH] u-boot: set B directory for imx5's Trevor Woerner
2020-02-11 13:47 ` [meta-freescale] " Otavio Salvador
2020-02-11 15:12   ` Trevor Woerner
2020-02-11 17:17     ` Otavio Salvador
2020-02-11 18:06       ` Trevor Woerner

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.