diff options
| author | Ricardo Simoes <ricardo.simoes@pt.bosch.com> | 2026-03-19 18:09:02 +0100 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2026-03-19 13:22:59 -0700 |
| commit | 22bbb257ad42aa3f97642b85257439988bcfe2d4 (patch) | |
| tree | a6f9ee0bf9ceaf412c97770401314d6c611eb8f9 | |
| parent | f935c79752159c99ebce465a90fc99b21838d9f6 (diff) | |
| download | meta-openembedded-22bbb257ad42aa3f97642b85257439988bcfe2d4.tar.gz | |
phytool: Refactor recipe
This commit fixes a few issues with the phytool recipe:
- Missing "_git" suffix in the recipe name, as required by [1];
- Missing description, homepage, and bugtracker metadata [2]';
- Missing section metadata, which is improved package management [3];
- As defined by [4], the SRCREV should be defined after the SRC_URI.
[1] https://docs.yoctoproject.org/contributor-guide/recipe-style-guide.html#recipe-naming-conventions
[2] https://docs.yoctoproject.org/contributor-guide/recipe-style-guide.html#required-variables
[3] https://docs.yoctoproject.org/ref-manual/variables.html#term-SECTION
[4] https://docs.yoctoproject.org/contributor-guide/recipe-style-guide.html#recipe-ordering
Signed-off-by: Ricardo Simoes <ricardo.simoes@pt.bosch.com>
Signed-off-by: Mark Jonas <mark.jonas@de.bosch.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-networking/recipes-support/phytool/phytool_git.bb (renamed from meta-networking/recipes-support/phytool/phytool.bb) | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/meta-networking/recipes-support/phytool/phytool.bb b/meta-networking/recipes-support/phytool/phytool_git.bb index 6471f46c28..8a141358e7 100644 --- a/meta-networking/recipes-support/phytool/phytool.bb +++ b/meta-networking/recipes-support/phytool/phytool_git.bb | |||
| @@ -1,11 +1,15 @@ | |||
| 1 | SUMMARY = "PHY interface tool for Linux" | 1 | SUMMARY = "PHY interface tool for Linux" |
| 2 | DESCRIPTION = "A tool to read and write PHY registers on Linux." | ||
| 3 | HOMEPAGE = "https://github.com/wkz/phytool" | ||
| 4 | BUGTRACKER = "https://github.com/wkz/phytool/issues" | ||
| 5 | SECTION = "console/network" | ||
| 6 | |||
| 2 | LICENSE = "GPL-2.0-only" | 7 | LICENSE = "GPL-2.0-only" |
| 3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=39bba7d2cf0ba1036f2a6e2be52fe3f0" | 8 | LIC_FILES_CHKSUM = "file://LICENSE;md5=39bba7d2cf0ba1036f2a6e2be52fe3f0" |
| 4 | 9 | ||
| 5 | PV = "2+git" | 10 | PV = "2+git" |
| 6 | SRCREV = "8882328c08ba2efb13c049812098f1d0cb8adf0c" | ||
| 7 | SRC_URI = "git://github.com/wkz/phytool.git;branch=master;protocol=https" | 11 | SRC_URI = "git://github.com/wkz/phytool.git;branch=master;protocol=https" |
| 8 | 12 | SRCREV = "8882328c08ba2efb13c049812098f1d0cb8adf0c" | |
| 9 | 13 | ||
| 10 | # The Makefile has "$PREFIX/bin" hardcoded into it, hence not using $bindir here | 14 | # The Makefile has "$PREFIX/bin" hardcoded into it, hence not using $bindir here |
| 11 | do_install() { | 15 | do_install() { |
