3 include $(TOPDIR
)/rules.mk
6 PKG_VERSION
:= 0.6.1-pre1
8 PKG_MD5SUM
:= 7e192e01b08023c7f3e63bf1c796bc14
10 PKG_SOURCE_URL
:= http
://www.denx.de
/twiki
/pub
/Know
/MiniFOHome
/
11 PKG_SOURCE
:= mini_fo-0-6-1-pre1.
tar.bz2
14 PKG_BUILD_DIR
:= $(BUILD_DIR
)/mini_fo
15 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
18 KERNEL_DIR
:=$(LINUX_DIR
)
20 KERNEL_VERSION
=$(shell echo
"$(LINUX_VERSION)" | cut
-d.
-f1
,2)
22 include $(TOPDIR
)/package
/rules.mk
24 $(eval
$(call PKG_template
,KMOD_MINI_FO
,kmod-mini-fo
,$(LINUX_VERSION
)-$(BOARD
)-$(PKG_RELEASE
),$(ARCH
),kernel
($(LINUX_VERSION
)-$(BOARD
)-$(KERNEL_RELEASE
))))
26 $(PKG_BUILD_DIR
)/.configured
:
29 $(PKG_BUILD_DIR
)/.built
:
30 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
31 ARCH
="$(LINUX_KARCH)" \
32 KERNELVERSION
="$(KERNEL_VERSION)" \
33 KERNEL_SRC
="$(KERNEL_DIR)" \
38 install -m0755
-d
$(IDIR_KMOD_MINI_FO
)/lib
/modules
/$(LINUX_VERSION
)
39 install -m0755
-d
$(IDIR_KMOD_MINI_FO
)/etc
/modules.d
40 cp
-fpR
$(PKG_BUILD_DIR
)/mini_fo.o \
41 $(IDIR_KMOD_MINI_FO
)/lib
/modules
/$(LINUX_VERSION
)/
42 echo
"mini_fo" > $(IDIR_KMOD_MINI_FO
)/etc
/modules.d
/15-mini-fo
43 $(RSTRIP_KMOD
) $(IDIR_KMOD_MINI_FO
)
44 $(IPKG_BUILD
) $(IDIR_KMOD_MINI_FO
) $(PACKAGE_DIR
)