3 include $(TOPDIR
)/rules.mk
7 PKG_VERSION
:= 0.6.1-pre1
9 PKG_MD5SUM
:= 7e192e01b08023c7f3e63bf1c796bc14
11 PKG_SOURCE_URL
:= http
://www.denx.de
/twiki
/pub
/Know
/MiniFOHome
/
12 PKG_SOURCE
:= mini_fo-0-6-1-pre1.
tar.bz2
15 PKG_BUILD_DIR
:= $(BUILD_DIR
)/mini_fo
16 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
19 KERNEL_DIR
:=$(LINUX_DIR
)
21 KERNEL_VERSION
=$(shell echo
"$(LINUX_VERSION)" | cut
-d.
-f1
,2)
23 include $(TOPDIR
)/package
/rules.mk
25 $(eval
$(call PKG_template
,KMOD_MINI_FO
,kmod-mini-fo
,$(LINUX_VERSION
)-$(BOARD
)-$(PKG_RELEASE
),$(ARCH
),kernel
($(LINUX_VERSION
)-$(BOARD
)-$(KERNEL_RELEASE
))))
27 $(PKG_BUILD_DIR
)/.configured
:
30 $(PKG_BUILD_DIR
)/.built
:
31 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
32 PATH
="$(TARGET_PATH)" \
33 ARCH
="$(LINUX_KARCH)" \
34 KERNELVERSION
="$(KERNEL_VERSION)" \
35 KERNEL_SRC
="$(KERNEL_DIR)" \
40 install -m0755
-d
$(IDIR_KMOD_MINI_FO
)/lib
/modules
/$(LINUX_VERSION
)
41 install -m0755
-d
$(IDIR_KMOD_MINI_FO
)/etc
/modules.d
42 cp
-fpR
$(PKG_BUILD_DIR
)/mini_fo.
$(LINUX_KMOD_SUFFIX
) \
43 $(IDIR_KMOD_MINI_FO
)/lib
/modules
/$(LINUX_VERSION
)/
44 echo
"mini_fo" > $(IDIR_KMOD_MINI_FO
)/etc
/modules.d
/15-mini-fo
45 $(RSTRIP_KMOD
) $(IDIR_KMOD_MINI_FO
)
46 $(IPKG_BUILD
) $(IDIR_KMOD_MINI_FO
) $(PACKAGE_DIR
)