mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-29 13:31:43 -09:00
package/fbtft: remove package
The fbtft linux extension was only needed for very old kernels (<4.0) that are no longer available in Buildroot. Let's therefore remove it. Signed-off-by: Titouan Christophe <titouan.christophe@mind.be> Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
committed by
Julien Olivain
parent
56e4b43301
commit
0ad6f18547
@@ -55,27 +55,6 @@ config BR2_LINUX_KERNEL_EXT_RTAI
|
||||
help
|
||||
RTAI Kernel part.
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
# fbtft
|
||||
config BR2_LINUX_KERNEL_EXT_FBTFT
|
||||
bool "FB TFT drivers"
|
||||
select BR2_PACKAGE_FBTFT
|
||||
help
|
||||
Linux Framebuffer drivers for small TFT LCD display modules,
|
||||
e.g. Adafruit PiTFT displays for Raspberry Pi (this extra
|
||||
package is only needed for linux kernels until v3.19, since
|
||||
v4.0 the drivers are included in the staging area).
|
||||
|
||||
To enable fbtft, e.g. for Adafruit 2.8 PiTFT, enable the
|
||||
following kernel configurations:
|
||||
- CONFIG_SPI
|
||||
- CONFIG_GPIOLIB
|
||||
- CONFIG_FB
|
||||
- CONFIG_FB_TFT
|
||||
- CONFIG_FB_TFT_ILI9341
|
||||
|
||||
https://github.com/notro/fbtft
|
||||
|
||||
# kernel extensions from br2-external trees, if any
|
||||
source "$BR2_BASE_DIR/.br2-external.in.linux"
|
||||
|
||||
|
||||
@@ -1,22 +0,0 @@
|
||||
################################################################################
|
||||
#
|
||||
# Patch the linux kernel with fbtft extension
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LINUX_EXTENSIONS += fbtft
|
||||
|
||||
# for linux >= 3.15 install to drivers/video/fbdev/fbtft
|
||||
# for linux < 3.15 install to drivers/video/fbtft
|
||||
define FBTFT_PREPARE_KERNEL
|
||||
if [ -e $(LINUX_DIR)/drivers/video/fbdev ]; then \
|
||||
dest=drivers/video/fbdev ; \
|
||||
else \
|
||||
dest=drivers/video ; \
|
||||
fi ; \
|
||||
mkdir -p $(LINUX_DIR)/$${dest}/fbtft; \
|
||||
cp -dpfr $(FBTFT_DIR)/* $(LINUX_DIR)/$${dest}/fbtft/ ; \
|
||||
echo "source \"$${dest}/fbtft/Kconfig\"" \
|
||||
>> $(LINUX_DIR)/$${dest}/Kconfig ; \
|
||||
echo 'obj-y += fbtft/' >> $(LINUX_DIR)/$${dest}/Makefile
|
||||
endef
|
||||
Reference in New Issue
Block a user