Explorar el Código

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>
Titouan Christophe hace 4 meses
padre
commit
0ad6f18547

+ 7 - 0
Config.in.legacy

@@ -146,6 +146,13 @@ endif
 
 
 comment "Legacy options removed in 2025.11"
 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
 config BR2_PACKAGE_DMENU_WAYLAND
 	bool "dmenu-wayland has been removed"
 	bool "dmenu-wayland has been removed"
 	select BR2_LEGACY
 	select BR2_LEGACY

+ 1 - 2
docs/manual/adding-packages-linux-kernel-spec-infra.adoc

@@ -99,8 +99,7 @@ tree. The Buildroot's Linux kernel extensions infrastructure provides
 a simple solution to automatically do this, just after the kernel
 a simple solution to automatically do this, just after the kernel
 sources are extracted and before the kernel patches are
 sources are extracted and before the kernel patches are
 applied. Examples of extensions packaged using this mechanism are the
 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+.
 Let's look at an example on how to add a new Linux extension +foo+.
 
 

+ 0 - 21
linux/Config.ext.in

@@ -55,27 +55,6 @@ config BR2_LINUX_KERNEL_EXT_RTAI
 	help
 	help
 	  RTAI Kernel part.
 	  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
 # kernel extensions from br2-external trees, if any
 source "$BR2_BASE_DIR/.br2-external.in.linux"
 source "$BR2_BASE_DIR/.br2-external.in.linux"
 
 

+ 0 - 22
linux/linux-ext-fbtft.mk

@@ -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

+ 0 - 1
package/Config.in

@@ -505,7 +505,6 @@ endmenu
 	source "package/eudev/Config.in"
 	source "package/eudev/Config.in"
 	source "package/evemu/Config.in"
 	source "package/evemu/Config.in"
 	source "package/evtest/Config.in"
 	source "package/evtest/Config.in"
-	source "package/fbtft/Config.in"
 	source "package/flashrom/Config.in"
 	source "package/flashrom/Config.in"
 	source "package/fmtools/Config.in"
 	source "package/fmtools/Config.in"
 	source "package/freeipmi/Config.in"
 	source "package/freeipmi/Config.in"

+ 0 - 13
package/fbtft/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

+ 0 - 3
package/fbtft/fbtft.hash

@@ -1,3 +0,0 @@
-# locally computed
-sha256  0e81de89fdd7ab810716fc0549e767527f342e829309dee5c2cca1e9d1728770  fbtft-274035404701245e7491c0c6471c5b72ade4d491.tar.gz
-sha256  a9ca80d65a5ef10fe614a6c1e8c8d4d3b96637e8855a96c7cf0fa438526097a7  fbtft-core.c

+ 0 - 12
package/fbtft/fbtft.mk

@@ -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))

+ 0 - 3
utils/checksymbolslib/test_makefile.py

@@ -250,9 +250,6 @@ check_filename = [
     ('fs/cramfs/cramfs.mk',
     ('fs/cramfs/cramfs.mk',
      'fs/cramfs/cramfs.mk',
      'fs/cramfs/cramfs.mk',
      True),
      True),
-    ('linux/linux-ext-fbtft.mk',
-     'linux/linux-ext-fbtft.mk',
-     True),
     ('package/ace/ace.mk',
     ('package/ace/ace.mk',
      'package/ace/ace.mk',
      'package/ace/ace.mk',
      True),
      True),