diff options
| author | Martin Schwan <m.schwan@phytec.de> | 2025-11-04 16:07:40 +0100 |
|---|---|---|
| committer | Anuj Mittal <anuj.mittal@oss.qualcomm.com> | 2025-11-12 11:14:57 +0530 |
| commit | 45a60884b8ce7a198d0fe0d970f1b0ff47ee125f (patch) | |
| tree | 108fdd207bb6ff274b76484cb763ef0db27be4d8 /meta-networking/recipes-extended | |
| parent | f5deba31bfe1e85b6c3775522c9f79550696fa53 (diff) | |
| download | meta-openembedded-45a60884b8ce7a198d0fe0d970f1b0ff47ee125f.tar.gz | |
kronosnet: Fetch version tag with BB_GIT_SHALLOW_EXTRA_REFS
Fetch the needed Git tag by using BB_GIT_SHALLOW_EXTRA_REFS. This fixes
the following autotools configuration error:
| build-aux/git-version-gen: WARNING: .gitarchivever doesn't contain valid version tag
| build-aux/git-version-gen: ERROR: Can't find valid version. Please use valid git repository, released tarball or version tagged archive
| configure.ac:22: error: AC_INIT should be called with package and version arguments
Signed-off-by: Martin Schwan <m.schwan@phytec.de>
Signed-off-by: Anuj Mittal <anuj.mittal@oss.qualcomm.com>
Diffstat (limited to 'meta-networking/recipes-extended')
| -rw-r--r-- | meta-networking/recipes-extended/kronosnet/kronosnet_1.24.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-networking/recipes-extended/kronosnet/kronosnet_1.24.bb b/meta-networking/recipes-extended/kronosnet/kronosnet_1.24.bb index cbd5e7a0fd..06807bef47 100644 --- a/meta-networking/recipes-extended/kronosnet/kronosnet_1.24.bb +++ b/meta-networking/recipes-extended/kronosnet/kronosnet_1.24.bb | |||
| @@ -16,6 +16,8 @@ SRC_URI = "git://github.com/kronosnet/kronosnet;protocol=https;branch=stable1 \ | |||
| 16 | file://0001-links.c-Fix-build-with-gcc-12.patch \ | 16 | file://0001-links.c-Fix-build-with-gcc-12.patch \ |
| 17 | " | 17 | " |
| 18 | 18 | ||
| 19 | BB_GIT_SHALLOW_EXTRA_REFS = "refs/tags/v${PV}" | ||
| 20 | |||
| 19 | UPSTREAM_CHECK_URI = "https://github.com/kronosnet/kronosnet/releases" | 21 | UPSTREAM_CHECK_URI = "https://github.com/kronosnet/kronosnet/releases" |
| 20 | 22 | ||
| 21 | inherit autotools pkgconfig | 23 | inherit autotools pkgconfig |
