move mini_fo from target/linux/package/ to package/.
[openwrt.git] / package / mini_fo / Makefile
1 # $Id$
2
3 include $(TOPDIR)/rules.mk
4 include $(TOPDIR)/package/kernel.mk
5
6 PKG_NAME:=mini_fo
7 PKG_VERSION:=0.6.2pre1
8 PKG_RELEASE:=1
9 PKG_MD5SUM:=acd12157be25d7b3c8df90914049403e
10
11 PKG_SOURCE_URL:=http://www.denx.de/twiki/pub/Know/MiniFOHome/
12 PKG_SOURCE:=mini_fo-0-6-2-pre1.tar.bz2
13 PKG_CAT:=bzcat
14
15 PKG_BUILD_DIR:=$(BUILD_DIR)/mini_fo-0-6-2-pre1
16
17 include $(TOPDIR)/package/rules.mk
18
19 define Package/kmod-mini-fo
20 SECTION:=drivers
21 CATEGORY:=Drivers
22 DEPENDS:=
23 TITLE:=The mini fanout overlay file system
24 DESCRIPTION:=The mini fanout overlay file system
25 URL:=http://www.denx.de/wiki/Know.MiniFOHome
26 VERSION:=$(LINUX_VERSION)+$(PKG_VERSION)-$(BOARD)-$(PKG_RELEASE)
27 endef
28
29 define Build/Compile
30 $(MAKE) -C $(PKG_BUILD_DIR) \
31 PATH="$(TARGET_PATH)" \
32 ARCH="$(LINUX_KARCH)" \
33 CROSS_COMPILE="$(TARGET_CROSS)" \
34 KERNELVERSION="$(KERNEL)" \
35 KERNEL_SRC="$(LINUX_DIR)" \
36 all
37 endef
38
39 define Package/kmod-mini-fo/install
40 install -m0755 -d $(1)/lib/modules/$(LINUX_VERSION)
41 $(CP) $(PKG_BUILD_DIR)/mini_fo.$(LINUX_KMOD_SUFFIX) \
42 $(1)/lib/modules/$(LINUX_VERSION)/
43 install -m0755 -d $(1)/etc/modules.d
44 echo "mini_fo" > $(1)/etc/modules.d/15-mini-fo
45 endef
46
47 $(eval $(call BuildPackage,kmod-mini-fo))
This page took 0.039243 seconds and 5 git commands to generate.