1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-12 00:03:44 +02:00

package/kernel: Remove all 2.4 definitions

With no 2.4 support in trunk, we can safely remove any 2.4 definitions for
kmods and merge the 2.6 definitions into the generic ones.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26901 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
acinonyx 2011-05-15 09:37:28 +00:00
parent 5d02fa2bd3
commit 6a05c1cf00
5 changed files with 32 additions and 106 deletions

View File

@ -374,24 +374,10 @@ define KernelPackage/ide-core
CONFIG_BLK_DEV_IDEDMA_PCI=y \ CONFIG_BLK_DEV_IDEDMA_PCI=y \
CONFIG_BLK_DEV_IDEPCI=y CONFIG_BLK_DEV_IDEPCI=y
FILES:= \ FILES:= \
$(LINUX_DIR)/drivers/ide/ide-core.ko $(LINUX_DIR)/drivers/ide/ide-core.ko \
$(LINUX_DIR)/drivers/ide/ide-gd_mod.ko
AUTOLOAD:= \ AUTOLOAD:= \
$(call AutoLoad,20,ide-core,1) $(call AutoLoad,20,ide-core,1) \
endef
define KernelPackage/ide-core/2.4
FILES+= \
$(LINUX_DIR)/drivers/ide/ide-detect.ko \
$(LINUX_DIR)/drivers/ide/ide-disk.ko
AUTOLOAD+= \
$(call AutoLoad,35,ide-detect,1) \
$(call AutoLoad,40,ide-disk,1)
endef
define KernelPackage/ide-core/2.6
FILES+= \
$(LINUX_DIR)/drivers/ide/ide-gd_mod.ko
AUTOLOAD+= \
$(call AutoLoad,40,ide-gd_mod,1) $(call AutoLoad,40,ide-gd_mod,1)
endef endef
@ -399,8 +385,7 @@ define KernelPackage/ide-core/description
Kernel support for IDE, useful for usb mass storage devices (e.g. on WL-HDD) Kernel support for IDE, useful for usb mass storage devices (e.g. on WL-HDD)
Includes: Includes:
- ide-core - ide-core
- ide-detect - ide-gd_mod
- ide-gd_mod (or ide-disk)
endef endef
$(eval $(call KernelPackage,ide-core)) $(eval $(call KernelPackage,ide-core))
@ -417,23 +402,11 @@ define KernelPackage/ide-generic
DEPENDS:=@PCI_SUPPORT DEPENDS:=@PCI_SUPPORT
TITLE:=Kernel support for generic PCI IDE chipsets TITLE:=Kernel support for generic PCI IDE chipsets
KCONFIG:=CONFIG_BLK_DEV_GENERIC KCONFIG:=CONFIG_BLK_DEV_GENERIC
FILES:=$(LINUX_DIR)/drivers/ide/ide-pci-generic.ko
AUTOLOAD:=$(call AutoLoad,30,ide-pci-generic,1)
$(call AddDepends/ide) $(call AddDepends/ide)
endef endef
define KernelPackage/ide-generic/2.4
FILES+= \
$(LINUX_DIR)/drivers/ide/pci/generic.ko
AUTOLOAD+= \
$(call AutoLoad,30,generic,1)
endef
define KernelPackage/ide-generic/2.6
FILES+= \
$(LINUX_DIR)/drivers/ide/ide-pci-generic.ko
AUTOLOAD+= \
$(call AutoLoad,30,ide-pci-generic,1)
endef
$(eval $(call KernelPackage,ide-generic)) $(eval $(call KernelPackage,ide-generic))
@ -458,10 +431,6 @@ define KernelPackage/ide-aec62xx
$(call AddDepends/ide) $(call AddDepends/ide)
endef endef
define KernelPackage/ide-aec62xx/2.4
FILES:=$(LINUX_DIR)/drivers/ide/pci/aec62xx.ko
endef
define KernelPackage/ide-aec62xx/description define KernelPackage/ide-aec62xx/description
Support for Acard AEC62xx (Artop ATP8xx) IDE controllers. Support for Acard AEC62xx (Artop ATP8xx) IDE controllers.
endef endef
@ -478,10 +447,6 @@ define KernelPackage/ide-pdc202xx
$(call AddDepends/ide) $(call AddDepends/ide)
endef endef
define KernelPackage/ide-pdc202xx/2.4
FILES:=$(LINUX_DIR)/drivers/ide/pci/pdc202xx_old.ko
endef
define KernelPackage/ide-pdc202xx/description define KernelPackage/ide-pdc202xx/description
Support for the Promise Ultra 33/66/100 (PDC202{46|62|65|67|68}) IDE Support for the Promise Ultra 33/66/100 (PDC202{46|62|65|67|68}) IDE
controllers. controllers.

