source: trunk/package/mmc_over_gpio/Makefile @ 11887

Last change on this file since 11887 was 11887, checked in by mb, 8 years ago

Update gpiommc to use configfs

File size: 1007 bytes
Line 
1#
2# Copyright (C) 2008 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6
7include $(TOPDIR)/rules.mk
8include $(INCLUDE_DIR)/kernel.mk
9
10PKG_NAME:=mmc-over-gpio
11PKG_RELEASE:=2
12
13include $(INCLUDE_DIR)/package.mk
14
15
16define KernelPackage/mmc-over-gpio
17  SUBMENU:=Other modules
18  DEPENDS:=@GPIO_SUPPORT +kmod-mmc-spi +kmod-spi-gpio
19  KCONFIG:=CONFIG_GPIOMMC CONFIG_CONFIGFS_FS=y
20  TITLE:=MMC/SD card over GPIO support
21  FILES:=$(LINUX_DIR)/drivers/mmc/host/gpiommc.$(LINUX_KMOD_SUFFIX)
22  AUTOLOAD:=$(call AutoLoad,93,spi_gpio gpiommc)
23endef
24
25define KernelPackage/mmc-over-gpio/description
26 Support for driving an MMC/SD card over GPIO pins via SPI.
27endef
28
29define Build/Prepare
30        mkdir -p $(PKG_BUILD_DIR)
31endef
32
33define Build/Compile
34endef
35
36define KernelPackage/mmc-over-gpio/install
37        $(INSTALL_DIR) $(1)/etc/init.d
38        $(INSTALL_BIN) ./files/mmc_over_gpio.init $(1)/etc/init.d/mmc_over_gpio
39endef
40
41$(eval $(call KernelPackage,mmc-over-gpio))
Note: See TracBrowser for help on using the repository browser.