mirror of
https://git.busybox.net/buildroot.git
synced 2024-12-02 18:03:39 +08:00
700be8e2a4
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
25 lines
696 B
Makefile
25 lines
696 B
Makefile
################################################################################
|
|
# Linux Adeos/Xenomai extensions
|
|
#
|
|
# Patch the linux kernel with xenomai extension
|
|
################################################################################
|
|
|
|
LINUX_EXTENSIONS += xenomai
|
|
|
|
# Adeos patch version
|
|
XENOMAI_ADEOS_PATCH = $(call qstrip,$(BR2_LINUX_KERNEL_EXT_XENOMAI_ADEOS_PATCH))
|
|
ifeq ($(XENOMAI_ADEOS_PATCH),)
|
|
XENOMAI_ADEOS_OPTS = --default
|
|
else
|
|
XENOMAI_ADEOS_OPTS = --adeos=$(XENOMAI_ADEOS_PATCH)
|
|
endif
|
|
|
|
# Prepare kernel patch
|
|
define XENOMAI_PREPARE_KERNEL
|
|
$(XENOMAI_DIR)/scripts/prepare-kernel.sh \
|
|
--linux=$(LINUX_DIR) \
|
|
--arch=$(KERNEL_ARCH) \
|
|
$(XENOMAI_ADEOS_OPTS) \
|
|
--verbose
|
|
endef
|