2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
10 include $(INCLUDE_DIR
)/kernel.mk
13 PKG_VERSION
:=0.6.2pre1
15 PKG_MD5SUM
:=acd12157be25d7b3c8df90914049403e
17 PKG_BUILD_DIR
:=$(BUILD_DIR
)/mini_fo-0-6-2-pre1
18 PKG_SOURCE_URL
:=http
://www.denx.de
/twiki
/pub
/Know
/MiniFOHome
/
19 PKG_SOURCE
:=mini_fo-0-6-2-pre1.
tar.bz2
22 include $(INCLUDE_DIR
)/package.mk
24 define Package
/kmod-mini-fo
28 TITLE
:=The mini fanout overlay file system
29 DESCRIPTION
:=The mini fanout overlay file system
30 URL
:=http
://www.denx.de
/wiki
/Know.MiniFOHome
31 VERSION
:=$(LINUX_VERSION
)+$(PKG_VERSION
)-$(BOARD
)-$(PKG_RELEASE
)
35 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
36 PATH
="$(TARGET_PATH)" \
37 ARCH
="$(LINUX_KARCH)" \
38 CROSS_COMPILE
="$(TARGET_CROSS)" \
39 KERNELVERSION
="$(KERNEL)" \
40 KERNEL_SRC
="$(LINUX_DIR)" \
44 define Package
/kmod-mini-fo
/install
45 install -m0755
-d
$(1)/lib
/modules
/$(LINUX_VERSION
)
46 $(CP
) $(PKG_BUILD_DIR
)/mini_fo.
$(LINUX_KMOD_SUFFIX
) \
47 $(1)/lib
/modules
/$(LINUX_VERSION
)/
48 install -m0755
-d
$(1)/etc
/modules.d
49 echo
"mini_fo" > $(1)/etc
/modules.d
/15-mini-fo
52 $(eval
$(call BuildPackage
,kmod-mini-fo
))