Re: [yocto] do_fetch_append: syntax error

2019-10-01 Thread Damien LEFEVRE
OK understood! I'll find another way. Thanks, -Damien On Tue, Oct 1, 2019 at 12:13 PM Martin Jansa wrote: > On Tue, Oct 01, 2019 at 11:35:21AM +0300, Damien LEFEVRE wrote: > > Hi, > > > > I have the following bbappend > > > > FILESEXTRAPATHS_prepend :

[yocto] do_fetch_append: syntax error

2019-10-01 Thread Damien LEFEVRE
Hi, I have the following bbappend FILESEXTRAPATHS_prepend := "${THISDIR}/files:" SRC_URI += " \ file://tegra186_cti_defconfig \ " do_fetch_append(){ mv ${WORKDIR}/tegra186_cti_defconfig ${WORKDIR}/defconfig } For this I get an error: File "autogenerated", line 3 mv

Re: [yocto] Nothing PROVIDES 'python3-dev'

2019-09-25 Thread Damien LEFEVRE
, 2019 at 10:00 AM Jussi Kukkonen wrote: > > > On Wed, 25 Sep 2019 at 09:16, Damien LEFEVRE wrote: > >> > On 24/09/2019 10:36, Damien LEFEVRE wrote: >> > > Hi, >> > > >> > > Migrating from poky:pyro to poky:warrior. >> > > >>

Re: [yocto] Nothing PROVIDES 'python3-dev'

