mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-27 21:26:36 +00:00
linux/linux-ext-xenomai: allow URL for the ADEOS/IPIPE patch
With an URL Buildroot will be able to download the patch automatically. Signed-off-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com> [Thomas: don't strip file:// in the non-download case] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
11ad081737
commit
7aaedc775b
@ -22,18 +22,21 @@ config BR2_LINUX_KERNEL_EXT_XENOMAI
|
|||||||
|
|
||||||
However, it is recommended to use the latest version of the
|
However, it is recommended to use the latest version of the
|
||||||
Adeos/Ipipe patch available at
|
Adeos/Ipipe patch available at
|
||||||
http://download.gna.org/adeos/patches
|
https://xenomai.org/downloads/ipipe/
|
||||||
|
|
||||||
Xenomai is know to support Blackfin, SH4, x86, ARM, NIOS2
|
Xenomai is know to support Blackfin, SH4, x86, ARM, NIOS2
|
||||||
and PowerPC architectures.
|
and PowerPC architectures.
|
||||||
|
|
||||||
config BR2_LINUX_KERNEL_EXT_XENOMAI_ADEOS_PATCH
|
config BR2_LINUX_KERNEL_EXT_XENOMAI_ADEOS_PATCH
|
||||||
string "Path for Adeos patch file"
|
string "Path/URL for Adeos patch file"
|
||||||
depends on BR2_LINUX_KERNEL_EXT_XENOMAI
|
depends on BR2_LINUX_KERNEL_EXT_XENOMAI
|
||||||
help
|
help
|
||||||
Optionally, explicitly specify the Adeos patch to use.
|
Optionally, explicitly specify where to find the Adeos
|
||||||
Download it at http://download.gna.org/adeos/patches
|
patch to use.
|
||||||
and verify that your kernel version in buildroot matches.
|
Examples:
|
||||||
|
https://xenomai.org/downloads/ipipe/v4.x/arm/ipipe-core-4.19.33-arm-2.patch
|
||||||
|
or /home/foo/ipipe-core-4.19.33-arm-2.patch
|
||||||
|
Please verify that your kernel version in Buildroot matches.
|
||||||
|
|
||||||
comment "xenomai needs a uClibc or glibc toolchain w/ threads"
|
comment "xenomai needs a uClibc or glibc toolchain w/ threads"
|
||||||
depends on BR2_PACKAGE_XENOMAI_COBALT_ARCH_SUPPORTS
|
depends on BR2_PACKAGE_XENOMAI_COBALT_ARCH_SUPPORTS
|
||||||
|
@ -8,10 +8,20 @@ LINUX_EXTENSIONS += xenomai
|
|||||||
|
|
||||||
# Adeos patch version
|
# Adeos patch version
|
||||||
XENOMAI_ADEOS_PATCH = $(call qstrip,$(BR2_LINUX_KERNEL_EXT_XENOMAI_ADEOS_PATCH))
|
XENOMAI_ADEOS_PATCH = $(call qstrip,$(BR2_LINUX_KERNEL_EXT_XENOMAI_ADEOS_PATCH))
|
||||||
|
|
||||||
|
ifneq ($(filter ftp://% http://% https://%,$(XENOMAI_ADEOS_PATCH)),)
|
||||||
|
XENOMAI_ADEOS_PATCH_NAME = $(notdir $(XENOMAI_ADEOS_PATCH))
|
||||||
|
XENOMAI_ADEOS_PATCH_PATH = $(LINUX_DL_DIR)/$(XENOMAI_ADEOS_PATCH_NAME)
|
||||||
|
LINUX_EXTRA_DOWNLOADS += $(XENOMAI_ADEOS_PATCH)
|
||||||
|
BR_NO_CHECK_HASH_FOR += $(XENOMAI_ADEOS_PATCH_NAME)
|
||||||
|
else
|
||||||
|
XENOMAI_ADEOS_PATCH_PATH = $(XENOMAI_ADEOS_PATCH)
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(XENOMAI_ADEOS_PATCH),)
|
ifeq ($(XENOMAI_ADEOS_PATCH),)
|
||||||
XENOMAI_ADEOS_OPTS = --default
|
XENOMAI_ADEOS_OPTS = --default
|
||||||
else
|
else
|
||||||
XENOMAI_ADEOS_OPTS = --adeos=$(XENOMAI_ADEOS_PATCH)
|
XENOMAI_ADEOS_OPTS = --adeos=$(XENOMAI_ADEOS_PATCH_PATH)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Prepare kernel patch
|
# Prepare kernel patch
|
||||||
|
Loading…
x
Reference in New Issue
Block a user