summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/dtc
Commit message (Collapse)AuthorAgeFilesLines
* recipes: Ensure S is set to a valid directoryRichard Purdie22 hours1-0/+3
| | | | | | | | | | | | Several recipes have S pointing at a directory that does not exist. Set S in these cases to somethig valid making the metadata and recipe behaviour more consistent. Tweak one of the QA test diff offsets to match the changed recipe. (From OE-Core rev: 22f1f5849a9a3bf287dbe8933546e52e39ddc86e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes: Update WORKDIR references to UNPACKDIRRichard Purdie2024-05-021-3/+3
| | | | | | | | | | Since we want to be able to stop unpacking to WORKDIR, correct the WORKDIR references in recipe do_compile/do_install tasks to use UNPACKDIR in the appropraite places instead. (From OE-Core rev: d73595df69667fe9d12ecd407b77a0b8dae2109c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dtc: preserve version also from shallow git clonesPeter Marko2023-12-213-1/+72
| | | | | | | | | | | | | | | | | | | Since switch from Makefile to meson based build, the version is no longer hardcoded but queried from git tag. This works only if git history is available. When shallow tarballs are used, tag is not available. Example error for trusted-firmware-a from meta-arm: dtc version too old (039a994), you need at least version 1.4.4 Backport also patch to fix version in meson file. (From OE-Core rev: 319f5d8a32d1f4a71ac997ce4522249b08f84945) Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes: Default to https git protocol where possibleRichard Purdie2023-05-051-1/+1
| | | | | | | | | | The recommendation from server maintainers is that the https protocol is both faster and more reliable than the dedicated git protocol at this point. Switch to it where possible. (From OE-Core rev: 139102a73d4151f4748b4a861bd4ab28dda7dab7) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta/recipes: ensure all recipes have a SUMMARYAlexander Kanavin2023-04-131-1/+1
| | | | | | | | | | | DESCRIPTION is optional for now; writing good component descriptions is not easy (but appreciated). (From OE-Core rev: 9ce4f9248db3db70732d886a18ea355f321bd49d) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dtc: update license checksTrevor Woerner2023-02-241-1/+2
| | | | | | | | | | | | The dtc project is dual licensed, and includes the text of both licenses as part of its sources as well as a README documenting its license situation. Use these sources to verify the licensing, and to monitor if it changes, rather than a copyright line in a source file. (From OE-Core rev: aaab4ffb4b17b222d1914d0feab286c4000b17da) Signed-off-by: Trevor Woerner <twoerner@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dtc: update DESCRIPTIONTrevor Woerner2023-02-241-1/+1
| | | | | | | | | Update the description to align with the current goals of the dtc project. (From OE-Core rev: cfe4b6b4559191a7986ba48f54a1d0350705a86d) Signed-off-by: Trevor Woerner <twoerner@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dtc: upgrade 1.6.1 -> 1.7.0Wang Mingyu2023-02-192-43/+2
| | | | | | | | | | | 0001-fdtdump-fix-Werror-int-to-pointer-cast.patch removed sinct it's included in 1.7.0 (From OE-Core rev: 3007669c903eecf8aa057add51c469bdb1337a38) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta/meta-selftest/meta-skeleton: Update LICENSE variable to use SPDX ↵Richard Purdie2022-02-201-1/+1
| | | | | | | | | | | | | 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>
* kernel: introduce python3-dtschema-wrapperBruce Ashfield2021-11-264-0/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The 5.16 kernel introduced mandatory schema checking on any dtb file built through the kernel. That funcionality is provided via python3-dt-schema. The dependencies to enable that functionality is not small, and may not always be desired (in particular on architectures that do not support dtbs, or in development cycles). It may also be useful for allowing a non-conformant dts to be compiled. This commit introduces a set of wrapper scripts that when added as a depenency to the kernel, can pass both the validation testing and validation steps of a dts. We use the wrapper by default, while more dts file are brought up to spec and the dt-validation matures upstream. To enable valiation, simply add 'dt-valiation' to the PACKAGECONFIG variable and the full dt-schema package will be selected and validation will occur. (From OE-Core rev: a8525391f8a519426c92f0e28895f426bfcb3f84) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dtc: fix mingw buildRoss Burton2021-11-132-1/+42
| | | | | | | | | | Backport a patch to fix the build of fdtdump with mingw, which so the tools now build successfully with mingw. (From OE-Core rev: 1bbbd69d9f1600f53737f2c459a08eae0d74a42c) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dtc: add PACKAGECONFIGs for tools and yamlRoss Burton2021-11-131-3/+5
| | | | | | | | | Leave yaml off by default. (From OE-Core rev: f70f9a7f44676f722e2541e1ef1f064c942fffcb) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dtc: use Meson to buildRoss Burton2021-11-133-73/+4
| | | | | | | (From OE-Core rev: f8f25c424079074b9ed4a7801122c2f59f22aacf) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dtc: merge .bb/.incRoss Burton2021-11-132-30/+26
| | | | | | | | | No reason for these to be split, so merge them. (From OE-Core rev: ebfe71da5b27c4f7839837c79fb04acf84cd16e4) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: Add explict branch to git SRC_URIsRichard Purdie2021-10-301-1/+1
| | | | | | | | | | | | | There is uncertainty about the default branch name in git going forward. To try and cover the different possible outcomes, add branch names to all git:// and gitsm:// SRC_URI entries. This update was made with the script added to contrib in this patch which aims to help others convert other layers. (From OE-Core rev: b51c405faf6f8c0365f7533bfaf470d79152a463) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dtc: set precise BSD licenseRoss Burton2021-09-031-1/+1
| | | | | | | | | "BSD" is ambiguous, use the precise license BSD-2-Clause. (From OE-Core rev: 4765c9be0ccc883d3b803b0695b8bf986d9b105f) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Convert to new override syntaxRichard Purdie2021-08-021-2/+2
| | | | | | | | | | | | 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>
* dtc: upgrade 1.6.0 -> 1.6.1wangmy2021-06-122-38/+1
| | | | | | | | | | 0001-fdtdump-Fix-gcc11-warning.patch removed since it is included in 1.6.1 (From OE-Core rev: 23ef5cad6274604113d651da8156c96ad647dceb) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dtc: Fix array-bounds errorKhem Raj2021-03-012-0/+37
| | | | | | | | | | | | Fixes | libfdt/libfdt.h:251:28: error: array subscript 'struct fdt_header[0]' is partly outside array bounds of 'unsigned char[4]' [-Werror=array-bounds] | 251 | fdth->name = cpu_to_fdt32(val); \ | | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ (From OE-Core rev: cd4fe4ec658ce4861fc970149f78b0ca7fda8fe0) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dtc: improve reproducibilityOleksiy Obitotskyy2021-01-232-0/+38
| | | | | | | | | | | Makefile override CFLAGS, so -fmacro/debug-prefix-map optiions was omitted and binaries contains absolute patch to sources. (From OE-Core rev: b58e808a087bbc0a5abd78fd34bb6f1c0c93ba25) Signed-off-by: Oleksiy Obitotskyy <oobitots@cisco.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dtc: update to 1.6.0Richard Leitner2020-05-071-1/+1
| | | | | | | | | This also fixes issues with gcc 10's default change to "-fno-common". (From OE-Core rev: 3acc1e5d5bce4e229801c9d66391e007390fb373) Signed-off-by: Richard Leitner <richard.leitner@skidata.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dtc:upgrade 1.5.0 -> 1.5.1Zang Ruochen2019-09-062-10/+10
| | | | | | | | | | | | -License-Update: -file://GPL : Updated mailing address. -file://libfdt/libfdt.h : Removed part of the copyright description of this file. (From OE-Core rev: ada36d3e39aba9afec2d5438a80f0b35610ce15d) Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dtc: upgrade 1.4.7 -> 1.5.0Alexander Kanavin2019-04-162-1/+3
| | | | | | | (From OE-Core rev: ff0237d14e3720e360395e29cdaf8b9dc84a5897) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dtc: update to 1.4.7Alexander Kanavin2018-09-102-8/+17
| | | | | | | (From OE-Core rev: a88e056b4529aa7b81a4f8266460e37773172d4a) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dtc: upgrade to 1.4.6Alexander Kanavin2018-05-293-45/+1
| | | | | | | | | | Drop upstreamed patch. (From OE-Core rev: e1b5a1dffeb6d9373b823285912c1220076010cb) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dtc: refresh patchesRoss Burton2018-03-091-6/+6
| | | | | | | | | | | | | | | | | | | | | The patch tool will apply patches by default with "fuzz", which is where if the hunk context isn't present but what is there is close enough, it will force the patch in. Whilst this is useful when there's just whitespace changes, when applied to source it is possible for a patch applied with fuzz to produce broken code which still compiles (see #10450). This is obviously bad. We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For that to be realistic the existing patches with fuzz need to be rebased and reviewed. (From OE-Core rev: 7c337dbd59a6f7c9bd06131e5c0ad0de51e1d1e5) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dtc: add rdepends_${PN}-misc = diffutilsIoan-Adrian Ratiu2018-03-061-1/+1
| | | | | | | | | | Needed by dtdiff which calls `diff` to display its result. (From OE-Core rev: ace8b318038389c07694ae5234811ce92982ddc8) Signed-off-by: Ioan-Adrian Ratiu <adi@adirat.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dtc: update to 1.4.5Alexander Kanavin2017-11-303-3/+48
| | | | | | | | | | | | | Also fix upstream check and disable newly added python2-only bindings (as there is no clear need for them and python 2 is deprecated). Add a backported patch to address format errors when compiling. (From OE-Core rev: 8737b88f0da61af25ab9731acd9f2c3821170cdb) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dtc: Add HOMEPAGE info into recipe file.Huang Qiyu2017-09-211-0/+1
| | | | | | | | (From OE-Core rev: 92878ef5e758c05d059ef943c30984a4b2d79cc4) Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dtc: upgrade to 1.4.4Alexander Kanavin2017-05-161-1/+1
| | | | | | | | (From OE-Core rev: 39b39ef2dc429485fadf0b2e8b42b9d8424cea6a) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dtc: update to 1.4.2Alexander Kanavin2016-10-281-2/+1
| | | | | | | | (From OE-Core rev: 456e51bc5f39ac915a7ec66658410ef223b3d4bc) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dtc: Upgrade to 1.4.1 (git based)Saul Wold2015-01-161-2/+2
| | | | | | | (From OE-Core rev: 169a7520b7992ef25d94b07c0d639256b06e44d2) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dtc: don't use autotools as this doesn't use autotoolsRoss Burton2014-12-111-3/+5
| | | | | | | (From OE-Core rev: c4771129a1e2acada7a7f16b3a1ea9e30563a9d4) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dtc: old SRC_URI died, changing to new working oneKrzysztof Sywula2014-11-211-1/+1
| | | | | | | (From OE-Core rev: 131a17f014e6373dae526cc927588ccc0fedc38d) Signed-off-by: Krzysztof Sywula <krzysztof.m.sywula@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dtc: add bash to RDEPENDS_dtc-miscRobert Yang2014-08-231-0/+2
| | | | | | | | | | | | | Bash script: dtc-misc/usr/bin/dtdiff There are two files in this pacakge, another one is (binary): dtc-misc/usr/bin/convert-dtsv0 (From OE-Core rev: 4b609d099d91840ec05d71d29fe33786122b2d81) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* autotools-brokensep: Mark recipes with broken separate build dir supportRichard Purdie2014-02-281-1/+1
| | | | | | | | | | | | This patch goes through the OE-Core recipes and marks those which use autotools but don't support a separate build directory (${S} != ${B}). A new class, autotools-brokensep is used for this purpose. This doesn't introduce any change in behaviour in its own right. (From OE-Core rev: 006b8a7808a58713af16c326dc37d07765334b12) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* remove the unnecessary protocol parametersJackie Huang2013-08-301-1/+1
| | | | | | | | | | | It's not necessary to specify the protocol parameter when it's the default protocol for the fetcher, e.g. the default protocol for git fetcher it git, "protocol=git" isn't needed. (From OE-Core rev: a2bab241c64428d5109c3c5ac5de4463fbad70c5) Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dtc: Update to 1.4.0 Git TagSaul Wold2013-07-052-4/+2
| | | | | | | (From OE-Core rev: 88913e38c4ee1bdde2ad9f23fa02112ddbe8f590) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dtc.inc: fix for libdir == /usr/lib64Matthew McClintock2012-07-111-2/+2
| | | | | | | | | | On 64bit systems dtc will still install libaries in /usr/lib unless we havet this override (From OE-Core rev: b60579e66601ba60669a9e1194409fcd8b80530e) Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dtc: Fix License warningSaul Wold2012-03-161-1/+1
| | | | | | | | WARNING: dtc: No generic license file exists for: GPL2 in any provider (From OE-Core rev: bdaa8c17ed8171ce827e84b8680ca8248e10a1d2) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Add Upstream-Status to patchesSaul Wold2012-01-031-0/+2
| | | | | | | (From OE-Core rev: 169e55d802883df763dbff4a4737e05e96358fa3) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dtc: Add patch to correctly install shared libraries and linksSaul Wold2011-11-072-1/+17
| | | | | | | (From OE-Core rev: 4c4143e0f0382118448c7c2a452dafac0db5130f) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dtc: update to latest git versionMatthew McClintock2011-11-074-82/+9
| | | | | | | | | | | Also remove patches that are no longer needed, as well as use the installation that is provided by the Makefile. Put all the extra stuff in a new dtc-misc package (From OE-Core rev: 43213fd610da7b550e6d738e224b49004776f799) Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Drop PRIORITY variableRichard Purdie2011-07-011-1/+0
| | | | | | | | | | | | | | | | As discussed on the mailing list, this variable isn't useful and if wanted would be better implemented by distros using pn-X overrides. This patch executes: find . -regex ".*\.\(bb\|inc\)$" | xargs sed -i '/^PRIORITY = ".*"$/d' against the tree removing the referenced. Thanks to Phil Blundell for the command. (From OE-Core rev: d122343362669c683acc4af295971a62cbc823fc) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dtc: Cleanup and update recipeSaul Wold2011-06-016-20/+21
| | | | | | | (From OE-Core rev: 22988891bd66f4e65ba47b7e5eb261da281e6cba) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dtc: fix compilation with gcc 4.6.0Nitin A Kamble2011-05-112-2/+54
| | | | | | | (From OE-Core rev: e5cb0d5101f4bbfb516236fa95a1b50e27a2d21c) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* poky-default-revisions: move the SRCREV to recipe fileYu Ke2011-05-041-0/+2
| | | | | | | | | in this case, those non poky distro can also use these recipe normally (From OE-Core rev: 0a57bd226cdb8332707fa0f46fcf0b067f03701a) Signed-off-by: Yu Ke <ke.yu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dtc: add LIC_FILES_CHKSUM to dtc-nativeBruce Ashfield2011-02-091-0/+3
| | | | | | | | | The new license processing rules error if dtc-native itself doesn't have license information. Previously only the .inc files contained this information, so we make a copy and leave the existing license info to be removed pending further review. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* dtc: add patch to remove -Os for PPCSaul Wold2011-01-023-1/+18
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* recipes-kernel: Update SUMMARY and DESCRIPTIONMark Hatle2010-12-161-0/+1
| | | | | | Add missing SUMMARY and updated DESCRIPTION fields if necessary Signed-off-by: Mark Hatle <mark.hatle@windriver.com>