Commit Graph

10 Commits

Author SHA1 Message Date
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