u-boot: add an option to generate u-boot-dtb.bin
[buildroot-gz.git] / linux / linux-ext-xenomai.mk
blob76a9786e4d0822c7215807c88465e17105359c28
1 ################################################################################
2 # Linux Adeos/Xenomai extensions
4 # Patch the linux kernel with xenomai extension
5 ################################################################################
7 LINUX_EXTENSIONS += xenomai
9 # Adeos patch version
10 XENOMAI_ADEOS_PATCH = $(call qstrip,$(BR2_LINUX_KERNEL_EXT_XENOMAI_ADEOS_PATCH))
11 ifeq ($(XENOMAI_ADEOS_PATCH),)
12 XENOMAI_ADEOS_OPTS = --default
13 else
14 XENOMAI_ADEOS_OPTS = --adeos=$(XENOMAI_ADEOS_PATCH)
15 endif
17 # Prepare kernel patch
18 define XENOMAI_PREPARE_KERNEL
19 $(XENOMAI_DIR)/scripts/prepare-kernel.sh \
20 --linux=$(LINUX_DIR) \
21 --arch=$(KERNEL_ARCH) \
22 $(XENOMAI_ADEOS_OPTS) \
23 --verbose
24 endef