2005-07-21 02:50:51 +03:00
|
|
|
# $Id$
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
2005-08-18 15:50:14 +03:00
|
|
|
include ../../rules.mk
|
2005-07-21 02:50:51 +03:00
|
|
|
|
|
|
|
PKG_NAME := mini_fo
|
2005-12-25 15:09:15 +02:00
|
|
|
PKG_VERSION := 0.6.2pre1
|
2005-07-21 02:50:51 +03:00
|
|
|
PKG_RELEASE := 1
|
2005-12-25 15:09:15 +02:00
|
|
|
PKG_MD5SUM := acd12157be25d7b3c8df90914049403e
|
2005-07-21 02:50:51 +03:00
|
|
|
|
|
|
|
PKG_SOURCE_URL := http://www.denx.de/twiki/pub/Know/MiniFOHome/
|
2005-12-25 15:09:15 +02:00
|
|
|
PKG_SOURCE := mini_fo-0-6-2-pre1.tar.bz2
|
2005-07-21 02:50:51 +03:00
|
|
|
PKG_CAT := bzcat
|
|
|
|
|
2005-12-25 15:09:15 +02:00
|
|
|
PKG_BUILD_DIR := $(BUILD_DIR)/mini_fo-0-6-2-pre1
|
2005-07-21 02:50:51 +03:00
|
|
|
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
|
|
|
|
|
|
|
|
include $(TOPDIR)/package/rules.mk
|
|
|
|
|
2006-01-10 21:43:00 +02:00
|
|
|
$(eval $(call PKG_template,KMOD_MINI_FO,kmod-mini-fo,$(LINUX_VERSION)+$(PKG_VERSION)-$(BOARD)-$(PKG_RELEASE),$(ARCH),kernel ($(LINUX_VERSION)-$(BOARD)-$(LINUX_RELEASE))))
|
2005-07-21 02:50:51 +03:00
|
|
|
|
|
|
|
$(PKG_BUILD_DIR)/.configured:
|
|
|
|
touch $@
|
|
|
|
|
|
|
|
$(PKG_BUILD_DIR)/.built:
|
|
|
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
2005-09-03 23:51:26 +03:00
|
|
|
PATH="$(TARGET_PATH)" \
|
2005-08-18 11:13:53 +03:00
|
|
|
ARCH="$(LINUX_KARCH)" \
|
2005-11-02 04:42:06 +02:00
|
|
|
CROSS_COMPILE="$(TARGET_CROSS)" \
|
2006-01-11 15:10:58 +02:00
|
|
|
KERNELVERSION="$(KERNEL)" \
|
2006-01-10 21:43:00 +02:00
|
|
|
KERNEL_SRC="$(LINUX_DIR)" \
|
2005-08-18 11:13:53 +03:00
|
|
|
all
|
2005-07-21 02:50:51 +03:00
|
|
|
touch $@
|
|
|
|
|
|
|
|
$(IPKG_KMOD_MINI_FO):
|
|
|
|
install -m0755 -d $(IDIR_KMOD_MINI_FO)/lib/modules/$(LINUX_VERSION)
|
|
|
|
install -m0755 -d $(IDIR_KMOD_MINI_FO)/etc/modules.d
|
2006-02-02 01:53:19 +02:00
|
|
|
$(CP) $(PKG_BUILD_DIR)/mini_fo.$(LINUX_KMOD_SUFFIX) \
|
2005-07-21 02:50:51 +03:00
|
|
|
$(IDIR_KMOD_MINI_FO)/lib/modules/$(LINUX_VERSION)/
|
|
|
|
echo "mini_fo" > $(IDIR_KMOD_MINI_FO)/etc/modules.d/15-mini-fo
|
|
|
|
$(IPKG_BUILD) $(IDIR_KMOD_MINI_FO) $(PACKAGE_DIR)
|
|
|
|
|