Commit Graph

42 Commits

Author SHA1 Message Date
Gonzalo Ruiz 7888fe3b22 mkproject: ignore meta-digi-arm dir when other layer is selected
Default value of 'MKP_CONFIGPATH' points to a config path in the
meta-digi/meta-digi-arm layer.

When mkproject.sh is called with the '-m' argument, another layer is
provided to build the project from. In this layer the conf/templates
new structure must be respected, but it is likely it does not contain a
meta-digi-arm directory on top.

Keep the 'meta-digi-arm' directory in the config path by default, but
remove it when a different layer is provided through an argument.

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2025-10-24 10:34:57 +02:00
Arturo Buzarra 84636fa715 mkproject: add ccimx6sbc and ccimx6qpsbc as supported platforms
https://onedigi.atlassian.net/browse/DEL-9758

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-09-03 09:03:19 +02:00
Arturo Buzarra 185651e6f0 mkproject: re-insert ccmp1 platforms into build system
The CCMP1 platforms were integrated as part of DEY-5.0, and this commit
restores their support in the mkproject build system.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-05-05 15:51:22 +02:00
Isaac Hermida 70942f21a0 mkproject: add build support for ccimx8m platforms
Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2025-03-19 10:26:06 +01:00
Javier Viguera d9668c0ba4 mkproject: add not supported platforms
These platforms are not officially supported in the first DEY-5.0 release.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-02-18 12:11:34 +01:00
Gabriel Valcazar b9f46a9100 sdk: move templates to conf/templates in preparation for Yocto 5.0 (Scarthgap)
Starting in poky commit 8791c77a4098d62080ecad09d94718eccd7f1a47, there is
now a check to make sure TEMPLATECONF follows specific rules. If we don't abide
by them, an error will occur when creating a project with our mkproject.sh
script. Move the templates to the place they're supposed to be in and reflect
the change in mkproject.sh.

https://onedigi.atlassian.net/browse/DEL-9011

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2024-10-17 11:28:26 +02:00
Arturo Buzarra 9d5ce6c707 meta-digi-arm: add support for ConnectCore MP25 DVK platform
https://onedigi.atlassian.net/browse/DEL-8995

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2024-07-22 17:12:33 +02:00
Gabriel Valcazar 82ba959324 mkproject.sh: remove i.MX8X platforms from blacklist
Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2023-06-29 16:24:29 +02:00
Gabriel Valcazar 1df42d39b9 sdk: mkproject.sh: remove ccimx6sbc and ccimx6qpsbc from blacklist
This allows to create projects for these platforms

https://onedigi.atlassian.net/browse/DEL-8540

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2023-06-06 10:26:41 +02:00
Javier Viguera 9141451583 meta-digi: cosmetic, delete machine variants dead code
We removed machine variants support years ago.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-05-05 14:39:34 +02:00
Javier Viguera 5b92d3fcc3 mkproject: add ccimx8mm-dvk and ccimx8mn-dvk as supported platforms
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-01-03 16:59:56 +01:00
Javier Viguera db5067371e meta-digi: get rid of ccimx8mp-dvk
Platform not supported.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-11-30 18:06:57 +01:00
Arturo Buzarra 0ed6c4d66b meta-digi-arm: add support for ConnectCore MP13 DVK platform
https://onedigi.atlassian.net/browse/DEL-8078

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2022-09-15 16:14:30 +02:00
Javier Viguera 1c0e62ab92 mkproject: add not supported platforms
These platforms are not officially supported in the first DEY-4.0
release.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-08-10 13:43:48 +02:00
Javier Viguera 29e2f56cc5 meta-digi: remove NXP's EULA v35 configuration
This has been recently added to meta-freescale, so it's duplicated here.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-08-09 18:11:39 +02:00
Javier Viguera 83e845c10f meta-digi: use last version of NXP's EULA
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-07-12 18:03:33 +02:00
Javier Viguera bbe014e058 mkproject: fix STM EULA path and enabling
Building some packages from the ccmp15 requires the acceptance of the
STM EULA. Add the acceptance lines to the config template and fix the
path to the EULA en the mkproject script.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-07-06 13:29:03 +02:00
Mike Engel fac1704d6e mkproject: add SOC vendor variable for license discription
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-05-04 14:01:05 +02:00
Javier Viguera 6b78236f42 ccardimx28js removal: delete machine and configuration files
https://jira.digi.com/browse/DEL-4771

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-08-04 17:38:30 +02:00
Javier Viguera 0966b3d04e mkproject.sh: add meta-digi's scripts directory to the PATH
This will allow to create user helper scripts that are available (in the
PATH) when building DEY projects.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-07-05 13:43:28 +02:00
Javier Viguera 846f07b7ac meta-digi: change Freescale references to NXP
Mostly in config templates and readme files.

https://jira.digi.com/browse/DEL-3263

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-03-22 19:58:32 +01:00
Javier Viguera dcdab46080 morty migration: meta-digi: update FSL layer name
meta-fsl-arm is no longer used for Morty release. Now the community
support is implemented in 'meta-freescale' layer.

