summaryrefslogtreecommitdiffstats
path: root/meta-skeleton
Commit message (Collapse)AuthorAgeFilesLines
* baremetal-helloworld: Move from skeleton to recipes-extended matching what ↵Alejandro Hernandez Samaniego2023-01-121-71/+0
| | | | | | | | | | rust-hello-world is doing (From OE-Core rev: 13916de0145f83bb28323f0a6bde5c3d503c1319) Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* baremetal-helloworld: Enable x86 and x86-64 portsAlejandro Hernandez Samaniego2023-01-121-2/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - The qemux86 port for helloworld-baremetal builds in the standard way, however, it uses NASM syntax for the startup code, hence we include a dependency to nasm-native, QEMU forces us to use an ELF file rather than a bin file to boot from this architecture using the -kernel parameter. - QEMU refuses to boot using the -kernel parameter for files containing an ELF64 header [1], instead, it requires a multiboot2 compatible image. We could create an image that contains a multiboot2 header by piggybacking into grub2-native, specifically grub-mkrescue, but it requires some extra runtime dependencies (xorriso which is currently part of meta-oe), and assumes a grub installation exists on the host. Due to host contamination and dependency complications, we dont rely on grub2, but rather do this process manually instead, the x86-64 port contains a stage1 bootloader, stage2 bootloader and a 64 bit baremetal app (multiboot2 compatible), booting into real (16 bit), protected (32 bit) and long (64 bit) modes, eventually running the helloworld-baremetal app. This is the reason why we need the code changes to use a separate Makefile, and create an image specifically for qemux86-64. $ runqemu nographic Booting from ROM.. Hello OpenEmbedded on x86! $ runqemu nographic Starting Stage 1 Bootloader Loading Stage 2 Bootloader Stage 2 Loaded. Jumping to Stage2 Bootloader In Stage 2 Done Hello OpenEmbedded on x86-64! [1] https://gitlab.com/qemu-project/qemu/-/blob/v7.2.0/hw/i386/multiboot.c#L199 (From OE-Core rev: 1dffd81b2991f90ab95cb36d8ff7626efd21434f) Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* layer.conf: Update to use mickledore as the layer series nameRichard Purdie2023-01-031-1/+1
| | | | | | | | | | | | | | OE-Core has changes which do need careful evaluation for compatibilty, such as the addpylib directive. Move the core later names to mickledore so layers can mark their compatibility as such. Also increase the version number for core. If we do make further changes that need layer changes, we'll update the version again so layers can mark compatibility within the series. (From OE-Core rev: 57239d66b933c4313cf331d35d13ec2d0661c38f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* useradd-example: do not use unsupported clear text passwordChen Qi2022-09-291-2/+2
| | | | | | | | | | The clear text password support has been dropped. So let's just use a normal ecrypted one. The password remains to be 'user3'. (From OE-Core rev: cd8232f9c58980d95180ad320b7b0bb0fcfd9ff5) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* skeleton/service: Ensure debug path handling works as intendedRichard Purdie2022-08-171-0/+2
| | | | | | | | | | | DEBUG_PREFIX_MAP uses ${S} but that wasn't set correctly for this recipe meaning cwd during the build (WORKDIR) was encoded into the binary leading to buildpath warnings in debug symbols. Set S correctly to avoid this issue. (From OE-Core rev: 299abc1d69db13924f02d922139051126f19b306) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta-skeleton/hello-mod: Switch to SPDX-License-IdentifierRichard Purdie2022-08-121-12/+1
| | | | | | (From OE-Core rev: bb43462b0fcd510582c4c6f1081bb2f3f0c63843) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* layer.conf: Post release codename changesRichard Purdie2022-04-271-1/+1
| | | | | | | | Post release add langdale to the series names. (From OE-Core rev: dc3b319a5fc47372bc111da5bc26d7dda1b17598) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* layer.conf: Update to use kirkstoneRichard Purdie2022-02-211-1/+1
| | | | | | | | | Update the layers to use the kirkstone namespace. No compatibility is made for honister due to the variable renaming. (From OE-Core rev: 4a180aa5b30cc0906072d5b1e970eea41f1ce642) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta/meta-selftest/meta-skeleton: Update LICENSE variable to use SPDX ↵Richard Purdie2022-02-203-3/+3
| | | | | | | | | | | | | license identifiers An automated conversion using scripts/contrib/convert-spdx-licenses.py to convert to use the standard SPDX license identifiers. Two recipes in meta-selftest were not converted as they're that way specifically for testing. A change in linux-firmware was also skipped and may need a more manual tweak. (From OE-Core rev: ceda3238cdbf1beb216ae9ddb242470d5dfc25e0) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta-skeleton: fix warnings for append operators combined with +=Yi Zhao2021-11-251-1/+1
| | | | | | | (From OE-Core rev: 619273ecb6c17efd0b4d01f17688f1b211991ca2) Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* hello-mod/hello.c: convert printk to pr_xxxTrevor Woerner2021-09-281-2/+2
| | | | | | | | | | Convert to the newer pr_xxx aliases for logging, which embed the log level in the macro names. (From OE-Core rev: be119ead6d5bb01a50f78fd34024ded1289c9fd7) Signed-off-by: Trevor Woerner <twoerner@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* hello-mod/hello.c: convert to module_init/module_exitTrevor Woerner2021-09-161-2/+4
| | | | | | | | | | | Switch away from the old init_module/cleanup_module function names for the main entry points. Change them to the documented method with module_init() and module_exit() markers next to static functions. (From OE-Core rev: dd0cf45cdde7a197293322436957566e9a11a506) Signed-off-by: Trevor Woerner <twoerner@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* baremetal-helloworld: Enable RISC-V 32 portAlejandro Hernandez Samaniego2021-08-121-2/+3
| | | | | | | | | | | | | | | $ runqemu nographic runqemu - INFO - Running bitbake -e ... KERNEL: [tmp/deploy/images/qemuriscv32/baremetal-helloworld-image-qemuriscv32.bin] MACHINE: [qemuriscv32] runqemu - INFO - Running tmp/work/x86_64-linux/qemu-helper-native/1.0-r1/recipe-sysroot-native/usr/bin/qemu-system-riscv32 Hello OpenEmbedded on RISC-V 32! (From OE-Core rev: d4cca7471f2167b56347fa7b1364bb84a200b1f5) Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta-skeleton: add recipe examples from documentation sourcesMichael Opdenacker2021-08-024-0/+48
| | | | | | | | | | | | | | | | | | | | | | This adds three examples previously located in the yocto-docs repository (under documentation/ref-manual/examples). The examples were not used for building the documentation so it's better to keep them here where they can automatically be tested. Fixed the "hello-single" to add a version number to the .bb file. After this, all examples build fine with the "master" branch of Poky. Note that the "mtd-utils" example, and example of a recipe for an Autotools page, was not copied over. It doesn't build any more, and anyway, we already have an official recipe for a recent version of "mtd-utils" in OE-core. (From OE-Core rev: a186c746e431831ccbd459be2175cdaa7ed42a54) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Convert to new override syntaxRichard Purdie2021-08-028-20/+20
| | | | | | | | | | | | This is the result of automated script conversion: scripts/contrib/convert-overrides.py <oe-core directory> converting the metadata to use ":" as the override character instead of "_". (From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta-skeleton: update to satisfy yocto-check-layer testsScott Weaver2021-06-272-1/+6
| | | | | | | | | | | | | Added readme to satisfy the readme file test. Updated busybox bbappend to satisfy the signature test. [YOCTO #13612] (From OE-Core rev: b2419bfaf28903d52dd88a3db7985c71e8ed814a) Signed-off-by: Scott Weaver <weaverjs@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* baremetal-helloworld: Enable RISC-V 64 portAlejandro Hernandez Samaniego2021-05-121-2/+3
| | | | | | | | | | | | | | | | | | | Add support for MACHINE=qemuriscv64. $ runqemu nographic KERNEL: [tmp/deploy/images/qemuriscv64/baremetal-helloworld-image-qemuriscv64.bin] MACHINE: [qemuriscv64] FSTYPE: [bin] runqemu - INFO - Running tmp/work/x86_64-linux/qemu-helper-native/1.0-r1/recipe-sysroot-native/usr/bin/qemu-system-riscv64 Hello OpenEmbedded on RISC-V 64! (From OE-Core rev: 31fde82640bf0d185eab55d2cbaf663c9faae801) Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* core-image-multilib-example: base on weston, and not satoAlexander Kanavin2021-04-271-1/+1
| | | | | | | (From OE-Core rev: 56cd96651c6304712fd544fbc9b69c986d2b2efe) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* layer.conf: Update to add post 3.3 release honister seriesRichard Purdie2021-04-181-1/+1
| | | | | | (From OE-Core rev: c0f43f19fecfd16f973c2d2f8227106c46b451bb) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* layer.conf: Update for hardknott release seriesRichard Purdie2021-03-151-1/+1
| | | | | | (From OE-Core rev: d430bf39f2f2ecdf989b33f7405751844d783fc5) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta-skeleton: Add HOMEPAGE / DESCRIPTIONDorinda2021-03-065-3/+5
| | | | | | | | | | | Added HOMEPAGE and DESCRIPTION for recipes with missing decriptions or homepage [YOCTO #13471] (From OE-Core rev: 89d8f20353bacb089bc18833d3ff032b525613ee) Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* baremetal-helloworld: Fix install path since S doesnt have a trailing slashAlejandro Hernandez Samaniego2020-10-261-2/+2
| | | | | | | (From OE-Core rev: f099a4ec8e722f590fbf9b5ae87bb6ec29a5e6e6) Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* skeleton/baremetal-helloworld: Fix trailing slashRichard Purdie2020-10-101-1/+1
| | | | | | | | This fixes a warning about a trailing slash on ${S}. (From OE-Core rev: 0685dac31a7ae614d9f75cd51b59c45dd050f52e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* baremetal-helloworld: Use baremetal-image class to deploy the applicationAlejandro Hernandez2020-07-081-90/+19
| | | | | | | (From OE-Core rev: dd5a64feb5426ec870cf5d53ef056b24eb450487) Signed-off-by: Alejandro Hernandez Samaniego <alejandro@enedino.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* baremetal-helloworld: Use do_image_complete instead of do_deployAlejandro Hernandez2020-07-031-8/+23
| | | | | | | | | | | To better align with upstream and mimic how images are built, use do_image and do_image_complete instead of do_deploy to populate artifacts on DEPLOY_DIR_IMAGE. (From OE-Core rev: 9edb08c31700a85ce87344829989c1069d2760ab) Signed-off-by: Alejandro Hernandez Samaniego <alejandro@enedino.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* layer.conf: Move to gatesgarth namingRichard Purdie2020-05-181-1/+1
| | | | | | | | | We're still compatible with dunfell from the core perspective so that is left for compatibility (probably for the next week or two). (From OE-Core rev: 1e79324f8290b820fee034b0d4a8c353027879da) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* baremetal-helloworld: Fix IMGDEPLOYDIR expansionAlejandro Hernandez2020-04-291-0/+1
| | | | | | | | | | | | | | IMGDEPLOYDIR is not being expanded anymore, this causes do_rootfs to fail because it can't create the manifest file, we can set it to the default being set on image.bbclass since this is only a decoy function anyway to satisfy testimage, this makes do_rootfs happy and allows it to continue. (From OE-Core rev: 06ed491e30b47b8c5f89746e890519dd7de800fd) Signed-off-by: Alejandro Hernandez Samaniego <alejandro@enedino.org> Signed-off-by: Alejandro Hernandez Samaniego <alhe@linux.microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* layer.conf: Update to LAYERSERIES_CORENAME to dunfellRichard Purdie2020-03-151-1/+1
| | | | | | | | Update the layer core name to the new release name. (From OE-Core rev: 090bb3b44ba0cc01c29942c00d43e910d1ff735e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* baremetal-helloworld: Create recipe for baremetal examples on QEMUAlejandro Enedino Hernandez Samaniego2020-02-051-0/+105
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Create HelloWorld examples that run on several of the QEMU architectures supported by the build system. This recipe can be used by anyone to understand how baremetal applications can be built using OpenEmbedded and how the wiring to set them up could be. This should also facilitate creating/extending the OE testing infrastructure to allow baremetal applications or RTOSs to be tested in the same way that Linux currently is. This can easily be extended to work on other MACHINES in the future. To run this example: $ source oe-init-buildenv $ bitbake-layers add-layer ../meta-skeleton # TCLIBC="baremetal" would work as well $ echo "TCLIBC = \"newlib\"" >> ./conf/local.conf $ echo "MACHINE = \"qemuarm64\"" >> ./conf/local.conf $ bitbake baremetal-helloworld $ runqemu runqemu - INFO - Running bitbake -e ... runqemu - INFO - Continuing with the following parameters: KERNEL: [tmp/deploy/images/qemuarm64/baremetal-helloworld-qemuarm64.bin] MACHINE: [qemuarm64] FSTYPE: [bin] ROOTFS: [tmp/deploy/images/qemuarm64/baremetal-helloworld-qemuarm64.bin] CONFFILE: [tmp/deploy/images/qemuarm64/baremetal-helloworld-qemuarm64.qemuboot.conf] Hello OpenEmbedded! (From OE-Core rev: b314e9a0923c8aa95a2f2c3f48d956206e9885a7) Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* layer.conf: Update for zeus seriesRichard Purdie2019-10-081-1/+1
| | | | | | (From OE-Core rev: a5c9709b8da6e7ad62167b5036e7f454a62aa83e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta/lib+scripts: Convert to SPDX license headersRichard Purdie2019-05-091-17/+0
| | | | | | | | | | | | | | | | | | | | | | | This adds SPDX license headers in place of the wide assortment of things currently in our script headers. We default to GPL-2.0-only except for the oeqa code where it was clearly submitted and marked as MIT on the most part or some scripts which had the "or later" GPL versioning. The patch also drops other obsolete bits of file headers where they were encoountered such as editor modelines, obsolete maintainer information or the phrase "All rights reserved" which is now obsolete and not required in copyright headers (in this case its actually confusing for licensing as all rights were not reserved). More work is needed for OE-Core but this takes care of the bulk of the scripts and meta/lib directories. The top level LICENSE files are tweaked to match the new structure and the SPDX naming. (From OE-Core rev: f8c9c511b5f1b7dbd45b77f345cb6c048ae6763e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* layer.conf: Update to warrior release name seriesRichard Purdie2019-04-021-1/+1
| | | | | | (From OE-Core rev: 13e45fffb66c7cb7ba0d07bed063c0c5ce57004b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta-skeleton/meta-selftest: Update to thudRichard Purdie2018-09-251-1/+1
| | | | | | (From OE-Core rev: 4c48e59c58e62d70b900c4356953f5b66fba2353) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* hello-mod_0.1.bb: add RPROVIDESJuro Bystricky2018-04-071-0/+2
| | | | | | | | | | | | | | | | | | | Although the package will get an automatic prefix "kernel-module", so the package kernel-module-hello does exist, populating rootfs can generate an error: - nothing provides kernel-module-hello ... This is quite unfortunate, as this recipe is used as a sample. Adding RPROVIDES_${PN} += "kernel-module-hello" to the recipe fixes the problem. [YOCTO #12641] (From OE-Core rev: ca17a7bbea5f5454da43545d544ff7772d83ac19) Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* layer.conf: Update LAYERSERIES rocko -> sumoRichard Purdie2018-04-061-1/+1
| | | | | | | | Also set LAYERSERIES_COMPAT for core (we're compatible with ourself). (From OE-Core rev: 4aa43cd844781a07a2dbf17f21ed35c6a0100d02) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta*: Add LAYERSERIES_COMPAT and LAYERSERIES_CORENAMES markup to layer.confRichard Purdie2017-06-121-0/+2
| | | | | | | | | | | This means mismatched layers are more clearly identified to the user in cases where compatibility has not been tested. This is perhaps not as needed for the core repository (other than CORENAMES) but lets lead by example. (From OE-Core rev: cde66d5eac8e5c2821ba225dc4be4af4e0581652) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* useradd-example: exclude from worldKai Kang2017-01-091-0/+2
| | | | | | | | (From OE-Core rev: 1e03ad25d8b9536d5e7f9969809a4df01e55fe3a) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Remove $COREBASE/LICENSE from LIC_FILES_CHKSUMOlaf Mandel2016-10-281-2/+1
| | | | | | | | | | | | | | | | | | | | | | Several recipes reference the LICENSE file in their LIC_FILES_CHKSUM variable as ${COREBASE}/LICENSE. This forces distribution providers to keep this file verbatim or to overload the affected recipes. The section "Moving to the Yocto Project 1.6 Release" in the Yocto manual suggests removing the LICENSE file where possible. Remove LICENSE in cases where COPYING.MIT is also given and replace LICENSE with COPYING.MIT if the former was the only entry. All modified recipes specify LICENSE = "MIT" and none of the in-tree files specify a different license either. As the packages do not change (the license files are not contained in them), do not increase PR. (From OE-Core rev: 0059e0661826c857a07c862bcb46162671e0e330) Signed-off-by: Olaf Mandel <o.mandel@menlosystems.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* service: obey CFLAGS, LDFLAGSChristopher Larson2016-07-081-1/+1
| | | | | | | | (From OE-Core rev: 8a227125991951c1ddd44bec0b6243474ebc363a) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto-custom: fix typo in Upstream-Status tagRoss Burton2015-10-191-1/+1
| | | | | | | (From OE-Core rev: cb46e70148c4210071299acc648c10f1c87cd3fd) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto-custom: Update for newer kernelSaul Wold2015-10-012-17/+19
| | | | | | | | | | | | Update the NAME version tweak example patch for the newer kernel. This moves the example to the 4.2 stable kernel and appends -custom to the VERSION string. (From OE-Core rev: dc26472661bdc0ed4248d7ab462a296f3c86c421) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* service: tweak example recipePaul Eggleton2015-08-241-4/+3
| | | | | | | | | | | * Drop PR = "r0" * Reorder lines so that packaging definitions are at the end (From OE-Core rev: e6cf787871518119205c7d764f5478fd853e2576) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* hello-mod: drop PV and PRPaul Eggleton2015-08-241-3/+0
| | | | | | | | | | | | * PR = "r0" is the default, no need to set it (and most people won't need to set it anyway with the PR service) * PV = "0.1" is already set by virtue of 0.1 being in the filename (From OE-Core rev: 91b323526427f67a8982c7b090e505aaf810d4e7) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto-custom: clarify bbappend versus copy in commentsBruce Ashfield2015-05-241-5/+5
| | | | | | | | | | | | | | | | The kernel development manual recommends making a copy of linux-yocto-custom, while the comments in the recipe talk about bbappends. To synchronize the two, we remove the bbappend references from the recipe and instead indicate that a copy should be updated. [YOCTO: #6925] (From OE-Core rev: 121498714b03339d2e5090c2a8fe0618bbaa8610) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* skeleton: clarify linux-yocto-custom workflowBruce Ashfield2015-03-251-4/+2
| | | | | | | | | | | | | | | | It was pointed out that the kernel development documentation recommends making a copy of linux-yocto-custom, while the comments in the recipe itself suggest a bbappend. To keep things consistent between these two sources, we update the comment in the recipe itself to also recommend a copy (and rename). [YOCTO: #6925] (From OE-Core rev: aabd47e46a31b526ee880dfd22a1a1f2831ab355) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto-custom: provide defconfig guidanceBruce Ashfield2014-05-061-0/+10
| | | | | | | | | | | | | As reported by Andrea, defconfigs created with savedefconfig should specify their expansion mode as "--alldefconfig' for custom yocto recipes. To ensure that this is documented, we can add a comment in the skeleton recipe. Reported-by: Andrea Adami <andrea.adami@gmail.com> (From OE-Core rev: 2c41a28c9a9772531dcfc7079604ff2441c71f8f) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta-skeleton: Add name attribute to SRC_URIJukka Rissanen2014-03-271-1/+1
| | | | | | | | | | | | | | | | The SRCREV_machine line does not work without having name=machine attribute in SRC_URI. This error is seen if the custom kernel recipe is used without the name attribute: NOTE: Error during finalise of .../linux-yocto-custom.bb ERROR: ExpansionError during parsing .../linux-yocto-custom.bb: Failure expanding variable do_patch: ExpansionError: Failure expanding variable SRCPV, expression was ${@bb.fetch2.get_srcrev(d)} which triggered exception FetchError: Fetcher failure for URL: 'git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git;protocol=git;nocheckout=1'. Please set a valid SRCREV for url ['SRCREV_default_pn-linux-yocto-custom', 'SRCREV_default', 'SRCREV_pn-linux-yocto-custom', 'SRCREV'] (possible key names are git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git;protocol=git;nocheckout=1, or use a ;rev=X URL parameter) (From OE-Core rev: 760ae021fe1714d04c34bc00d472e2d756b3823a) Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto-custom: Use SRCREV_machineDarren Hart2014-03-171-1/+1
| | | | | | | | | | | | | | The Yocto kernel tools look for SRCREV_machine in do_validate_branches, if it's empty, it just returns and silently continues. This likely needs at least a warning. However, this recipe should be using SRCREV_machine, and not just SRCREV. (From OE-Core rev: f36de92551c8c44a15f1997e65cd8ee957143d95) Signed-off-by: Darren Hart <dvhart@linux.intel.com> Reported-by: Saul Wold <sgw@linux.intel.com> Cc: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes: convert remaining SUMMARY/DESCRIPTION cosmetic issues (part 2)Matthieu Crapet2014-02-201-1/+1
| | | | | | | | | | | | | | | | | | Completes previous commit b5292d4115a4555a66b5e35acdc67dd71fb8577f. Updates SUMMARY[doc] (meta/conf/documentation.conf). Changes: - rename DESCRIPTION with length < 80 to (non present tag) SUMMARY - drop final point character at the end of SUMMARY string - remove trailing whitespace of SUMMARY line Note: don't bump PR (From OE-Core rev: ad17dfd31a2b97b3e610a0ea0889f5ecb2a63b97) Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta-skeleton: rename busybox's bbappend fileChen Qi2014-02-021-0/+0
| | | | | | | | | | | As busybox has been upgraded, rename this bbappend file to make it match the current version of busybox. (From OE-Core rev: 12e33bd0dc02720122eb8088b08a181b13b6ef0e) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>