Commit Graph

29 Commits

Author SHA1 Message Date
Javier Viguera 9542bd6b13 build.sh: copy SDK only if built
Fix jenkins error:
cp: cannot stat `tmp/deploy/sdk': No such file or directory

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-10-07 10:34:14 +02:00
Javier Viguera c4cc0c4329 build.sh: adapt script to build DEY toolchains
https://jira.digi.com/browse/DEL-1003

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-10-02 19:28:48 +02:00
Javier Viguera c9b82ed477 build.sh: adapt script after 'dey-gui' distro removal
https://jira.digi.com/browse/DEL-858

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-09-25 16:23:40 +02:00
Javier Viguera 5a450ae240 build.sh: do not rm-work linux, u-boot and dey images
These are key packages that we may need to debug in the buildserver, so
do not remove the object files.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-09-08 11:30:13 +02:00
Javier Viguera 98c8a75a2f build.sh: adapt script to new ccard default kernel 3.10
Adapt the jenkins build script to build for ccardimx28js by default
linux 3.10 and u-boot 2013.01 and as alternative configuration linux
2.6.35.14 and u-boot 2009.08

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-08-01 19:04:06 +02:00
Javier Viguera c91898e4b1 build.sh: purge sstate of all packagegroups between builds
Packagegroups define sets of packages to be installed in the rootfs
*depending* on the hardware variant (~MACHINE_FEATURES). For example
installing or not the bluetooth firmware depending on machine variant
having bluetooth.

It may happen that we build sequentially machines with different
features using the same sstate and thus it may happen we end with a
rootfs lacking bluetooth firmware for a bluetooth variant.

So add all packagegroups to the list of packages to purge state-cache
between platform builds.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-06-16 11:31:55 +02:00
Alex Gonzalez 7ca94dba05 sdk: Add ccimx6sbc support.
Copied from the ccimx6adpt.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2014-05-09 17:34:10 +02:00
Javier Viguera 5569e543d0 build.sh: make sure the clean command returns success
This is needed so jenkins jobs not using 'meta-digi-dey' (the layer
containing the cleaned recipe) can complete. Otherwise they fail with:

ERROR: Nothing PROVIDES 'packagegroup-dey-examples'

(for example using just the BSP layer 'meta-digi-arm' with standard
image recipes, e.g. core-image-minimal)

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-04-25 12:11:29 +02:00
Javier Viguera aa6daab533 build.sh: purge the state-cache of problematic packages
In the buildserver we share the state-cache for all the different
platforms we build in a jenkins job. This may cause problems with
some packages that have different runtime dependencies depending on
the platform or variant.

Purge then the state-cache of those problematic packages between
platform builds.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-04-03 10:40:21 +02:00
Javier Viguera 5651ce96f1 build.sh: support ccimx6adpt
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2014-02-28 11:48:43 +01:00
Javier Viguera b89f5f6911 meta-digi: remove wr21 platform
This needs to be supported in 'meta-digi-dlr' layer.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-11-15 11:00:47 +01:00
Javier Viguera 1cb6073749 meta-digi: remove cpx2 platform
This needs to be supported in the DBL layer.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-11-08 14:21:09 +01:00
Javier Viguera 43918960f0 build.sh: copy individual packages only for release builds
For daily builds just copy the firmware images to avoid running out of
space in the buildserver.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-11-05 11:18:54 +01:00
Javier Viguera 5f442b5caf build.sh: update manifest URL after stash migration
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-10-08 14:16:14 +02:00
Javier Viguera a04ea9af59 build.sh: add support to build kernel version 3.x
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-10-08 14:15:43 +02:00
Javier Viguera 10af7f7107 build.sh: time 'repo sync'
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-07-16 10:25:53 +02:00
Javier Viguera 211daed75d build.sh: remove 'meta-digi-dey' layer if not using DEY based distros
This allows to build 'core-image-minimal' or 'core-image-sato' standard
images using only the BSP layer meta-digi-arm.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-07-02 13:35:37 +02:00
Alex Gonzalez dc9d56dc47 build.sh: Add an RM_WORK option.
This will allow to remove the packages working directories to save disk
space.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-06-19 17:54:59 +02:00
Alex Gonzalez e04b4329ab build.sh: Allow to build for more than one target.
https://jira.digi.com/browse/DEL-504

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-06-18 16:51:22 +02:00
Alex Gonzalez 3984323bd3 build.sh: Fix error when building targets without images.
Some targets, like meta-toolchain, will not create a tmp/deploy/images
folder.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-06-18 16:50:40 +02:00
Alex Gonzalez e500e6b66e builds.sh: Update manifest URL.
The manifest git repository has changed location.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-06-13 09:55:55 +02:00
Alex Gonzalez 8988542df3 meta-digi: Rename from DEL to DEY.
The final product will be called "Digi Embedded for Yocto" or DEY for
short.

This commit renames all relevant files.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-06-12 13:18:37 +02:00
Alex Gonzalez 48d9b9079a build.sh: Add a platform specific path to TEMPLATECONF
If TEMPLATECONF is set in the environment, we will add the platform to
the path so that it's possible to use specific template configurations
for different platforms in the build server.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-06-12 10:59:50 +02: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 a6a3a9a220 build.sh: Parametrize the distribution to build.
This allows to build for all supported distributions:

del (del-image-minimal)
del-gui (del-image-graphical
poky (core-image-minimal etc.)
dbl (dbl-image-base)

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-05-23 16:21:10 +02:00
Alex Gonzalez db55ff5a32 build.sh: Changes from review.
http://fisheye.digi.com:8060/cru/CR-DEL-28#CFR-517

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-05-22 17:40:58 +02:00
Alex Gonzalez 7bb61a45b9 build.sh: Parametrize the single target image name
This will allow to compile del-image-graphical or any of the other standard
Yocto image targets as meta-toolchain, meta-toolchain-sdk, adt-installer,
or meta-ide-support.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-05-22 17:33:21 +02:00
Francis Sreeves 6db91dc1a3 meta-digi: add WR21 machine
https://jira.digi.com/browse/DEL-455

Signed-off-by: Francis Sreeves <francis.sreeves@digi.com>
2013-05-22 10:30:01 +01:00
Javier Viguera 077894da5b meta-digi: add jenkins build script
https://jira.digi.com/browse/DEL-460

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-05-15 16:30:24 +02:00