https://jira.digi.com/browse/DEL-3451

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-02-24 20:06:29 +01:00
Alex Gonzalez d0f727afeb sdk: mkproject: Generalize to use from custom layer.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2017-01-31 17:47:32 +01:00
Alex Gonzalez 358961f2b1 sdk: mkproject: Remove variant support from usage
This feature is deprecated and will be permanently removed in future.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2017-01-31 17:47:32 +01:00
Javier Viguera adf044ec5e mkproject.sh: blacklist ccardimx28js
'ccardimx28js' is not supported officially in this release.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-07-28 13:17:53 +02:00
Javier Viguera 745c3afdc0 mkproject.sh: add notice to EULA acceptance process
The notice summarizes the different license agreements the user needs to
accept to use the software.

https://jira.digi.com/browse/DEL-1734

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
(cherry picked from commit 92740c610e35aa4f11ab6e6536cddb832331d896)
2015-10-05 12:13:39 +02:00
Javier Viguera ad0d0b7bfc meta-digi: cosmetic, no functional change
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
(cherry picked from commit b52786156a43eb7b3c51a114797be5bf2896f313)
2015-09-29 11:53:10 +02:00
Javier Viguera f20b82c7cd meta-digi: remove automatic acceptance of FSL EULA
https://jira.digi.com/browse/DEL-1734

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
(cherry picked from commit 35a78b13f72963205dc1ae1e05ee851ca6cc4f28)
2015-09-29 11:52:10 +02:00
Javier Viguera a014ca4c09 meta-digi: improve mkproject script
Some minor enhancements to mkproject script:

* Add 'conf-notes' files with DEY specific information. This is shown
  when you create the project or when you reload the environment in an
  already created project.

* Create a 'dey-setup-environment' script in the project's folder that
  allows to reload the environment in a new terminal.

* Remove the PATH variable tweaking. This was needed in older versions
  of Yocto, where the PATH kept growing each time you reloaded the
  environment, but it has been fixed in poky, so there is no need to do
  the same in our mkproject script.

https://jira.digi.com/browse/DEL-1150

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-09-26 16:29:22 +02:00
Javier Viguera 616940ec5d mkproject.sh: prepare framework to blacklist platforms
This allows to blacklist platforms not officially supported in a DEY
release. It only works at help-level, you can actually create projects
for any platform whose config files exist, but the help of the mkproject
command will only show the officially supported platforms.

At the moment the BLACKLIST variable is not filled. This will be done in
the release branch.

https://jira.digi.com/browse/DEL-1073

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-06-17 10:49:44 +02:00
Javier Viguera b940f25eee meta-digi: update config templates for yocto 1.6
Codename not known at the moment

https://jira.digi.com/browse/DEL-996

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-03-14 12:50:31 +01:00
Javier Viguera a0c2099ec4 mkproject.sh: fix sed command to set concurrency parameters
With the update to Dora, the BB_NUMBER_THREADS and PARALLEL_MAKE entries
in the template config file changed slightly (added a '?'), but enough
so our mkproject script failed to match and configure them properly at
project creation time.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-02-27 18:59:05 +01:00
Javier Viguera 10c7594119 meta-digi: use global variable to use internal git repos
https://jira.digi.com/browse/DEL-472

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-06-04 18:08:02 +02:00
Alex Gonzalez 68fd85851f mkproject.sh: Do not override TEMPLATECONF if already set.
This will allow to pass a TEMPLATECONF path with a predefined
local.conf.template and bblayers.conf.template that will allow
to customize those files.

https://jira.digi.com/browse/DEL-468

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-05-23 10:39:04 +02:00
Javier Viguera 7b7fcbee60 mkproject: allow to set an empty string as variant
This allows to set MACHINE_VARIANT to the empty string:

MACHINE_VARIANT = ""

in the project's local.conf by running something like:

. /path/to/mkproject.sh -v "" -p <platform>

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-05-13 19:45:41 +02:00
Javier Viguera 617bc24ce6 mkproject: prefix all vars to minimize name collision
This script is *sourced*, so we need to make sure that the variables
used do not collide with other variables that may be already in the
environment.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-05-10 16:11:57 +02:00
Javier Viguera 69afa07596 mkproject: add support for platform variants
This commit adds basic support for platform variants. The script does
not make any sanity check on the variant name. It's user's
responsibility to use the correct variant for the platform.

https://jira.digi.com/browse/DEL-435

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-05-09 13:25:07 +02:00
Javier Viguera 80f7892306 mkproject: rewrite usage function using here-document
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-05-09 13:25:07 +02:00
Javier Viguera a3ff714c0d mkproject: implement auto-update
The script in the root directory needs to be in sync with the 'master'
script in the 'meta-digi' layer.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-05-08 18:57:10 +02:00
Javier Viguera 3f9c3cc5e5 mkproject: sanitize PATH environment variable
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-05-07 19:50:32 +02:00
Javier Viguera 700dbe38d6 mkproject: do not re-configure the project if already created
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-05-07 18:31:47 +02:00
Javier Viguera 119249b813 meta-digi: add project maker and configuration templates
https://jira.digi.com/browse/DEL-213

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-04-23 13:33:18 +02:00