[yocto] yocto sumo - upgrading gcc from 7.3 to 8.3 fails - C compiler cannot create executables

2019-05-06 Thread Eric Grunt
Hi, I tried to upgrade gcc from 7.3 to 8.3 by copying gcc directory from https://github.com/openembedded/openembedded-core.git (openembedded-core/meta/recipes-devtools/gcc) to meta-custom-layer/recipes-gcc, replacing requires to recipes-devtools/gcc/*inc in all bb files in there, eg require

Re: [yocto] Dependencies on other file system types for custom file system type

2019-04-15 Thread Eric Grunt
> squashfs-xz (by poky) works, > squashfs_xz_ubi (custom type) also works To clarify, squashfs_xz_ubi was named squashfs-xz-ubi before, I renamed it in order to try to avoid using "-". -- ___ yocto mailing list yocto@yoctoproject.org

Re: [yocto] Dependencies on other file system types for custom file system type

2019-04-15 Thread Eric Grunt
> I think there is some translation code somewhere which probably > confuses things more as some bits have - and some have _. Does the > squashfs_xz image type actually work? There is no squashfs_xz image type. squashfs-xz (by poky) works, squashfs_xz_ubi (custom type) also works, but needs to

Re: [yocto] Dependencies on other file system types for custom file system type

2019-04-15 Thread Eric Grunt
> Notice how the function names for squashfs are: > > do_image_squashfs_xz > > not > > do_image_squashfs-xz > > This is because shell functions/variables can't have "-" in their name. > You need to change to us IMAGE_CMD_squashfs_xz_ubi. I tried to basically change all "-" in the fs and variable

Re: [yocto] Dependencies on other file system types for custom file system type

2019-04-12 Thread Eric Grunt
> The dependency code is only triggered if the image type is in > IMAGE_FSTYPES. Did you add it there? Yes, in the distro conf file. Guess, otherwise it wouldn't be built at all (since it isn't dependency of another fs) -- ___ yocto mailing list

Re: [yocto] Dependencies on other file system types for custom file system type

2019-04-12 Thread Eric Grunt
better formatted class file: inherit image_types IMAGE_TYPEDEP_squashfs-xz-ubi = "squashfs-xz" do_image_squashfs-xz-ubi[depends] += "mtd-utils-native:do_populate_sysroot" do_image_squashfs-xz-ubi[depends] += "squashfs-tools-native:do_populate_sysroot" IMAGE_CMD_squashfs-xz-ubi () {

Re: [yocto] Dependencies on other file system types for custom file system type

2019-04-12 Thread Eric Grunt
class file: inherit image_types IMAGE_TYPEDEP_squashfs-xz-ubi = "squashfs-xz" do_image_squashfs-xz-ubi[depends] += "mtd-utils-native:do_populate_sysroot" do_image_squashfs-xz-ubi[depends] += "squashfs-tools-native:do_populate_sysroot" IMAGE_CMD_squashfs-xz-ubi () { squashfsubi_mkfs

[yocto] Dependencies on other file system types for custom file system type

2019-04-12 Thread Eric Grunt
Dependencies on other file system types for custom file system type I'd like to add a custom fs type - a squashfs-xz on an ubi (instead of ubifs). For this purpose I created a new class, inherited image_types and added a dependency on squashfs-xz and also on squashfs-tools-native and