3 include $(TOPDIR
)/rules.mk
7 PKG_VERSION
:= 0.6.2pre1
9 PKG_MD5SUM
:= acd12157be25d7b3c8df90914049403e
11 PKG_SOURCE_URL
:= http
://www.denx.de
/twiki
/pub
/Know
/MiniFOHome
/
12 PKG_SOURCE
:= mini_fo-0-6-2-pre1.
tar.bz2
15 PKG_BUILD_DIR
:= $(BUILD_DIR
)/mini_fo-0-6-2-pre1
16 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
18 include $(TOPDIR
)/package
/rules.mk
20 $(eval
$(call PKG_template
,KMOD_MINI_FO
,kmod-mini-fo
,$(LINUX_VERSION
)+$(PKG_VERSION
)-$(BOARD
)-$(PKG_RELEASE
),$(ARCH
),kernel
($(LINUX_VERSION
)-$(BOARD
)-$(LINUX_RELEASE
))))
22 $(PKG_BUILD_DIR
)/.configured
:
25 $(PKG_BUILD_DIR
)/.built
:
26 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
27 PATH
="$(TARGET_PATH)" \
28 ARCH
="$(LINUX_KARCH)" \
29 CROSS_COMPILE
="$(TARGET_CROSS)" \
30 KERNELVERSION
="$(KERNEL_VERSION)" \
31 KERNEL_SRC
="$(LINUX_DIR)" \
36 install -m0755
-d
$(IDIR_KMOD_MINI_FO
)/lib
/modules
/$(LINUX_VERSION
)
37 install -m0755
-d
$(IDIR_KMOD_MINI_FO
)/etc
/modules.d
38 cp
-fpR
$(PKG_BUILD_DIR
)/mini_fo.
$(LINUX_KMOD_SUFFIX
) \
39 $(IDIR_KMOD_MINI_FO
)/lib
/modules
/$(LINUX_VERSION
)/
40 echo
"mini_fo" > $(IDIR_KMOD_MINI_FO
)/etc
/modules.d
/15-mini-fo
41 $(IPKG_BUILD
) $(IDIR_KMOD_MINI_FO
) $(PACKAGE_DIR
)