3 include $(TOPDIR
)/rules.mk
4 include $(INCLUDE_DIR
)/kernel.mk
9 PKG_MD5SUM
:=acd12157be25d7b3c8df90914049403e
11 PKG_BUILD_DIR
:=$(BUILD_DIR
)/mini_fo-0-6-2-pre1
12 PKG_SOURCE_URL
:=http
://www.denx.de
/twiki
/pub
/Know
/MiniFOHome
/
13 PKG_SOURCE
:=mini_fo-0-6-2-pre1.
tar.bz2
16 include $(INCLUDE_DIR
)/package.mk
18 define Package
/kmod-mini-fo
22 TITLE
:=The mini fanout overlay file system
23 DESCRIPTION
:=The mini fanout overlay file system
24 URL
:=http
://www.denx.de
/wiki
/Know.MiniFOHome
25 VERSION
:=$(LINUX_VERSION
)+$(PKG_VERSION
)-$(BOARD
)-$(PKG_RELEASE
)
29 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
30 PATH
="$(TARGET_PATH)" \
31 ARCH
="$(LINUX_KARCH)" \
32 CROSS_COMPILE
="$(TARGET_CROSS)" \
33 KERNELVERSION
="$(KERNEL)" \
34 KERNEL_SRC
="$(LINUX_DIR)" \
38 define Package
/kmod-mini-fo
/install
39 install -m0755
-d
$(1)/lib
/modules
/$(LINUX_VERSION
)
40 $(CP
) $(PKG_BUILD_DIR
)/mini_fo.
$(LINUX_KMOD_SUFFIX
) \
41 $(1)/lib
/modules
/$(LINUX_VERSION
)/
42 install -m0755
-d
$(1)/etc
/modules.d
43 echo
"mini_fo" > $(1)/etc
/modules.d
/15-mini-fo
46 $(eval
$(call BuildPackage
,kmod-mini-fo
))