diff options
author | John Crispin <blogic@openwrt.org> | 2012-10-17 22:45:58 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2012-10-17 22:45:58 +0000 |
commit | 16ed01db05cf25221a62baf3c8eba135f933a6b1 (patch) | |
tree | 405d52924fbc92967e8681bcca5e9c17d35aab8c /package/mmc_over_gpio/Makefile | |
parent | 2372b1dbdb253065274b8a54846149d634bcea14 (diff) | |
download | master-187ad058-16ed01db05cf25221a62baf3c8eba135f933a6b1.tar.gz master-187ad058-16ed01db05cf25221a62baf3c8eba135f933a6b1.tar.bz2 master-187ad058-16ed01db05cf25221a62baf3c8eba135f933a6b1.zip |
[kernel] move lots of kernel related packages to the new system/ folder
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33830 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mmc_over_gpio/Makefile')
-rw-r--r-- | package/mmc_over_gpio/Makefile | 78 |
1 files changed, 0 insertions, 78 deletions
diff --git a/package/mmc_over_gpio/Makefile b/package/mmc_over_gpio/Makefile deleted file mode 100644 index 03096ad033..0000000000 --- a/package/mmc_over_gpio/Makefile +++ /dev/null @@ -1,78 +0,0 @@ -# -# Copyright (C) 2008 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. - -include $(TOPDIR)/rules.mk -include $(INCLUDE_DIR)/kernel.mk - -PKG_NAME:=mmc-over-gpio -PKG_RELEASE:=4 - -include $(INCLUDE_DIR)/package.mk - - -define KernelPackage/mmc-over-gpio - SUBMENU:=Other modules - DEPENDS:=@GPIO_SUPPORT +kmod-mmc-spi +kmod-spi-gpio-old - KCONFIG:=CONFIG_GPIOMMC \ - CONFIG_CONFIGFS_FS=y - TITLE:=MMC/SD card over GPIO support - FILES:=$(LINUX_DIR)/drivers/mmc/host/gpiommc.ko - AUTOLOAD:=$(call AutoLoad,93,gpiommc) - MENU:=1 -endef - -define Package/kmod-mmc-over-gpio/config - menu "Configuration" - depends PACKAGE_kmod-mmc-over-gpio - - config KMOD_MMC_OVER_GPIO_DI_PIN - int "GPIO DI (Data-In) pin" - default 1 - - config KMOD_MMC_OVER_GPIO_DO_PIN - int "GPIO DO (Data-Out) pin" - default 3 - - config KMOD_MMC_OVER_GPIO_CLK_PIN - int "GPIO CLK (Clock) pin" - default 4 - - config KMOD_MMC_OVER_GPIO_CS_PIN - int "GPIO CS (Chip-Select) pin" - default 7 - - endmenu -endef - -define KernelPackage/mmc-over-gpio/description - Support for driving an MMC/SD card over GPIO pins via SPI. -endef - -define KernelPackage/mmc-over-gpio/conffiles -/etc/config/mmc_over_gpio -endef - -define Build/Prepare - mkdir -p $(PKG_BUILD_DIR) -endef - -define Build/Compile -endef - -define KernelPackage/mmc-over-gpio/install - $(INSTALL_DIR) $(1)/etc/config - $(INSTALL_DATA) ./files/mmc_over_gpio.config $(1)/etc/config/mmc_over_gpio - $(INSTALL_DIR) $(1)/etc/init.d - $(INSTALL_BIN) ./files/mmc_over_gpio.init $(1)/etc/init.d/mmc_over_gpio - - $(SED) 's,@GPIO_DI_PIN@,$(CONFIG_KMOD_MMC_OVER_GPIO_DI_PIN),g' \ - -e 's,@GPIO_DO_PIN@,$(CONFIG_KMOD_MMC_OVER_GPIO_DO_PIN),g' \ - -e 's,@GPIO_CLK_PIN@,$(CONFIG_KMOD_MMC_OVER_GPIO_CLK_PIN),g' \ - -e 's,@GPIO_CS_PIN@,$(CONFIG_KMOD_MMC_OVER_GPIO_CS_PIN),g' \ - $(1)/etc/config/mmc_over_gpio -endef - -$(eval $(call KernelPackage,mmc-over-gpio)) |