backfire: package/kernel: fix target dependency logic
authorJonas Gorski <jogo@openwrt.org>
Sun, 8 Apr 2012 10:30:10 +0000 (10:30 +0000)
committerJonas Gorski <jogo@openwrt.org>
Sun, 8 Apr 2012 10:30:10 +0000 (10:30 +0000)
!A||!B is always true and was probably not intended.

SVN-Revision: 31217

package/kernel/modules/block.mk
package/kernel/modules/usb.mk

index 475bc4b25a53196a4ffda33ae0caabb0faf84dea..8cf83a5636ab6658db437f960020b4ba5e5e3936 100644 (file)
@@ -10,7 +10,7 @@ BLOCK_MENU:=Block Devices
 define KernelPackage/ata-core
   SUBMENU:=$(BLOCK_MENU)
   TITLE:=Serial and Parallel ATA support
-  DEPENDS:=@PCI_SUPPORT @LINUX_2_6 +kmod-scsi-core @(!TARGET_ubicom32||!TARGET_x86)
+  DEPENDS:=@PCI_SUPPORT @LINUX_2_6 +kmod-scsi-core @(!TARGET_ubicom32&&!TARGET_x86)
   KCONFIG:=CONFIG_ATA
   FILES:=$(LINUX_DIR)/drivers/ata/libata.$(LINUX_KMOD_SUFFIX)
   AUTOLOAD:=$(call AutoLoad,21,libata,1)
index 86a1858ec64b620325e6af90cbb0e15c9ebace44..68335546f0f71b16a87b06853676966722337d62 100644 (file)
@@ -519,7 +519,7 @@ define KernelPackage/usb-storage-extras
   SUBMENU:=$(USB_MENU)
   TITLE:=Extra drivers for usb-storage
   DEPENDS:=@LINUX_2_6 \
-       +!TARGET_ixp4xx_harddisk||!TARGET_orion_harddisk||!TARGET_x86_olpc:kmod-usb-storage
+       +!TARGET_ixp4xx_harddisk&&!TARGET_orion_harddisk&&!TARGET_x86_olpc:kmod-usb-storage
   KCONFIG:= \
        CONFIG_USB_STORAGE_ALAUDA \
        CONFIG_USB_STORAGE_CYPRESS_ATACB \
@@ -680,7 +680,7 @@ $(eval $(call KernelPackage,usb-net-asix))
 
 
 define KernelPackage/usb-net-hso
-$(call KernelPackage/usb-net/Depends,@LINUX_2_6 +!TARGET_rb532||!TARGET_avr32||!TARGET_brcm47xx||!TARGET_lantiq||!TARGET_atheros||!TARGET_adm5120||!TARGET_ar7||!TARGET_ppc40x||!TARGET_ixp4xx||!TARGET_rdc:kmod-rfkill)
+$(call KernelPackage/usb-net/Depends,@LINUX_2_6 +!TARGET_rb532&&!TARGET_avr32&&!TARGET_brcm47xx&&!TARGET_lantiq&&!TARGET_atheros&&!TARGET_adm5120&&!TARGET_ar7&&!TARGET_ppc40x&&!TARGET_ixp4xx&&!TARGET_rdc:kmod-rfkill)
   TITLE:=Kernel module for Option USB High Speed Mobile Devices
   KCONFIG:=CONFIG_USB_HSO
   FILES:= \