add an explicit 'sysinit' tag for logging initscripts output, instead of '' that...
[openwrt.git] / package / mmc_over_gpio / Makefile
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
7 include $(TOPDIR)/rules.mk
8 include $(INCLUDE_DIR)/kernel.mk
9
10 PKG_NAME:=mmc-over-gpio
11 PKG_RELEASE:=4
12
13 include $(INCLUDE_DIR)/package.mk
14
15
16 define KernelPackage/mmc-over-gpio
17 SUBMENU:=Other modules
18 DEPENDS:=@GPIO_SUPPORT +kmod-mmc-spi +kmod-spi-gpio-old
19 KCONFIG:=CONFIG_GPIOMMC \
20 CONFIG_CONFIGFS_FS=y
21 TITLE:=MMC/SD card over GPIO support
22 FILES:=$(LINUX_DIR)/drivers/mmc/host/gpiommc.$(LINUX_KMOD_SUFFIX)
23 AUTOLOAD:=$(call AutoLoad,93,gpiommc)
24 endef
25
26 define KernelPackage/mmc-over-gpio/description
27 Support for driving an MMC/SD card over GPIO pins via SPI.
28 endef
29
30 define Build/Prepare
31 mkdir -p $(PKG_BUILD_DIR)
32 endef
33
34 define Build/Compile
35 endef
36
37 define KernelPackage/mmc-over-gpio/install
38 $(INSTALL_DIR) $(1)/etc/config
39 $(INSTALL_DATA) ./files/mmc_over_gpio.config $(1)/etc/config/mmc_over_gpio
40 $(INSTALL_DIR) $(1)/etc/init.d
41 $(INSTALL_BIN) ./files/mmc_over_gpio.init $(1)/etc/init.d/mmc_over_gpio
42 endef
43
44 $(eval $(call KernelPackage,mmc-over-gpio))
This page took 0.059661 seconds and 5 git commands to generate.