config BR2_PACKAGE_XENOMAI_CUSTOM_VERSION
bool "Custom version"
+config BR2_PACKAGE_XENOMAI_CUSTOM_TARBALL
+ bool "Custom tarball"
+
endchoice
config BR2_PACKAGE_XENOMAI_VERSION
string "Custom Xenomai version" if !BR2_PACKAGE_XENOMAI_LATEST_VERSION
default "3.0.10" if BR2_PACKAGE_XENOMAI_LATEST_VERSION
+ depends on !BR2_PACKAGE_XENOMAI_CUSTOM_TARBALL
+
+config BR2_PACKAGE_XENOMAI_CUSTOM_TARBALL_URL
+ string "URL of custom tarball"
+ depends on BR2_PACKAGE_XENOMAI_CUSTOM_TARBALL
choice
prompt "Xenomai core"
################################################################################
XENOMAI_VERSION = $(call qstrip,$(BR2_PACKAGE_XENOMAI_VERSION))
+ifeq ($(BR2_PACKAGE_XENOMAI_CUSTOM_TARBALL),y)
+XENOMAI_TARBALL = $(call qstrip,$(BR2_PACKAGE_XENOMAI_CUSTOM_TARBALL_URL))
+XENOMAI_SOURCE = $(notdir $(XENOMAI_TARBALL))
+XENOMAI_SITE = $(patsubst %/,%,$(dir $(XENOMAI_TARBALL)))
+else
XENOMAI_SOURCE = xenomai-$(XENOMAI_VERSION).tar.bz2
XENOMAI_SITE = http://xenomai.org/downloads/xenomai/stable
+endif
# Exclude all from the hash check, but the latest version.
ifeq ($(BR2_PACKAGE_XENOMAI)$(BR2_PACKAGE_XENOMAI_LATEST_VERSION),y)