2019-09-25 Thread Damien LEFEVRE
> On 24/09/2019 10:36, Damien LEFEVRE wrote: > > Hi, > > > > Migrating from poky:pyro to poky:warrior. > > > > It looks like the python3-dev package is generated from > > python3-manifest.json: > > > > ? ? "dev": { > > ? ? ? ? &q

[yocto] Nothing PROVIDES 'python3-dev'

2019-09-24 Thread Damien LEFEVRE
Hi, Migrating from poky:pyro to poky:warrior. It looks like the python3-dev package is generated from python3-manifest.json: "dev": { "cached": [], "files": [ "${base_libdir}/*.a", "${base_libdir}/*.o", "${bindir}/python*-config",

Re: [yocto] Changing HOST_CC_ARCH temporarily in recipe

2019-09-18 Thread Damien LEFEVRE
Yeah that's true and that's how I fixed it =) Thanks, -Damien On Wed, Sep 18, 2019 at 11:44 AM wrote: > Hi, > > On Wed, Sep 18, 2019 at 11:26:29AM +0300, Damien LEFEVRE wrote: > > Hi, > > > > I have a package which requires to first build a x64 binary which

[yocto] Changing HOST_CC_ARCH temporarily in recipe

2019-09-18 Thread Damien LEFEVRE
Hi, I have a package which requires to first build a x64 binary which is then used to compile the target platform binaries. The way I got away with it was to build that host binary from do_configure_prepend() and then continue with the build procedure. I recently upgraded to GCC7 + warrior and

[yocto] PR Service multibranch project

2019-08-09 Thread Damien LEFEVRE
Hi, I'm looking at enabling PR Service to auto increment some recipe revision. On a build server I exposed sstate and downloads folder to use that server as a mirror. So I'm thinking of putting PR service there. Few things are unclear to me after reading the doc: We use repotool to manage our

[yocto] Replacing a configuration file from another recipe

2019-04-29 Thread Damien LEFEVRE
Hi, In our base image we use nginx. I created a nginx.bbappend to add our PHP configuration in a separated layer. For a specific variant of the image I need to add an extra bit of nginx configuration. I though I could create a new recipe to overwrite nginx.conf and include that recipe in the

[yocto] preferred version 6.% of gcc-sanitizers not available

2019-01-24 Thread Damien LEFEVRE
Hi, I have updated my stack to sumo and the platform image builds fine. Now I'm adding an application which builds against CUDA 9 and due to some bugs with gcc 7, gcc 6 is highest supported version. The issues has been fixed in CUDA 10, but I cannot upgrade at time point of time. So I went to

Re: [yocto] bbappend extra SRC_URI ignored

2018-06-15 Thread Damien LEFEVRE
. > > On Thu, Jun 14, 2018 at 3:22 PM Damien LEFEVRE > wrote: > >> >> Thanks >> >> Here are some interesting parts of bitbake -e. It seems my syntax is >> correct >> >> >> # $FILESEXTRAPATHS [3 operations] >> # set? /home/damien/procbox

Re: [yocto] bbappend extra SRC_URI ignored

2018-06-14 Thread Damien LEFEVRE
/tmp/work/aarch64_tegra186-poky-linux/tegra-tools/28.2.0-r0 in my case. Could some bitbake options disable this standard behavior? On Thu, Jun 14, 2018 at 3:33 PM, Martin Jansa wrote: > On Thu, Jun 14, 2018 at 03:16:00PM +0300, Damien LEFEVRE wrote: > > HI, > > > > I'm working o

[yocto] bbappend extra SRC_URI ignored

2018-06-14 Thread Damien LEFEVRE
HI, I'm working on meta-tegra layer and I'd like to append a recipe. The original recipe looks like this: https://github.com/madisongh/meta-tegra/blob/rocko-l4t-r28.2/recipes-bsp/tegra-binaries/tegra-tools_28.2.0.bb

Re: [yocto] Image specific configuration files

2018-06-01 Thread Damien LEFEVRE
Thanks a lot everyone, this is very helpful =) On Fri, Jun 1, 2018 at 2:14 PM, Iván Castell wrote: > > > 2018-06-01 11:24 GMT+02:00 Alexander Kanavin : > >> I have to say defining multiple distros and then tweaking recipes >> according to those definitions is not a good practice, as recipes

[yocto] Image specific configuration files

2018-05-31 Thread Damien LEFEVRE
Hi, For the same MACHINE I create the following images: - myimage-production - myimage-rnd - myimage-retail The production one has production assisted tools for flashing peripheral HW, testing vital HW components, writing some serial numbers, etc. The rnd one has more packages than the retail

Re: [yocto] native recipe question

2018-05-22 Thread Damien LEFEVRE
, May 22, 2018 at 12:19 PM, Burton, Ross <ross.bur...@intel.com> wrote: > On 22 May 2018 at 08:43, Damien LEFEVRE <lefevre...@gmail.com> wrote: > > I'm having to build a package (arrayfire) for Tegra. This package > requires > > to first build a x86_64 utility (bin2cp

[yocto] native recipe question

2018-05-22 Thread Damien LEFEVRE
Hi, I'm having to build a package (arrayfire) for Tegra. This package requires to first build a x86_64 utility (bin2cpp) which is then used for building the tegra arrayfire. Do I understand correctly that I should create: - arrayfire-native.bb: for compiling the x86_64 utility. If so how do

Re: [yocto] LIC_FILES_CHKSUM: spaces in file names

2018-05-16 Thread Damien LEFEVRE
Thanks Mark it works. -Damien On Tue, May 15, 2018, 17:29 Mark Hatle <mark.ha...@windriver.com> wrote: > On 5/15/18 7:25 AM, Damien LEFEVRE wrote: > > Hi, > > > > I have a base recipe generated with devtool. > > > > The package I build has several license

[yocto] LIC_FILES_CHKSUM: spaces in file names

2018-05-15 Thread Damien LEFEVRE
Hi, I have a base recipe generated with devtool. The package I build has several license files which contain space characters in the file names. LIC_FILES_CHKSUM = "file://COPYRIGHT.md;md5=b229ca0c79785e9e86311477e7bdd9ea \ file://LICENSES/MIT

[yocto] Splash screen using systemd

2018-05-02 Thread Damien LEFEVRE
Hi, I'm working on an NVidia Jetson board with a TX2 module and I would like to have splash screen with a progress bar when booting and shutting down. The board boots to an application embedded style. There's no desktop and no user login. The configuration I use makes use of systemd. I gave a

Re: [yocto] LINUX_VERSION issue in recipe

2018-04-28 Thread Damien LEFEVRE
5:34 PM, Andre McCurdy wrote: > >> On Fri, Apr 27, 2018 at 3:44 AM, Damien LEFEVRE <lefevre...@gmail.com> >> wrote: >> >>> Hi, >>> >>> This must be a stupid basic quest

[yocto] LINUX_VERSION issue in recipe

2018-04-27 Thread Damien LEFEVRE
Hi, This must be a stupid basic question. I have the following recipe append: keymaps_1.0.bbappend - FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" SRC_URI_append = " file://keymaps.service \

[yocto] How to install kernel objects in /lib

2018-04-20 Thread Damien LEFEVRE
Hi, I made a recipe to build and install a kernel object. See SUMMARY = "Kernel module for EPIX grabber" LICENSE = "CLOSED" inherit module SRC_URI = "file://Makefile \ file://pixcilnx_aarch64_4.4.a \ file://pixcipub.c \ file://pixcipub.h \