mirror of
https://git.busybox.net/buildroot
synced 2025-12-20 01:10:56 +08: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
@@ -146,6 +146,13 @@ endif
|
||||
|
||||
comment "Legacy options removed in 2025.11"
|
||||
|
||||
config BR2_LINUX_KERNEL_EXT_FBTFT
|
||||
bool "FB TFT drivers are deprecated"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
FB TFT drivers were only needed for linux kernels until v3.19,
|
||||
since v4.0 the drivers are included in the staging area.
|
||||
|
||||
config BR2_PACKAGE_DMENU_WAYLAND
|
||||
bool "dmenu-wayland has been removed"
|
||||
select BR2_LEGACY
|
||||
|
||||
@@ -99,8 +99,7 @@ tree. The Buildroot's Linux kernel extensions infrastructure provides
|
||||
a simple solution to automatically do this, just after the kernel
|
||||
sources are extracted and before the kernel patches are
|
||||
applied. Examples of extensions packaged using this mechanism are the
|
||||
real-time extensions Xenomai and RTAI, as well as the set of
|
||||
out-of-tree LCD screens drivers +fbtft+.
|
||||
real-time extensions Xenomai and RTAI.
|
||||
|
||||
Let's look at an example on how to add a new Linux extension +foo+.
|
||||
|
||||
|
||||
@@ -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
|
||||
@@ -505,7 +505,6 @@ endmenu
|
||||
source "package/eudev/Config.in"
|
||||
source "package/evemu/Config.in"
|
||||
source "package/evtest/Config.in"
|
||||
source "package/fbtft/Config.in"
|
||||
source "package/flashrom/Config.in"
|
||||
source "package/fmtools/Config.in"
|
||||
source "package/freeipmi/Config.in"
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
# Prompt-less option, because this package is not doing anything
|
||||
# except downloading the FB TFT sources. The real work is done by a
|
||||
# Linux extension.
|
||||
config BR2_PACKAGE_FBTFT
|
||||
bool
|
||||
depends on BR2_LINUX_KERNEL
|
||||
help
|
||||
Linux Framebuffer drivers for small TFT LCD display modules,
|
||||
e.g. Adafruit PiTFT displays for Raspberry Pi.
|
||||
|
||||
This is only the download helper for the kernel patch.
|
||||
|
||||
https://github.com/notro/fbtft
|
||||
@@ -1,3 +0,0 @@
|
||||
# locally computed
|
||||
sha256 0e81de89fdd7ab810716fc0549e767527f342e829309dee5c2cca1e9d1728770 fbtft-274035404701245e7491c0c6471c5b72ade4d491.tar.gz
|
||||
sha256 a9ca80d65a5ef10fe614a6c1e8c8d4d3b96637e8855a96c7cf0fa438526097a7 fbtft-core.c
|
||||
@@ -1,12 +0,0 @@
|
||||
################################################################################
|
||||
#
|
||||
# fbtft
|
||||
#
|
||||
################################################################################
|
||||
|
||||
FBTFT_VERSION = 274035404701245e7491c0c6471c5b72ade4d491
|
||||
FBTFT_SITE = $(call github,notro,fbtft,$(FBTFT_VERSION))
|
||||
FBTFT_LICENSE = GPL-2.0
|
||||
FBTFT_LICENSE_FILES = fbtft-core.c
|
||||
|
||||
$(eval $(generic-package))
|
||||
@@ -250,9 +250,6 @@ check_filename = [
|
||||
('fs/cramfs/cramfs.mk',
|
||||
'fs/cramfs/cramfs.mk',
|
||||
True),
|
||||
('linux/linux-ext-fbtft.mk',
|
||||
'linux/linux-ext-fbtft.mk',
|
||||
True),
|
||||
('package/ace/ace.mk',
|
||||
'package/ace/ace.mk',
|
||||
True),
|
||||
|
||||
Reference in New Issue
Block a user