View File

@ -342,14 +342,19 @@ define KernelPackage/crypto-misc
FILES:= \ FILES:= \
$(LINUX_DIR)/crypto/anubis.ko \ $(LINUX_DIR)/crypto/anubis.ko \
$(LINUX_DIR)/crypto/blowfish.ko \ $(LINUX_DIR)/crypto/blowfish.ko \
$(LINUX_DIR)/crypto/camellia.ko \
$(LINUX_DIR)/crypto/cast5.ko \ $(LINUX_DIR)/crypto/cast5.ko \
$(LINUX_DIR)/crypto/cast6.ko \ $(LINUX_DIR)/crypto/cast6.ko \
$(if $(findstring y,$(CONFIG_CRYPTO_CRC32C)),,$(LINUX_DIR)/crypto/crc32c.ko) \
$(LINUX_DIR)/crypto/fcrypt.ko \
$(LINUX_DIR)/crypto/khazad.ko \ $(LINUX_DIR)/crypto/khazad.ko \
$(LINUX_DIR)/crypto/md4.ko \ $(LINUX_DIR)/crypto/md4.ko \
$(LINUX_DIR)/crypto/serpent.ko \ $(LINUX_DIR)/crypto/serpent.ko \
$(LINUX_DIR)/crypto/sha256$(SHA256_SUFFIX).ko \ $(LINUX_DIR)/crypto/sha256$(SHA256_SUFFIX).ko \
$(LINUX_DIR)/crypto/sha512$(SHA512_SUFFIX).ko \ $(LINUX_DIR)/crypto/sha512$(SHA512_SUFFIX).ko \
$(LINUX_DIR)/crypto/tea.ko \ $(LINUX_DIR)/crypto/tea.ko \
$(LINUX_DIR)/crypto/tgr192.ko \
$(LINUX_DIR)/crypto/twofish_common.ko \
$(LINUX_DIR)/crypto/wp512.ko $(LINUX_DIR)/crypto/wp512.ko
ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),le,2.6.35)),1) ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),le,2.6.35)),1)
FILES += $(LINUX_DIR)/crypto/twofish.ko FILES += $(LINUX_DIR)/crypto/twofish.ko
@ -359,14 +364,6 @@ define KernelPackage/crypto-misc
$(call AddDepends/crypto) $(call AddDepends/crypto)
endef endef
define KernelPackage/crypto-misc/2.6
FILES+= \
$(LINUX_DIR)/crypto/camellia.ko \
$(if $(findstring y,$(CONFIG_CRYPTO_CRC32C)),,$(LINUX_DIR)/crypto/crc32c.ko) \
$(LINUX_DIR)/crypto/fcrypt.ko \
$(LINUX_DIR)/crypto/tgr192.ko \
$(LINUX_DIR)/crypto/twofish_common.ko
endef
define KernelPackage/crypto-misc/x86 define KernelPackage/crypto-misc/x86
FILES+=$(LINUX_DIR)/arch/x86/crypto/twofish-i586.ko FILES+=$(LINUX_DIR)/arch/x86/crypto/twofish-i586.ko

View File

@ -220,10 +220,6 @@ define KernelPackage/fs-msdos
$(call AddDepends/nls) $(call AddDepends/nls)
endef endef
define KernelPackage/fs-msdos/2.4
FILES:=$(LINUX_DIR)/fs/msdos/msdos.ko
endef
define KernelPackage/fs-msdos/description define KernelPackage/fs-msdos/description
Kernel module for MSDOS filesystem support Kernel module for MSDOS filesystem support
endef endef
@ -359,12 +355,6 @@ define KernelPackage/fs-vfat
$(call AddDepends/nls) $(call AddDepends/nls)
endef endef
define KernelPackage/fs-vfat/2.4
FILES:= \
$(LINUX_DIR)/fs/fat/fat.ko \
$(LINUX_DIR)/fs/vfat/vfat.ko
endef
define KernelPackage/fs-vfat/description define KernelPackage/fs-vfat/description
Kernel module for VFAT filesystem support Kernel module for VFAT filesystem support
endef endef

View File

