aboutsummaryrefslogtreecommitdiffstats
path: root/package/mmc_over_gpio/Makefile
diff options
context:
space:
mode:
authorMichael Büsch <mb@bu3sch.de>2008-03-21 17:38:16 +0000
committerMichael Büsch <mb@bu3sch.de>2008-03-21 17:38:16 +0000
commit414325c08c3df17b7f67de96ad83eb0bcb5c8cd0 (patch)
tree3b053b78b2f09e854f114697460b3125fe241fc0 /package/mmc_over_gpio/Makefile
parent12b5a779b900708c9b787811c93763b9041282ad (diff)
downloadupstream-414325c08c3df17b7f67de96ad83eb0bcb5c8cd0.tar.gz
upstream-414325c08c3df17b7f67de96ad83eb0bcb5c8cd0.tar.bz2
upstream-414325c08c3df17b7f67de96ad83eb0bcb5c8cd0.zip
mmc_over_gpio: Add initscript that will create a device Note that we should use a config file where we can define an arbitrary number of devices.
SVN-Revision: 10638
Diffstat (limited to 'package/mmc_over_gpio/Makefile')
-rw-r--r--package/mmc_over_gpio/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/package/mmc_over_gpio/Makefile b/package/mmc_over_gpio/Makefile
index 9076525b03..d38fa416e5 100644
--- a/package/mmc_over_gpio/Makefile
+++ b/package/mmc_over_gpio/Makefile
@@ -3,8 +3,6 @@
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
-#
-# $Id: Makefile 10138 2008-01-06 19:28:26Z nbd $
#XXX This package will go away once the stuff is merged into the kernel.
@@ -44,4 +42,9 @@ define Build/Compile
modules
endef
+define KernelPackage/mmc-over-gpio/install
+ $(INSTALL_DIR) $(1)/etc/init.d
+ $(INSTALL_BIN) ./files/mmc_over_gpio.init $(1)/etc/init.d/mmc_over_gpio
+endef
+
$(eval $(call KernelPackage,mmc-over-gpio))