summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-09-19functions.sh: add meta-96boards layerVishal Bhoj
Required to build edk2 for HiKey. Also, set GRUB preferred version to use our pre-built GRUB to workaround its FTBFS with ILP32 toolchain. Change-Id: Ib43ac68561c04678a3326ba8aaaaae111d5c0dda Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
2017-09-07FIXME: Use fixed version of oe-core for ilp32 buildVishal Bhoj
Build fails on oe-core master branch. Lets change to the version that works for us for now until the issues are fixed on master branch Change-Id: I0d1940a3a038a5ffabd38f98a560c8ba57727e79 Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
2017-09-05functions.sh: set kernel and glibc version for hikey-ilp32 machineVishal Bhoj
Change-Id: I220af49fec9d69d86b281056325c1eb39f1d15f3 Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
2017-08-31functions.sh: add sane defaults for ilp32Fathi Boudra
In order to avoid to fiddle with too much with local.conf to build an ILP32 image, set some defaults in site.conf. Change-Id: I4845ccb379c1af4cff3889ff6ab3a5d71ec2736f Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
2017-02-02init-and-build: switch to gcc-linaro 6.2 by defaultKoen Kooi
This matches the OE RBP setup. Change-Id: I0fcf0ac41a6def938691f5a8d0ddf411eb9509c0 Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2017-01-23functions.sh: pin flex to 2.6.0 for acpicaKoen Kooi
Change-Id: I12a0fdb088e28843a185d4888a0fd581469df8d2 Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2016-11-15functions.sh: only lock libc-headers for ilp32Koen Kooi
Bits in OE-core are broken for older versions (e.g. ppp), so contain breakage to the platform that needs the old headers. Change-Id: If29b484f553d1a11be6d3d983c33065251dcab01 Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2016-05-24functions.sh: enable meta-opteeKoen Kooi
Change-Id: If199ed75ecddd841b365b03a82bf77bd44a1f605 Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2016-04-14function.sh: fix disabling SDL support in qemu-nativeFathi Boudra
syntax has changed: PACKAGECONFIG_pn-qemu-native -> PACKAGECONFIG_append_pn-qemu-native Change-Id: Ie5210f36b744ebda8cb358a8f15669feb841b4fc Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
2016-04-11Handle file:// as an alternate protocol in addition to http(s):. This is ↵Rob Savoye
used of the external toolchain tarball is on the same host machine. Change-Id: I1638c508b59e30b0feded65812470ce36a9ebf91
2016-03-29init-and-build: propagate bitbake error codes back to callerKoen Kooi
This should make the CI fail when the build fails instead keep on going. Change-Id: I7a350a7cfdbcdf4e4d4d6b2f9297c26eb39cc5ef Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2016-03-23function.sh: remove OLDEST_KERNEL workaroundKoen Kooi
Juno has moved past 3.10. Change-Id: I587c1e6d4e1e40c9b905a14b9aa28c1282102968 Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2016-02-17Merge "post-build-create-image-manifest.sh: fix typo"Fathi Boudra
2016-02-17post-build-create-image-manifest.sh: fix typoKoen Kooi
Change-Id: Idbdb9715fb18b69f7d61242c1cce2394aa54f796 Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2016-02-12Revert "pre-build-do-cleanup: cleanup git repositories"Anders Roxell
This reverts commit 7f5bb6eb958e3a7c603a88b36984cae0e3195f8b. Reverting commit because it does only sync and not cleanup unstaged files, so it don't solve anything. Change-Id: I0cb5ea27170cfab4d2e25df07bd182ddff39cdd6 Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
2016-02-11pre-build-do-cleanup: cleanup git repositoriesAnders Roxell
We need to discard changes in working directories if we use script srcrev-check.py Change-Id: Ib95327c7829d3cbc3a55841546e66628d1c47514 Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
2016-02-10post-build-create-image-manifest.sh: create .md5 files for each build artefactKoen Kooi
Change-Id: Ic1190559901be7aee4cd73d96b4537a33020991b Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2015-11-30init-and-build: move to gcc 5.2release-15.12Koen Kooi
Change-Id: I3738a3697b3745a24d47104f0d1ba3a8429e9681
2015-11-19function.sh: don't set a libc versionKoen Kooi
The linaro changes in 2.20 are upstream now, so it should be safe to use the OE version. Change-Id: Ib018c7343e8358755d92519e81db045305b6cc93 Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2015-10-28functions.sh: set preferred_provider if machine qemux86-64release-15.11release-15.10Anders Roxell
Change-Id: I5ed4e6531b66631abcbd077ef783dec39e5c6a2a Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
2015-10-16functions.sh: remove PREFERRED_VERSION from lng-test kernelsAnders Roxell
Change-Id: I49b36b6f7579a33b91b69cb12fe50eacf09946f8 Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
2015-10-14functions.sh: switch to systemd [BB-123]Koen Kooi
As per BB-123 switch the builds to systemd. DISTRO_FEATURES_INITMAN isn't being used in OE-core, so drop the usage and just hardcode systemd. Change-Id: I4f57aa1072955867156140c51155cf70a3943b4f Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2015-09-14post-build-sort-out-downloads: add default base_dir pathrelease-15.09Anders Roxell
The base_dir insn't set in the script and it try to copy the downloads from /workspace/downloads/ that don't exist. Adding a default base_dir path that CI are using, "/mnt/ci_build" which can be override from the environment. Change-Id: I2b172905eb41be9fcb4202b3763d9887fa0930e9 Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
2015-08-31functions.sh: Add default MACHINE=qemux86-64 for x86-64 rootfs build.Christian Ziethén
Change-Id: Idd51432e3e5b0b046274bc46b81a83a2481d9abf Signed-off-by: Christian Ziethén <christian.ziethen@linaro.org>
2015-08-25post-build-create-image-manifest: copy package artifactsAnders Roxell
Copy desired package(s) artifacts into ${WORKSPACE}/out Change-Id: I994fc137779aa63ae94f1932c92fe193e34f2980 Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
2015-07-29function.sh: revert OE-core glibc kernel requirementrelease-15.08release-15.07Koen Kooi
Change-Id: Ie9243853e35059a1dc85cd5c3efc18570a5823dc Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2015-07-02functions.sh allow lng kernels to specify PREFERRED_VERSIONAnders Roxell
if linux_kernel specified and MACHINE=lng-x86-64 then specify a dedicated kernel version Change-Id: I1371156d10062053cbb7487359d96b67f7735e59 Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
2015-06-25functions.sh: allow to specify PREFERRED_PROVIDER_virtual/kernelFathi Boudra
by default, the preferred provider for the kernel is linux-dummy. Allow to specify a different provider in order to build the LNG kernel variants. Change-Id: Ie3355843dffd08875ff903e72eff2b1487c1ac29 Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
2015-05-12init-and-build.sh: add flag to enable ptestStuart Haslam
Enable ptest (pacakge test) packages to be built for all packages which support it. To avoid image bloat this does not cause all ptest packages to be installed, they need to be individually selected via IMAGE_INSTALL. Change-Id: Iac06ce3af4f412f0c472b20033c2643aaf149b4e Signed-off-by: Stuart Haslam <stuart.haslam@linaro.org>
2015-04-28functions.sh: fix variable expansion errorKoen Kooi
Straight quotes prevent variable expansion, leading to: 08:08:17 WARNING: Can't get the filesystem id of: ${base_dir}/workspace/tmp 08:08:17 Parsing recipes...NOTE: Error during finalise of /home/buildslave/workspace/openembedded-armv7a-rootfs-external-toolchain/label/build/rootfs/minimal/meta-linaro/meta-linaro-toolchain/recipes-devtools/gcc/gcc-crosssdk-initial_linaro-4.8.bb 08:08:18 NOTE: Error during finalise of /home/buildslave/workspace/openembedded-armv7a-rootfs-external-toolchain/label/build/rootfs/minimal/meta-linaro/meta-linaro-toolchain/recipes-devtools/gcc/gcc-crosssdk-initial_linaro-4.9.bb 08:08:18 ERROR: ExpansionError during parsing /home/buildslave/workspace/openembedded-armv7a-rootfs-external-toolchain/label/build/rootfs/minimal/meta-linaro/meta-linaro-toolchain/recipes-devtools/gcc/gcc-crosssdk-initial_linaro-4.9.bb: Failure expanding variable oe_runconf: ExpansionError: Failure expanding variable EXTRA_OECONF, expression was --with-newlib --without-headers --disable-shared --disable-threads --disable-multilib --disable-__cxa_atexit --enable-languages=c --enable-target-optspace --program-prefix=x86_64-oesdk-linux- --with-sysroot=/not/exist --with-build-sysroot=${base_dir}/workspace/tmp/work/x86_64-oesdk-linux/gcc-crosssdk-initial-x86_64/linaro-4.9-r2015.03/gcc-linaro-4.9-2015.03/build.x86_64-linux.x86_64-oesdk-linux/tmpsysroot --disable-libmudflap --disable-libgomp --disable-libssp --disable-libquadmath --with-system-zlib --disable-lto --disable-plugin --enable-decimal-float=no ${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', '--with-ld=${base_dir}/workspace/tmp/sysroots/x86_64-linux/usr/bin/x86_64-oesdk-linux/x86_64-oesdk-linux-ld.bfd', '', d)} --with-native-system-header-dir=/usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/include --with-native-system-header-dir=/usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/include ${@gettext_oeconf(d)} --enable-__cxa_atexit which triggered exception SyntaxError: EOL while scanning string literal (EXTRA_OECONF, line 1) Change-Id: I9a6ca8dc7fb7336ba23badd9082b9d3cded10aa0 Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2015-04-22Use base_dir variable instead of hardcoded path for base directory.Rob Savoye
Use basename instead of cut for external toolchain path parsing to be more flexible. Change-Id: Ia427b88cc5e97cc147591bfcb03df666990f7f6d Signed-off-by: Robert Savoye <rob.savoye@linaro.org>
2015-04-22functions: set UBOOT_ARCH to 'arm' for aarch64Koen Kooi
This fixes https://bugs.linaro.org/show_bug.cgi?id=1501 and works around: $ git show fd8158134f3d7a7c795c818cc50eb2858a6cae06 commit fd8158134f3d7a7c795c818cc50eb2858a6cae06 Author: Nathan Rossi <nathan.rossi@xilinx.com> Date: Thu Feb 19 13:34:35 2015 +1000 Revert "kernel-arch.bbclass: add arm64 support to U-Boot architecture map" This reverts commit 0b891265716c414ade29d587fc1a3c4ea7beadbe. U-Boot does support AArch64, this however was only added to newer versions of U-Boot and at the time of this original commit the U-Boot in OE-Core did not support the 'arm64' architecture. OE-Core now has a newer version of U-Boot for the mkimage recipe and thus supports the 'arm64' architecture. Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com> Signed-off-by: Ross Burton <ross.burton@intel.com> diff --git a/meta/classes/kernel-arch.bbclass b/meta/classes/kernel-arch.bbclass index bbcfa15..6a6ad91 100644 --- a/meta/classes/kernel-arch.bbclass +++ b/meta/classes/kernel-arch.bbclass @@ -40,7 +40,6 @@ def map_uboot_arch(a, d): if re.match('p(pc|owerpc)(|64)', a): return 'ppc' elif re.match('i.86$', a): return 'x86' - elif re.match('arm64$', a): return 'arm' return a Change-Id: I05568992a00a5e2bafd101fc8981ec3b04501115 Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2015-04-09functions.sh: enable buildhistoryKoen Kooi
Change-Id: I0572fe69491370a129ab76ffabccf8dc03561c6b Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2015-04-07post-build-manage-buildhistory.sh: unbreak itKoen Kooi
* Default to linaro buildhistory repo * Create branch if it doesn't exist instead of failing in clone * Output change summary to stdout: The buildhistory-diff script will output a human readable summary of the changes between the two builds. Change-Id: I63dc300d944f2fe35c5e7bbf361b3cac2960a0e7 Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2015-04-02functions.sh: add fallback for yet another abe toolchain URI layoutKoen Kooi
E.g. http://abe.tcwglab.linaro.org/binaries/2015.99/gcc-linaro-4.9-2015.99-x86_64_aarch64-linux-gnu.tar.xz Change-Id: I1c2ba85e30767584efcdbcf6a19affcf05bd7724 Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2015-03-09functions.sh: add meta-ilp32release-15.03Koen Kooi
Change-Id: Id5ed0254a7097557a63caef1324587afd87720f4 Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2015-02-24functions.sh: hook for local download directoryTrevor Woerner
If the user defines the environment variable "LOCALDLDIR" before calling init-and-build.sh, conf/site.conf will have a DL_DIR variable added to it defined as the string in $LOCALDLDIR. This allows a user to specify a local, pre-existing download directory to use when performing local OE builds instead of having a separate download area for each such build. Change-Id: I7e116e153da898d27ba2b2bb62d5858ab3c97fc3 Signed-off-by: Trevor Woerner <trevor.woerner@linaro.org>
2015-02-22functions.sh: use an older openvswitchrelease-15.02Koen Kooi
Gary pointed out that disabling dpdp isn't enough. Change-Id: I4c7d02e12f9ae491ffc04173130ca13090162190 Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2015-02-19functions.sh: disable 'dpdk' in openvswitchKoen Kooi
It's in the meta-intel layer which we don't use. Change-Id: I0c1bed0d166f3d9066ca0707241cc1163820060a Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2015-01-08functions.sh: move to binutils linaro-2.25Koen Kooi
Change-Id: I835c3e9a8b3c2fa24c227f4fc0b9f72bd7c3cdb5 Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2014-12-11functions: prefer newer linux-libc-headers for ILP32Koen Kooi
Change-Id: If8b775a20f4de4ff9bb9e8355e5b55f3a0bf320d Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2014-12-04functions.sh: add PREFERRED_VERSION for gcc-sourceKoen Kooi
OE-core doesn't have an entry for it yet, so add it here. Change-Id: I8c1895ea0f245669524590d7c7fe90cc39688090 Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2014-12-03functions.sh: bail out during parsing if an 'internal' toolchain component ↵Koen Kooi
is being built If OE-core packaging changes we need to update the external toolchain recipe and not silently build internal components. Change-Id: I156c3e8f03d43412911639152051f2288487cfd8 Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2014-11-27functions.sh: move to glibc-linaro 2.20Koen Kooi
Change-Id: I273adfa4b0a6ae3f0337d2ee7de6d34cbfa75cae Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2014-11-26functions.sh: cope with abe.tcwglab.linaro.org URIsKoen Kooi
Change-Id: I57e65e2f2f940cf61bb705ae3a546523ea9dcc18 Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2014-09-17functions: use the linaro eglibc masquerading as 'glibc'release-14.10release-14.09Koen Kooi
Change-Id: I8dd411364ada82d63dad7cdee4fd7268289ba023 Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2014-09-09functions.sh: add meta-python layer dependencyFathi Boudra
Fix ERROR: Layer 'networking-layer' depends on layer 'meta-python', but this layer is not enabled in your configuration Change-Id: I162faabc75fe6c88444e7e2b529126c6730a4da1 Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
2014-08-22functions.sh: set the default tune to armv7athf/armv7athfbrelease-14.08Fathi Boudra
OE default is armv7a. We still prefer to enabled hardfloat but we don't want to enable neon by default. Some platforms doesn't have neon. Change-Id: Ie0fdb91ee85a98918db06a55d59f46be3c8b47b9 Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
2014-08-05init-and-build: default to gcc 4.9Koen Kooi
Change-Id: I806accb03a321ce5fa3b246f921f40cbd5ddabf1 Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2014-06-17Clarify jenkins-setup licensingrelease-14.07release-14.06Fathi Boudra
Change-Id: I9c433b1b839d451b3cdb8032dd5a1e39cc1436cd Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>