more use of the new GPIO_SUPPORT option
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 2 May 2008 00:30:39 +0000 (00:30 +0000)
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 2 May 2008 00:30:39 +0000 (00:30 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10998 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/gpioctl/Makefile
package/mmc_over_gpio/Makefile

index dd8f167..be684f1 100644 (file)
@@ -19,7 +19,7 @@ define Package/gpioctl
   SECTION:=utils
   CATEGORY:=Utilities
   TITLE:=Tool for controlling gpio pins
-  DEPENDS:=@LINUX_2_6&&(@TARGET_ixp4xx||@TARGET_brcm47xx||@TARGET_atheros||@TARGET_adm5120)
+  DEPENDS:=@GPIO_SUPPORT
 endef
 
 define Package/gpioctl/description
index 42c666c..abf8937 100644 (file)
@@ -17,7 +17,7 @@ include $(INCLUDE_DIR)/package.mk
 
 define KernelPackage/mmc-over-gpio
   SUBMENU:=Other modules
-  DEPENDS:=@LINUX_2_6 +kmod-mmc-spi +kmod-spi-gpio @!TARGET_x86
+  DEPENDS:=@GPIO_SUPPORT +kmod-mmc-spi +kmod-spi-gpio
   TITLE:=MMC/SD card over GPIO support
   FILES:=$(PKG_BUILD_DIR)/mmc_over_spigpio.$(LINUX_KMOD_SUFFIX)
   AUTOLOAD:=$(call AutoLoad,93,spi_gpio mmc_over_spigpio)