more use of the new GPIO_SUPPORT option
authorNicolas Thill <nico@openwrt.org>
Fri, 2 May 2008 00:30:39 +0000 (00:30 +0000)
committerNicolas Thill <nico@openwrt.org>
Fri, 2 May 2008 00:30:39 +0000 (00:30 +0000)
SVN-Revision: 10998

package/gpioctl/Makefile
package/mmc_over_gpio/Makefile

index dd8f167a45056ee0318789c65ede81a06efd2052..be684f11faff17436eb6b69470cccb1522a77396 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 42c666cd3c75c07c751d9bae8ab2479250e601ca..abf89379f378b1605e7e6fe4728ecb0aadceec06 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)