summaryrefslogtreecommitdiffstats
path: root/ci/build-all-defconfigs.sh
Commit message (Collapse)AuthorAgeFilesLines
* ci: Get kernel versionJoel Stanley2018-11-011-1/+11
| | | | | | | | | | | | When building with the SDK the build scripts have to specify the kernel version (and GCC). This was hardcoded, which is fine as the CI scripts are checked into the repo where the changes are made. Hoover it's one more thing to remember when bumping the kernel version. This grabs it from the BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE in the given config file, which should always be set. Signed-off-by: Joel Stanley <joel@jms.id.au>
* ci: Build more targets, cache SDKs, eatmydataStewart Smith2018-08-301-20/+35
| | | | | | | | | | | | | | | | Build graph-depends and legal-info along with firmware images Also, use proper O=/foo for telling buildroot where to build images. Also, use the magic buildroot config script rather than hacky hacks. Support building and caching an SDK, meaning you can build simple defconfigs in dozens of minutes, and greatly reduce the total time for building all configurations. Eatmydata will save us a *lot* of fsync() activity when you don't have infinite IOPS. Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
* ci: Add release mode to build legal infoSamuel Mendoza-Jonas2018-08-281-7/+39
| | | | | | | | | | | Add an option to build the Buildroot legal-info target after building a platform. This is mainly useful as part of building platforms for inclusion in images for distribution, but is also good for CI systems doing a sanity check on what is being built. This also updates build-all-defconfigs.sh to use getopt to handle its inputs more sanely. Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
* ci: Clear output directory at start of buildSamuel Mendoza-Jonas2018-08-281-1/+1
| | | | | | | | Clear the output directory before the start of the build instead of at the end. This leaves the output directory intact when an error occurs or if building a single platform. Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
* ci: Set BR2_DL_DIR & BR2_CCACHE_DIRSamuel Mendoza-Jonas2018-08-061-0/+5
| | | | Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
* Enhancements for op-build ci.Pridhiviraj Paidipeddi2016-08-151-2/+15
| | | | | | | | | | | | | | | | | | | | | This patch adds support for running ci for individual platforms, as well as it can generate firmware images for all the platforms. Added command line options -p and -a. -p List of comma separated platform names to build images for those particular platforms. -a Build firmware images for all the platform defconfig's. For running ci to individual platforms: DOCKER_PREFIX=sudo ./ci/build.sh -p palmetto DOCKER_PREFIX=sudo ./ci/build.sh -p garrison,palmetto For running ci to all the platforms: DOCKER_PREFIX=sudo ./ci/build.sh -a DOCKER_PREFIX=sudo ./ci/build.sh And also it contains missing packages required for fedora23 Dockerfile. Signed-off-by: Pridhiviraj Paidipeddi <ppaidipe@linux.vnet.ibm.com>
* Add CI building scripts using DockerStewart Smith2016-03-071-0/+38
This is a first stab at a set of scripts to build each defconfig on each supported build platform inside Docker containers. The idea is that on x86-64 and ppc64le hosts, we can easily test that everything still at least builds on our supported build platforms. Due to docker image availability and Docker's complete lack of acknowledging that there may exist architectures other than x86-64, we get to jump through some rather stupid hoops to work out what to build where. Tested on Fedora 23 x86-64 and Ubuntu xenial snapshot with docker daily snapshot on ppc64le. Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
OpenPOWER on IntegriCloud