fix 2.6.16 issues, from mini_fo git repository
[openwrt.git] / target / linux / package / mini_fo / Makefile
1 # $Id$
2
3 include $(TOPDIR)/rules.mk
4 include ../../rules.mk
5
6 PKG_NAME := mini_fo
7 PKG_VERSION := 0.6.2pre1
8 PKG_RELEASE := 1
9 PKG_MD5SUM := acd12157be25d7b3c8df90914049403e
10
11 PKG_SOURCE_URL := http://www.denx.de/twiki/pub/Know/MiniFOHome/
12 PKG_SOURCE := mini_fo-0-6-2-pre1.tar.bz2
13 PKG_CAT := bzcat
14
15 PKG_BUILD_DIR := $(BUILD_DIR)/mini_fo-0-6-2-pre1
16 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
17
18 include $(TOPDIR)/package/rules.mk
19
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))))
21
22 $(PKG_BUILD_DIR)/.configured:
23 touch $@
24
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)" \
31 KERNEL_SRC="$(LINUX_DIR)" \
32 all
33 touch $@
34
35 $(IPKG_KMOD_MINI_FO):
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) $(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)
42
This page took 0.042486 seconds and 5 git commands to generate.