summaryrefslogtreecommitdiff
path: root/buildconf
AgeCommit message (Collapse)Author
2024-01-29bblayers.conf: add meta-tpm layerJoao Paulo Goncalves
Add meta-tpm layer to bblayers for the TPM software stack. Related-to: ELB-5500 Signed-off-by: Joao Paulo Goncalves <joao.goncalves@toradex.com> (cherry picked from commit 946425761f7aa044dd3721c0ef604490814be1aa)
2023-12-11buildconf: use downstream distro also for verdin-am62-k3r5Max Krummenacher
Assert that for both machines, verdin-am62 and verdin-am62-k3r5, the downstream distro is set. With adding the mainlinish U-Boot to the machine configuration that now matters if use-head-next is set. Without the change a bitbake build failure is seen when building the SPL for verdin-am62-k3r5: | Can't find default configuration "arch/../configs/verdin-am62_r5_defconfig"! Reported-by: Emanuele Ghidoli <emanuele.ghidoli@toradex.com> Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 8363ba48d2c3207a97974aec662b373692310b08)
2023-12-11local.conf skeleton: improve handling of deploy directory locationMax Krummenacher
Commit 97905d6 ("local.conf skeleton: fix build with common deploy directory") fixed build failures due to multiconfig builds and changes in what fails may be deployed from multiple recipes. Integrating that in to CI/CD proofed difficult as there we have to override DEPLOY_DIR to preserve artifacts into different location. Improve the fix to have it easier to integrate it into CI/CD. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2023-11-29local.conf skeleton: fix build with common deploy directoryMax Krummenacher
openembedded-core tightend the rules on what files are allowed to be deployed into the deploy directory from two (or more) recipes. As a result builds now fail for Verdin AM62, as both the default and the k3r5 config deploy license files into the same directory with the same name. This has been seen on with ‘native’ recipes. | ERROR: mc:k3r5:python3-rfc3987-native-1.3.8-r0 do_populate_lic_setscene: Recipe python3-rfc3987-native is trying to install files into a shared area when those files already exist. The files and the manifests listing them are: | .../tmp-glibc/deploy/licenses/x86_64/python3-rfc3987-native/PKG-INFO | (not matched to any task) Related-to: ELB-5485 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2023-09-30deploy dir: ti: keep it at topdir/deployMax Krummenacher
The meta-ti commit: ("4dcc70a8 conf: switch k3r5 multiconfig to baremetal") places the deploy directory outside of the tmp directory, something we already do. Keep our "${TOPDIR}/deploy" rather than moving to "${TOPDIR}/deploy-ti". Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 67d25b69c15c8b14ef54c6be0ea27039b69a06b7)
2023-06-28buildconf: use downstream for verdin am62Emanuele Ghidoli
local.conf: Add verdin-am62 MACHINE and set its default DISTRO to tdx-wayland (downstream). Related-to: ELB-5064 Signed-off-by: Emanuele Ghidoli <emanuele.ghidoli@toradex.com> (cherry picked from commit 50942e30e5d81e3894fd4db3d8b79e2cb53d2a9b)
2023-03-03bblayers.conf: enable the layers needed for ti based socMax Krummenacher
Related-to: ELB-5012 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 3d14036d65d944186dfc05c284bf9835ac881a23)
2023-03-03buildconf: prepare for verdin am62 additionMax Krummenacher
bblayers.conf: Split the NXP specific layers into a variable and add the layers used to build for TI SoCs into its own variable. Note the the layers required to build for TI SoCs are not yet added to the list of active layers. local.conf: Rework the setting of DISTRO, so that the downstream distro is only applied for NXP i.MX8 based SoC. Related-to: ELB-4978 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit b72f11c9adf0b35e4016e7b9e58fc8c86d37f0e8)
2022-12-07local.conf: Select a sane default as DISTROMax Krummenacher
Toradex Modules based on i.MX 6/6ULL/7 are only supported with the tdx-xwayland-upstream DISTRO, select it as default in local.conf. Related-to: ELB-4716 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 382211f6e51a72996831949002c8c418f0f55636) plus squashed (cherry picked from commit 373359bb690ec623b1a167f30c10a9d398c9704a)
2022-10-14local.conf: comment on upstream vs. downstream distroMax Krummenacher
Add comments to point out which DISTRO is compatible/recommended for which Toradex module. Related-to: ELB-4544 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 4274075ff69800e1cede8f593ea89a081c1c263c)
2022-09-09local.conf: refer to kernel-fitimage rather than toradex-fitimageMing Liu
toradex-fitimage.bbclass has been dropped from meta-toradex-bsp-common layer, let's drop its reference here, use kernel-fitimage instead. Related-to: ELB-4700 Signed-off-by: Ming Liu <ming.liu@toradex.com> (cherry picked from commit 08dc5aa49fedffb76f4cdcb80d97cdc2b483418f)
2022-08-03bblayers.conf: drop meta-initramfsMing Liu
We dont need any recipes from meta-initramfs, drop it from bblayers.conf. Signed-off-by: Ming Liu <ming.liu@toradex.com>
2022-08-03meta: drop Tegra machine/layer referencesMing Liu
We've decided not to support Tegra machines since BSP6, let's drop their references. Related-to: ELB-4471 Signed-off-by: Ming Liu <ming.liu@toradex.com>
2022-02-28local.conf: sync with meta-poky sampleMax Krummenacher
This follows variable renames and thus changes the layer's compatibility to only kirkstone. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2022-02-06local.conf: sync with meta-poky sampleMax Krummenacher
This among other thing drops including image-prelink.bbclass which is now dropped in openembedded-core. All other changes only affect comments. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-11-15buildconf/local.conf: drop apalis-imx8x machine supportDenys Drozdov
apalis-imx8x is no longer supported Signed-off-by: Denys Drozdov <denys.drozdov@toradex.com> (cherry picked from commit 3f6705ce88f7a8dd1f026334743d6b6bf8747965)
2021-10-11buildconf/local.conf: don't set any machine by defaultMax Krummenacher
Don't set a default machine so that a user has to explicitly choose what machine one builds for. Add a warning to not set MACHINE after the include ${MACHINE}.inc line. Related-to: ELB-4179 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit c9c96799dbb030262ac03f44067ee61ada93d93d)
2021-10-11local.conf: add verdin-imx8mp MACHINEMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 9f52ce166e8e3c10fa0935f55b3f403085f64fa2)
2021-10-11local.conf: add colibri-imx6ull-emmc MACHINEOleksii Bidnichenko
Related-to: ELB-4065 Signed-off-by: Oleksii Bidnichenko <oleksii.bidnichenko@toradex.com> (cherry picked from commit e1ede4ecd59e23f29f19dc9729f0a3b89f1f69af)
2021-09-09buildconf/local.conf: set DISTRO as a default valueTomas Novotny
The usage of the default value operator makes it easier to overwrite the DISTRO variable in other configuration files (e.g., for continuous integration). Signed-off-by: Tomas Novotny <tomas@novotny.cz>
2021-08-16buildconf/local.conf: increase local.conf version identifierMax Krummenacher
With the override syntax change oe bumped the needed version. See commit 5452f1ba33 ("local.conf.sample: Bump version so users update their config") Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-08-14layer: convert to new override syntaxMax Krummenacher
This is the result of automated script (0.9.3) conversion: ../openembedded-core/scripts/contrib/convert-overrides.py . +# meta-toradex-distro +vars = vars + ["preempt-rt","tdx","upstream"] +# meta-toradex-* machines +vars = vars + ["apalis-","colibri-","verdin-","tegra124"] +# meta-freescale +vars = vars + ["imx","mx6","mx7","mx8","use-mainline-bsp","use-nxp-bsp"] converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-05-24local.conf: stop including image-mklibs.bbclassMax Krummenacher
Openembedded core no longer provides the class. Remove it. See commit 908df863b4 ("mklibs: remove recipes and class") Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-05-24local.conf: add toradex-sanity to INHERITMing Liu
To involve in basic sanity check for Toradex builds. Related-to: ELB-3944 Signed-off-by: Ming Liu <ming.liu@toradex.com> (cherry picked from commit a12eef0d00f2dce08e65ac3b70075a21abc5c5dc)
2021-03-23buildconf:local.conf: support fitimageMing Liu
It's by default disabled, the end users could choose to enable them by uncommenting two lines. Related-to: TOR-1700 Signed-off-by: Ming Liu <ming.liu@toradex.com> (cherry picked from commit ff7025a26e13326eb12444fb853de655629378e0)
2020-09-16local.conf: use xwayland as the default in the sample local.confMax Krummenacher
Related-to: ELB-2303 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 1e0d10b2851ac455618ab7e4c7db86c9ad1227a0)
2020-07-31buildconf: export: change targets to new image namesPhilippe Schenker
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2020-07-23bblayers.conf: add meta-qt5 layerPhilippe Schenker
Related-to: ELB-2838 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2020-06-18local.conf: correct confusing commentMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 276c966a04bbe4d19866becb3b8fc147d1079049)
2020-06-01apalis-tk1-mainline: drop machineMax Krummenacher
The downstream kernel gets to old to be used with the new zeus userspace components. Reuse the apalis-tk1 machine name to build a mainline kernel and drop the apalis-tk1-mainline machine. Related-to: ELB-2733 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 7f8cd66bb84f32c3b7dd4eea95ba9482786770c0)
2020-06-01buildconf: export: Add use-head-next also on repo 2.5Philippe Schenker
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com> (cherry picked from commit adb62ac9dfeed9827e0a706a5c2c2a64ebb95b06)
2020-06-01buildconf: epxort: set use-head-next on integration branch by defaultPhilippe Schenker
This addition checks if one is using the integration branch with repo if that is true it will automatically append the correct use-head-next setting. If this is for whatever reason not set it will tell the user to not forget setting use-head-next on integration branch. Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com> (cherry picked from commit 045a6a34c51a436e864267f60501702ad6fdbcea)
2020-06-01buildconf: export: add support for zshPhilippe Schenker
zsh has which built-in. Therefore calling which echo is resulting in something unexpected: $ which echo echo: shell built-in command use $(env which echo), that is using a which command from the PATH variable. Also use $() instead of the deprecated ``. Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com> (cherry picked from commit a4fa7bb1fb198fac82db91576994c98fc1014c71)
2020-02-13local.conf: sync with oe-core sampleMax Krummenacher
The 'Parallelism Options' are now set in bitbake.conf to a sensible default. Some options are now set with ?= to allow for easier overrides. A lot of trailing whitspace has been removed. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-01-07bblayers.conf: drop meta-qt5 and meta-qt5-extraMax Krummenacher
The dropped lxqt-image and qt5-x11-image were the only users of meta-qt5 and meta-qt5-extra. Remove those layers from our sample bblayers.conf. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-01-07bblayers.conf: drop meta-browser and meta-lxdeMax Krummenacher
The dropped lxde-image was the only user of meta-browser and meta-lxde. Remove those layers from our sample bblayer.conf. This also allows to drop meta-clang and meta-rust which are required only by meta-browser. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-12-07local.conf: add verdin-imx8mmMax Krummenacher
Add the new machine now available from meta-toradex-nxp. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-11-04bblayers.conf: add meta-clangMax Krummenacher
meta-browser now depends on meta-clang. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-09-30local.conf: add apalis-imx8xMing Liu
Since apalis-imx8x has been supported in meta-toradex-nxp layer, add it into local.conf. Signed-off-by: Ming Liu <ming.liu@toradex.com>
2019-09-09local.conf: add apalis-imx8/colibri-imx8x machinesMing Liu
Signed-off-by: Ming Liu <ming.liu@toradex.com>
2019-05-08bblayers.conf: drop parsing the qt4 layerMax Krummenacher
Qt 4 was first released in 2005 and has been unsupported since 2015. Drop it from what we regularly install. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-04-25local.conf: build i.mx8 machines with tdx-xwayland distroMax Krummenacher
NXP dropped X11 support for i.MX8 and i.MX8X. Thus build our images with the tdx-xwayland distro configuration. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-04-23colibri-vf: drop machineMax Krummenacher
We decided we won't do a BSP 3.0 for Vybrid. For new designs we recommend ULL now. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-04-23local.conf: drop image_fstypes settingMax Krummenacher
There is a resonable default in bitbake.conf. For all our machines it is also set explicitely so there is no need to carry this in local.conf. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-03-07local.conf: change deploy/download/sstate directoriesMax Krummenacher
Move the DEPLOY_DIR directory to be inside the build directory. Using the same layer metadata to create two independent build directories (e.g. for two builds of the same machine but with different kernels) now has the deploy directory name no longer clash. Move DL_DIR and SSTATE_DIR to the root of the oe installation. This then automatically shares downloads and sstate between different build directories. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-03-06buildconf: moved here from meta-toradex-demoMax Krummenacher
Also adapted to use the now available tdx-x11 distro. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>