@ -16,24 +16,6 @@ define KernelPackage/pcmcia-core
CONFIG_CARDBUS \ CONFIG_CARDBUS \
CONFIG_PCCARD \ CONFIG_PCCARD \
PCMCIA_DEBUG=n PCMCIA_DEBUG=n
endef
define KernelPackage/pcmcia-core/2.4
# KCONFIG:= \
# CONFIG_PCMCIA \
# CONFIG_CARDBUS
FILES:= \
$(LINUX_DIR)/drivers/pcmcia/pcmcia_core.ko \
$(LINUX_DIR)/drivers/pcmcia/ds.ko \
$(LINUX_DIR)/drivers/pcmcia/yenta_socket.ko
AUTOLOAD:=$(call AutoLoad,25,pcmcia_core ds yenta_socket)
endef
define KernelPackage/pcmcia-core/2.6
# KCONFIG:= \
# CONFIG_PCCARD \
# CONFIG_PCMCIA \
# PCMCIA_DEBUG=n
FILES:= \ FILES:= \
$(LINUX_DIR)/drivers/pcmcia/pcmcia_core.ko \ $(LINUX_DIR)/drivers/pcmcia/pcmcia_core.ko \
$(LINUX_DIR)/drivers/pcmcia/pcmcia.ko $(LINUX_DIR)/drivers/pcmcia/pcmcia.ko

View File

@ -22,34 +22,7 @@ endef
$(eval $(call KernelPackage,pcspkr)) $(eval $(call KernelPackage,pcspkr))
define KernelPackage/sound-core # allow targets to override the soundcore stuff
SUBMENU:=$(SOUND_MENU)
TITLE:=Sound support
DEPENDS:=@AUDIO_SUPPORT
KCONFIG:= \
CONFIG_SOUND \
CONFIG_SND \
CONFIG_SND_HWDEP \
CONFIG_SND_RAWMIDI \
CONFIG_SND_TIMER \
CONFIG_SND_PCM \
CONFIG_SND_SEQUENCER \
CONFIG_SND_VIRMIDI \
CONFIG_SND_SEQ_DUMMY \
CONFIG_SND_SEQUENCER_OSS=y \
CONFIG_HOSTAUDIO \
CONFIG_SND_PCM_OSS \
CONFIG_SND_MIXER_OSS \
CONFIG_SOUND_OSS_CORE_PRECLAIM=y
$(call AddDepends/input)
endef
define KernelPackage/sound-core/2.4
FILES:=$(LINUX_DIR)/drivers/sound/soundcore.ko
AUTOLOAD:=$(call AutoLoad,30,soundcore)
endef
# allow 2.6 targets to override the soundcore stuff
SOUNDCORE_LOAD ?= \ SOUNDCORE_LOAD ?= \
soundcore \ soundcore \
snd \ snd \
@ -74,9 +47,28 @@ SOUNDCORE_FILES ?= \
$(LINUX_DIR)/sound/core/oss/snd-mixer-oss.ko \ $(LINUX_DIR)/sound/core/oss/snd-mixer-oss.ko \
$(LINUX_DIR)/sound/core/oss/snd-pcm-oss.ko $(LINUX_DIR)/sound/core/oss/snd-pcm-oss.ko
define KernelPackage/sound-core/2.6 define KernelPackage/sound-core
SUBMENU:=$(SOUND_MENU)
TITLE:=Sound support
DEPENDS:=@AUDIO_SUPPORT
KCONFIG:= \
CONFIG_SOUND \
CONFIG_SND \
CONFIG_SND_HWDEP \
CONFIG_SND_RAWMIDI \
CONFIG_SND_TIMER \
CONFIG_SND_PCM \
CONFIG_SND_SEQUENCER \
CONFIG_SND_VIRMIDI \
CONFIG_SND_SEQ_DUMMY \
CONFIG_SND_SEQUENCER_OSS=y \
CONFIG_HOSTAUDIO \
CONFIG_SND_PCM_OSS \
CONFIG_SND_MIXER_OSS \
CONFIG_SOUND_OSS_CORE_PRECLAIM=y
FILES:=$(SOUNDCORE_FILES) FILES:=$(SOUNDCORE_FILES)
AUTOLOAD:=$(call AutoLoad,30,$(SOUNDCORE_LOAD)) AUTOLOAD:=$(call AutoLoad,30,$(SOUNDCORE_LOAD))
$(call AddDepends/input)
endef endef
define KernelPackage/sound-core/uml define KernelPackage/sound-core/uml