linux: migrate extensions to use the new infrastructure

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>
This commit is contained in:
Yann E. MORIN 2015-03-14 15:25:21 +01:00 committed by Thomas Petazzoni
parent 9bd541d3b2
commit 700be8e2a4
3 changed files with 3 additions and 21 deletions

View File

@ -4,9 +4,7 @@
# Patch the linux kernel with fbtft extension # Patch the linux kernel with fbtft extension
################################################################################ ################################################################################
ifeq ($(BR2_LINUX_KERNEL_EXT_FBTFT),y) LINUX_EXTENSIONS += fbtft
# Add dependency to fbtft package (download helper for the fbtft source)
LINUX_PATCH_DEPENDENCIES += fbtft
# for linux >= 3.15 install to drivers/video/fbdev/fbtft # for linux >= 3.15 install to drivers/video/fbdev/fbtft
# for linux < 3.15 install to drivers/video/fbtft # for linux < 3.15 install to drivers/video/fbtft
@ -22,7 +20,3 @@ define FBTFT_PREPARE_KERNEL
>> $${dest}/Kconfig ; \ >> $${dest}/Kconfig ; \
echo 'obj-y += fbtft/' >> $${dest}/Makefile echo 'obj-y += fbtft/' >> $${dest}/Makefile
endef endef
LINUX_PRE_PATCH_HOOKS += FBTFT_PREPARE_KERNEL
endif #BR2_LINUX_KERNEL_EXT_FBTFT

View File

@ -4,9 +4,7 @@
# Patch the linux kernel with RTAI extension # Patch the linux kernel with RTAI extension
################################################################################ ################################################################################
ifeq ($(BR2_LINUX_KERNEL_EXT_RTAI),y) LINUX_EXTENSIONS += rtai
# Add dependency to RTAI (user-space) which provide kernel patches
LINUX_PATCH_DEPENDENCIES += rtai
RTAI_PATCH = $(call qstrip,$(BR2_LINUX_KERNEL_EXT_RTAI_PATCH)) RTAI_PATCH = $(call qstrip,$(BR2_LINUX_KERNEL_EXT_RTAI_PATCH))
@ -41,7 +39,3 @@ define RTAI_PREPARE_KERNEL
$(notdir $(RTAI_PATCH)) $(notdir $(RTAI_PATCH))
endef endef
endif endif
LINUX_PRE_PATCH_HOOKS += RTAI_PREPARE_KERNEL
endif #BR2_LINUX_EXT_RTAI

View File

@ -4,9 +4,7 @@
# Patch the linux kernel with xenomai extension # Patch the linux kernel with xenomai extension
################################################################################ ################################################################################
ifeq ($(BR2_LINUX_KERNEL_EXT_XENOMAI),y) LINUX_EXTENSIONS += xenomai
# Add dependency to xenomai (user-space) which provide ksrc part
LINUX_PATCH_DEPENDENCIES += 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))
@ -24,7 +22,3 @@ define XENOMAI_PREPARE_KERNEL
$(XENOMAI_ADEOS_OPTS) \ $(XENOMAI_ADEOS_OPTS) \
--verbose --verbose
endef endef
LINUX_PRE_PATCH_HOOKS += XENOMAI_PREPARE_KERNEL
endif #BR2_LINUX_EXT_XENOMAI