summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2008-05-26 22:57:51 +0000
committerNicolas Thill <nico@openwrt.org>2008-05-26 22:57:51 +0000
commitae879baa574b32015b069b2d1d4eb9027c5e0dd0 (patch)
tree81c6b4a300a5db3950f481aa9106182ab3fcd7ac
parent7e9f396980a2e8680e1ebf9131b758a3bc562f53 (diff)
downloadmtk-20170518-ae879baa574b32015b069b2d1d4eb9027c5e0dd0.zip
mtk-20170518-ae879baa574b32015b069b2d1d4eb9027c5e0dd0.tar.gz
mtk-20170518-ae879baa574b32015b069b2d1d4eb9027c5e0dd0.tar.bz2
remove hacks to disable modules on some targets now that we do have proper PCI & USB support detected on all targets at config-time, mark p54 as broken (for too long)
SVN-Revision: 11272
-rw-r--r--package/acx-mac80211/Makefile3
-rw-r--r--package/acx/Makefile5
-rw-r--r--package/kernel/modules/other.mk6
-rw-r--r--package/kernel/modules/sound.mk5
-rw-r--r--package/kernel/modules/video.mk4
-rw-r--r--package/mac80211/Makefile6
-rw-r--r--package/nw802-2.4/Makefile5
-rw-r--r--package/ov51x-jpeg/Makefile3
-rw-r--r--package/p54/Makefile4
-rw-r--r--package/rt2500/Makefile2
10 files changed, 16 insertions, 27 deletions
diff --git a/package/acx-mac80211/Makefile b/package/acx-mac80211/Makefile
index 4c96cdf..d2b6d8a 100644
--- a/package/acx-mac80211/Makefile
+++ b/package/acx-mac80211/Makefile
@@ -27,11 +27,10 @@ PKG_FW_C19_MD5SUM:=a1fa9681e297b4e36e257090fc12265a
include $(INCLUDE_DIR)/package.mk
-# XXX: remove @!TARGET_* later when we have PCI support properly detected on all targets
define KernelPackage/acx-mac80211
SUBMENU:=Wireless Drivers
TITLE:=ACX111 Mac80211 driver
- DEPENDS:=+kmod-mac80211 @!TARGET_atheros @!TARGET_uml @BROKEN
+ DEPENDS:=@LINUX_2_6 @PCI_SUPPORT||TARGET_ar7 +kmod-mac80211 @BROKEN
FILES:=$(PKG_BUILD_DIR)/acx-mac80211.$(LINUX_KMOD_SUFFIX)
AUTOLOAD:=$(call AutoLoad,50,acx-mac80211)
endef
diff --git a/package/acx/Makefile b/package/acx/Makefile
index 107a54f..c1dbe35 100644
--- a/package/acx/Makefile
+++ b/package/acx/Makefile
@@ -1,5 +1,5 @@
#
-# Copyright (C) 2006 OpenWrt.org
+# Copyright (C) 2006-2008 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
@@ -32,10 +32,9 @@ PKG_UNPACK:= \
include $(INCLUDE_DIR)/package.mk
-# XXX: remove @!TARGET_* later when we have PCI support properly detected on all targets
define KernelPackage/acx
TITLE:=Driver for TI ACX1xx chipset
- DEPENDS:=@LINUX_2_6 +wireless-tools @!TARGET_atheros @!TARGET_avr32 @!TARGET_uml
+ DEPENDS:=@LINUX_2_6 @CONFIG_PCI||TARGET_ar7 +wireless-tools
URL:=http://acx100.sourceforge.net/
SUBMENU:=Wireless Drivers
FILES:= $(PKG_BUILD_DIR)/acx.$(LINUX_KMOD_SUFFIX)
diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk
index d7d078d..a096552 100644
--- a/package/kernel/modules/other.mk
+++ b/package/kernel/modules/other.mk
@@ -1,5 +1,5 @@
#
-# Copyright (C) 2006 OpenWrt.org
+# Copyright (C) 2006-2008 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
@@ -154,11 +154,10 @@ endef
$(eval $(call KernelPackage,pcmcia-serial))
-# XXX: remove @!TARGET_* later when we have USB support properly detected on all targets
define KernelPackage/bluetooth
SUBMENU:=$(OTHER_MENU)
TITLE:=Bluetooth support
- DEPENDS:=@USB_SUPPORT @!TARGET_uml
+ DEPENDS:=@USB_SUPPORT
KCONFIG:= \
CONFIG_BLUEZ \
CONFIG_BLUEZ_L2CAP \
@@ -306,7 +305,6 @@ endef
$(eval $(call KernelPackage,softdog))
-# XXX: remove @TARGET_* later when we are able to detect the exact version of the kernel
define KernelPackage/leds-gpio
SUBMENU:=$(OTHER_MENU)
TITLE:=GPIO LED support
diff --git a/package/kernel/modules/sound.mk b/package/kernel/modules/sound.mk
index a697807..547fddc 100644
--- a/package/kernel/modules/sound.mk
+++ b/package/kernel/modules/sound.mk
@@ -1,5 +1,5 @@
#
-# Copyright (C) 2006 OpenWrt.org
+# Copyright (C) 2006-2008 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
@@ -8,11 +8,10 @@
SOUND_MENU:=Sound Support
-# XXX: remove @!TARGET_* later when we have PCI & USB support properly detected on all targets
define KernelPackage/sound-core
SUBMENU:=$(SOUND_MENU)
TITLE:=Sound support
- DEPENDS:=@USB_SUPPORT||PCI_SUPPORT
+ DEPENDS:=@PCI_SUPPORT||USB_SUPPORT
KCONFIG:= \
CONFIG_SOUND \
CONFIG_SND \
diff --git a/package/kernel/modules/video.mk b/package/kernel/modules/video.mk
index bd950e3..da19de6 100644
--- a/package/kernel/modules/video.mk
+++ b/package/kernel/modules/video.mk
@@ -1,5 +1,5 @@
#
-# Copyright (C) 2006 OpenWrt.org
+# Copyright (C) 2006-2008 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
@@ -11,7 +11,7 @@ VIDEO_MENU:=Video Support
define KernelPackage/video-core
SUBMENU:=$(VIDEO_MENU)
TITLE=Video4Linux support
- DEPENDS:= @!TARGET_uml
+ DEPENDS:=@PCI_SUPPORT||USB_SUPPORT
KCONFIG:= \
CONFIG_VIDEO_DEV \
CONFIG_VIDEO_V4L1=y \
diff --git a/package/mac80211/Makefile b/package/mac80211/Makefile
index cd4f936..bbcba63 100644
--- a/package/mac80211/Makefile
+++ b/package/mac80211/Makefile
@@ -19,12 +19,10 @@ PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/compat-wireless-$(PKG_VERSION)
include $(INCLUDE_DIR)/package.mk
-# XXX: remove @!TARGET_* later when we have PCI & USB support properly detected on all targets
-
define KernelPackage/mac80211
SUBMENU:=Wireless Drivers
TITLE:=Linux 802.11 Wireless Networking Stack
- DEPENDS:=@LINUX_2_6_23||LINUX_2_6_24 +kmod-crypto-arc4 +kmod-crypto-aes +wireless-tools
+ DEPENDS:=@LINUX_2_6_23||LINUX_2_6_24||LINUX_2_6_25 +kmod-crypto-arc4 +kmod-crypto-aes +wireless-tools
FILES:= \
$(PKG_BUILD_DIR)/net/mac80211/mac80211.$(LINUX_KMOD_SUFFIX) \
$(PKG_BUILD_DIR)/net/wireless/cfg80211.$(LINUX_KMOD_SUFFIX)
@@ -56,7 +54,7 @@ $(eval $(call Download,rt71w))
define KernelPackage/rt2x00/Default
SUBMENU:=Wireless Drivers
TITLE:=Ralink Drivers for RT2x00 cards
- DEPENDS:=@LINUX_2_6_24 @!TARGET_ar7 @!TARGET_atheros @!TARGET_uml
+ DEPENDS:=@LINUX_2_6_24||LINUX_2_6_25
endef
define KernelPackage/rt2x00-lib
diff --git a/package/nw802-2.4/Makefile b/package/nw802-2.4/Makefile
index f9c2ad4..ff39ad7 100644
--- a/package/nw802-2.4/Makefile
+++ b/package/nw802-2.4/Makefile
@@ -1,5 +1,5 @@
#
-# Copyright (C) 2006 OpenWrt.org
+# Copyright (C) 2006-2008 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
@@ -19,12 +19,11 @@ PKG_MD5SUM:=bf3512efaa48cfa972b16318011c1963
include $(INCLUDE_DIR)/package.mk
-# XXX: remove @!TARGET_* later when we have USB support properly detected on all targets
define KernelPackage/video-nw8xx
SUBMENU:=Video Support
TITLE:=NW8xx based USB webcam support
URL:=http://nw802.sourceforge.net/
- DEPENDS:=@LINUX_2_6 @USB_SUPPORT +kmod-usb-video kmod-video-core @!TARGET_atheros @!TARGET_uml
+ DEPENDS:=@LINUX_2_6 @USB_SUPPORT +kmod-usb-video kmod-video-core
FILES:=$(PKG_BUILD_DIR)/nw8xx.$(LINUX_KMOD_SUFFIX)
AUTOLOAD:=$(call AutoLoad,70,nw8xx)
endef
diff --git a/package/ov51x-jpeg/Makefile b/package/ov51x-jpeg/Makefile
index 4ef1bd2..7bd06d9 100644
--- a/package/ov51x-jpeg/Makefile
+++ b/package/ov51x-jpeg/Makefile
@@ -36,12 +36,11 @@ define Package/ov51x-jpeg-utils/description
Utility programs for the video-ov51x kernel module
endef
-# XXX: remove @!TARGET_* later when we have USB support properly detected on all targets
define KernelPackage/video-ov51x-jpeg
$(call Package/ov51x-jpeg/Default)
SUBMENU:=Video Support
TITLE:=OV51x based USB webcam support (JPEG)
- DEPENDS:=@LINUX_2_6 @USB_SUPPORT +kmod-usb-core kmod-video-core @!TARGET_atheros @!TARGET_uml
+ DEPENDS:=@LINUX_2_6 @USB_SUPPORT +kmod-usb-core kmod-video-core
FILES:=$(PKG_BUILD_DIR)/ov51x-jpeg.$(LINUX_KMOD_SUFFIX)
AUTOLOAD:=$(call AutoLoad,70,ov51x-jpeg)
endef
diff --git a/package/p54/Makefile b/package/p54/Makefile
index df2e404..65e8f23 100644
--- a/package/p54/Makefile
+++ b/package/p54/Makefile
@@ -18,12 +18,10 @@ PKG_FWP54_MD5SUM:=09f9da7ea757173c9de1a0322a1f9782
include $(INCLUDE_DIR)/package.mk
-# XXX: remove @!TARGET_* later when we have PCI & USB support properly detected on all targets
-
define KernelPackage/p54/Default
SUBMENU:=Wireless Drivers
TITLE:=Prism Wireless Support (mac80211)
- DEPENDS:=+kmod-mac80211 @!TARGET_ar7 @!TARGET_atheros @!TARGET_uml
+ DEPENDS:=+kmod-mac80211 @BROKEN
endef
define KernelPackage/p54-common
diff --git a/package/rt2500/Makefile b/package/rt2500/Makefile
index 76d92ca..0b3e013 100644
--- a/package/rt2500/Makefile
+++ b/package/rt2500/Makefile
@@ -22,7 +22,7 @@ include $(INCLUDE_DIR)/package.mk
define KernelPackage/rt2500
SUBMENU:=Wireless Drivers
TITLE:=Driver for Ralink RT2500 pci wireless chipsets
- DEPENDS:=@!LINUX_2_6_24 @!BIG_ENDIAN @USB_SUPPORT +wireless-tools
+ DEPENDS:=@!LINUX_2_6_24&&!LINUX_2_6_25 @!BIG_ENDIAN @USB_SUPPORT +wireless-tools
URL:=http://rt2x00.serialmonkey.com/
FILES:=$(PKG_BUILD_DIR)/Module/rt2500.$(LINUX_KMOD_SUFFIX)
AUTOLOAD:=$(call AutoLoad,50,rt2500)