summaryrefslogtreecommitdiff
path: root/functions.sh
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-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-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>
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-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-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-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-06-17Clarify jenkins-setup licensingrelease-14.07release-14.06Fathi Boudra
Change-Id: I9c433b1b839d451b3cdb8032dd5a1e39cc1436cd Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
2014-05-21functions.sh: add meta-linaro-integration layerrelease-14.05Koen Kooi
Depends on https://review.linaro.org/1937 Change-Id: I4da320f37674a09d86c76201ee531ada806476a8 Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2014-03-20functions.sh: only set PREFERRED_VERSION for eglibcrelease-14.03Koen Kooi
This gets rid of: NOTE: Resolving any missing task queue dependencies NOTE: multiple providers are available for eglibc (eglibc, external-linaro-toolchain) NOTE: consider defining a PREFERRED_PROVIDER entry to match eglibc NOTE: preferred version linaro-2.19 of eglibc-initial not available (for item virtual/aarch64-oe-linux-libc-initial) NOTE: versions of eglibc-initial available: 2.19 NOTE: preferred version linaro-2.19 of eglibc-locale not available (for item eglibc-localedata-i18n) NOTE: versions of eglibc-locale available: 2.19 NOTE: preferred version linaro-2.19 of eglibc-locale not available (for item eglibc-gconv-ibm850) NOTE: versions of eglibc-locale available: 2.19 NOTE: preferred version linaro-2.19 of eglibc-locale not available (for item eglibc-gconv-cp1252) NOTE: versions of eglibc-locale available: 2.19 NOTE: preferred version linaro-2.19 of eglibc-locale not available (for item eglibc-gconv-iso8859-1) NOTE: versions of eglibc-locale available: 2.19 NOTE: preferred version linaro-2.19 of eglibc-locale not available (for item eglibc-gconv-iso8859-15) NOTE: versions of eglibc-locale available: 2.19 NOTE: preferred version linaro-2.19 of nativesdk-eglibc-initial not available (for item virtual/nativesdk-x86_64-oesdk-linux-libc-initial) NOTE: versions of nativesdk-eglibc-initial available: 2.19 NOTE: preferred version linaro-2.19 of eglibc-locale not available (for item eglibc-gconvs) NOTE: versions of eglibc-locale available: 2.19 NOTE: preferred version linaro-2.19 of eglibc-locale not available (for item eglibc-localedatas) NOTE: versions of eglibc-locale available: 2.19 NOTE: preferred version linaro-2.19 of eglibc-locale not available (for item eglibc-charmaps) NOTE: versions of eglibc-locale available: 2.19 Change-Id: I373e1f4236b5ce65b30ebb968a0e2f5de9a70582 Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2014-03-19functions.sh: prefer eglibc linaro-2.19Koen Kooi
Change-Id: Id60afae9d686ae991c20ad474c446ddf27dc7b60 Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2014-02-20Disable BB_NUMBER_THREADS and PARALLEL_MAKE overriderelease-14.02Fathi Boudra
OE has now default values set for BB_NUMBER_THREADS and PARALLEL_MAKE: http://git.openembedded.org/openembedded-core/commit/?id=99777f60342ce1371e3960661035ca7cd89f96f5 Change-Id: Ie26f9134e43aeec622574d677f209edafc574faf Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
2014-02-19functions.sh: use linaro binutilsKoen Kooi
Change-Id: I407405af63da81c3547e8e977a210cb31bed181f Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2014-01-21functions.sh: add meta-initramfs layerKoen Kooi
This is were klibc lives. Change-Id: I3a33bcd1e8cbb637d63f543de31ac5e02b79e026 Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2014-01-09function.sh: disable SDL support in qemu-nativeKoen Kooi
It introduces buildfailures and the autobuilders a) are headless b) don't use qemu helper scripts Change-Id: If131c7a5afefeb186895e6d36f672416d2555c23 Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2014-01-07Update binutils version to 2.24Fathi Boudra
Change-Id: I865094372fb2df2602e3ddfb8a0e7d5abd86dd53 Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
2013-12-16functions.sh init-and-build.sh: add support for custom sstate dir folderNicolas Dechesne
When doing builds for several OE versions (e.g. dylan, dora, master) it is better to use a different sstate folder for each release, otherwise the sstate-cache-management will delete older release packages which is not a behavior that we need. This commit adds an option to specify a 'subfolder' to use in the main sstate_dir area for Linaro CI loop. Change-Id: I49662c0ec6ebf577992a12240626ada999918c5a Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
2013-12-16set Linaro CI site.conf specific options in a standalone functionNicolas Dechesne
This commit splits the Linaro CI (Jenkins) options into a specific function, so that these settings can be done even when using a custom workspace init function. e.g. after the build specific 'init env' script/function is done. It is important to note that init_env_linaro_ci() will be called for every build, so this function must only configured global configuration, not build-specific attributes. Build specific options need to be configured in init_env or in the custom init function. Change-Id: Ifd3b04bfa60b6def780ea41f4b935ac186bbafe0 Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
2013-12-16init-and-build.sh: add some comments about the init_env vs custom init_envNicolas Dechesne
Change-Id: If8d9fcd30d4cb9fb9b5ccb9d21f05f8fa6d02b15 Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
2013-12-16functions.sh: query bitbake to get SSTATE_DIR instead of hard-codingNicolas Dechesne
This will be needed later when we can customize the SSTATE_DIR location Change-Id: Ied28f20c62e966afe4ff9f48da80c86dcf92c847 Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>