mirror of
https://git.busybox.net/buildroot.git
synced 2024-11-24 05:53:30 +08:00
571f692631
check-package wrongly warns against LINUX_EXTRA_DOWNLOADS var: linux/linux-ext-xenomai.mk:15: possible typo: LINUX_EXTRA_DOWNLOADS -> *XENOMAI* 34 lines processed 1 warnings generated Add a TypoInPackageVariable exclusion comment to remove this warning. Signed-off-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
36 lines
1.1 KiB
Makefile
36 lines
1.1 KiB
Makefile
################################################################################
|
|
#
|
|
# Patch the linux kernel with Adeos/Xenomai extension
|
|
#
|
|
################################################################################
|
|
|
|
LINUX_EXTENSIONS += xenomai
|
|
|
|
# Adeos patch version
|
|
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)
|
|
# check-package TypoInPackageVariable
|
|
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),)
|
|
XENOMAI_ADEOS_OPTS = --default
|
|
else
|
|
XENOMAI_ADEOS_OPTS = --adeos=$(XENOMAI_ADEOS_PATCH_PATH)
|
|
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
|