Skip to contentSkip to conversation

package/xenomai: set 'custom' as version in case of tarball

PATCH New Thomas De Schampheleire 2 participants 3 messages Jan 31, 2021 – Feb 3, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/xenomai: set 'custom' as version in case of tarball

From: Thomas De Schampheleire <[email protected]>

When BR2_PACKAGE_XENOMAI_CUSTOM_TARBALL is selected, the xenomai package declared an empty version, which among others means that the build directory becomes output/build/xenomai without any version specification, and empty version information in 'xenomai-show-info'.

Other packages that allow a custom tarball, like 'linux' and 'arm-trusted-firmware', specify 'custom' as version in this case.

Adapt the xenomai package accordingly.

---
 package/xenomai/Config.in | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
package/xenomai/Config.in +4 -2
index 452b452039..b655733528 100644
@@ -69,9 +69,11 @@ config BR2_PACKAGE_XENOMAI_REPOSITORY
 	depends on BR2_PACKAGE_XENOMAI_CUSTOM_GIT
 
 config BR2_PACKAGE_XENOMAI_VERSION
-	string "Custom Xenomai version" if !BR2_PACKAGE_XENOMAI_LATEST_VERSION
+	string "Custom Xenomai version" if \
+		!BR2_PACKAGE_XENOMAI_LATEST_VERSION && \
+		!BR2_PACKAGE_XENOMAI_CUSTOM_TARBALL
 	default "3.0.10" if BR2_PACKAGE_XENOMAI_LATEST_VERSION
-	depends on !BR2_PACKAGE_XENOMAI_CUSTOM_TARBALL
+	default "custom" if BR2_PACKAGE_XENOMAI_CUSTOM_TARBALL
 
 config BR2_PACKAGE_XENOMAI_CUSTOM_TARBALL_URL
 	string "URL of custom tarball"
Signature · 1 line
2.26.2
#1 lore raw

PATCH 1/1 package/xenomai: set 'custom' as version in case of tarball

Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas De Schampheleire <[email protected]> writes:

From: Thomas De Schampheleire <[email protected]> When BR2_PACKAGE_XENOMAI_CUSTOM_TARBALL is selected, the xenomai package declared an empty version, which among others means that the build directory becomes output/build/xenomai without any version specification, and empty version information in 'xenomai-show-info'.

Quoted 6 lines

Other packages that allow a custom tarball, like 'linux' and 'arm-trusted-firmware', specify 'custom' as version in this case.

Adapt the xenomai package accordingly.

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard
#2 lore raw

PATCH 1/1 package/xenomai: set 'custom' as version in case of tarball

In reply to Thomas De Schampheleire
Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas De Schampheleire <[email protected]> writes:

From: Thomas De Schampheleire <[email protected]> When BR2_PACKAGE_XENOMAI_CUSTOM_TARBALL is selected, the xenomai package declared an empty version, which among others means that the build directory becomes output/build/xenomai without any version specification, and empty version information in 'xenomai-show-info'.

Quoted 6 lines

Other packages that allow a custom tarball, like 'linux' and 'arm-trusted-firmware', specify 'custom' as version in this case.

Adapt the xenomai package accordingly.

Committed to 2020.11.x, thanks.

Signature · 1 line
Bye, Peter Korsgaard