[OpenWrt-Devel,7/9] omap24xx: Remove unmaintained target
diff mbox series

Message ID 20190325152855.3704-8-hauke@hauke-m.de
State Accepted
Delegated to: Hauke Mehrtens
Headers show
Series
  • target: Remove targets depending on kernel 3.18
Related show

Commit Message

Hauke Mehrtens March 25, 2019, 3:28 p.m. UTC
This target only supports kernel 4.1, which is not supported in OpenWrt
any more for multiple releases. It also looks like there is no active
maintainer for this target.
Remove the code and all the packages which are only used by this target.

To add this target to OpenWrt again port it to a recent and supported
kernel version.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
---
 package/kernel/linux/modules/other.mk         |  15 -
 package/kernel/mac80211/Makefile              |  13 +-
 target/linux/omap24xx/Makefile                |  26 --
 .../omap24xx/base-files/etc/config/fstab      |  13 -
 .../omap24xx/base-files/etc/config/network    |  15 -
 .../omap24xx/base-files/etc/config/wireless   |  20 --
 .../etc/hotplug.d/firmware/10-bme-pmm-image   |  17 -
 .../etc/hotplug.d/firmware/20-p54spi-eeprom   |  32 --
 .../omap24xx/base-files/etc/init.d/watchdog   |  17 -
 target/linux/omap24xx/base-files/etc/inittab  |   5 -
 .../linux/omap24xx/base-files/etc/pointercal  |   1 -
 .../base-files/lib/firmware/bc4fw.bin         | Bin 2034 -> 0 bytes
 target/linux/omap24xx/config-4.1              | 290 ------------------
 target/linux/omap24xx/image/Makefile          |  27 --
 target/linux/omap24xx/modules.mk              |  83 -----
 target/linux/omap24xx/profiles/100-n810.mk    |  31 --
 .../linux/omap24xx/profiles/110-n810-gui.mk   |  22 --
 17 files changed, 2 insertions(+), 625 deletions(-)
 delete mode 100644 target/linux/omap24xx/Makefile
 delete mode 100644 target/linux/omap24xx/base-files/etc/config/fstab
 delete mode 100644 target/linux/omap24xx/base-files/etc/config/network
 delete mode 100644 target/linux/omap24xx/base-files/etc/config/wireless
 delete mode 100644 target/linux/omap24xx/base-files/etc/hotplug.d/firmware/10-bme-pmm-image
 delete mode 100644 target/linux/omap24xx/base-files/etc/hotplug.d/firmware/20-p54spi-eeprom
 delete mode 100755 target/linux/omap24xx/base-files/etc/init.d/watchdog
 delete mode 100644 target/linux/omap24xx/base-files/etc/inittab
 delete mode 100644 target/linux/omap24xx/base-files/etc/pointercal
 delete mode 100644 target/linux/omap24xx/base-files/lib/firmware/bc4fw.bin
 delete mode 100644 target/linux/omap24xx/config-4.1
 delete mode 100644 target/linux/omap24xx/image/Makefile
 delete mode 100644 target/linux/omap24xx/modules.mk
 delete mode 100644 target/linux/omap24xx/profiles/100-n810.mk
 delete mode 100644 target/linux/omap24xx/profiles/110-n810-gui.mk

Patch
diff mbox series

diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk
index 220452df9b..f5a210f96b 100644
--- a/package/kernel/linux/modules/other.mk
+++ b/package/kernel/linux/modules/other.mk
@@ -934,21 +934,6 @@  endef
 
 $(eval $(call KernelPackage,random-core))
 
-define KernelPackage/random-omap
-  SUBMENU:=$(OTHER_MENU)
-  TITLE:=Hardware Random Number Generator OMAP support
-  KCONFIG:=CONFIG_HW_RANDOM_OMAP
-  FILES:=$(LINUX_DIR)/drivers/char/hw_random/omap-rng.ko
-  DEPENDS:=@TARGET_omap24xx +kmod-random-core
-  AUTOLOAD:=$(call AutoProbe,random-omap)
-endef
-
-define KernelPackage/random-omap/description
- Kernel module for the OMAP Random Number Generator
- found on OMAP16xx, OMAP2/3/4/5 and AM33xx/AM43xx multimedia processors.
-endef
-
-$(eval $(call KernelPackage,random-omap))
 
 define KernelPackage/random-tpm
   SUBMENU:=$(OTHER_MENU)
diff --git a/package/kernel/mac80211/Makefile b/package/kernel/mac80211/Makefile
index d68738aca5..125598f96d 100644
--- a/package/kernel/mac80211/Makefile
+++ b/package/kernel/mac80211/Makefile
@@ -28,7 +28,7 @@  PKG_DRIVERS = \
 	lib80211 \
 	mac80211-hwsim \
 	mt7601u \
-	p54-common p54-pci p54-spi p54-usb \
+	p54-common p54-pci p54-usb \
 	rsi91x rsi91x-usb rsi91x-sdio\
 	wlcore wl12xx wl18xx \
 	zd1211rw
@@ -275,7 +275,7 @@  endef
 
 define KernelPackage/p54-common
   $(call KernelPackage/p54/Default)
-  DEPENDS+= @PCI_SUPPORT||@USB_SUPPORT||@TARGET_omap24xx +kmod-mac80211 +kmod-lib-crc-ccitt +@DRIVER_11W_SUPPORT
+  DEPENDS+= @PCI_SUPPORT||@USB_SUPPORT +kmod-mac80211 +kmod-lib-crc-ccitt +@DRIVER_11W_SUPPORT
   TITLE+= (COMMON)
   FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/intersil/p54/p54common.ko
 endef
@@ -296,14 +296,6 @@  define KernelPackage/p54-usb
   AUTOLOAD:=$(call AutoProbe,p54usb)
 endef
 
-define KernelPackage/p54-spi
-  $(call KernelPackage/p54/Default)
-  TITLE+= (SPI)
-  DEPENDS+= @TARGET_omap24xx +kmod-p54-common +p54-spi-firmware
-  FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/intersil/p54/p54spi.ko
-  AUTOLOAD:=$(call AutoProbe,p54spi)
-endef
-
 define KernelPackage/rsi91x
   $(call KernelPackage/mac80211/Default)
   TITLE:=Redpine Signals Inc 91x WLAN driver support
@@ -408,7 +400,6 @@  config-y += WL_MEDIATEK
 config-$(call config_package,p54-common) += P54_COMMON
 config-$(call config_package,p54-pci) += P54_PCI
 config-$(call config_package,p54-usb) += P54_USB
-config-$(call config_package,p54-spi) += P54_SPI
 
 config-$(call config_package,hermes) += HERMES
 config-$(call config_package,hermes-pci) += PCI_HERMES