set PATH in rules.mk
[openwrt.git] / package / mini_fo / Makefile
1 #
2 # Copyright (C) 2006 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $Id$
8
9 include $(TOPDIR)/rules.mk
10 include $(INCLUDE_DIR)/kernel.mk
11
12 PKG_NAME:=mini_fo
13 PKG_VERSION:=0.6.2pre1
14 PKG_RELEASE:=1
15 PKG_MD5SUM:=acd12157be25d7b3c8df90914049403e
16
17 PKG_BUILD_DIR:=$(BUILD_DIR)/mini_fo-0-6-2-pre1
18 PKG_SOURCE_URL:=http://www.denx.de/twiki/pub/Know/MiniFOHome/
19 PKG_SOURCE:=mini_fo-0-6-2-pre1.tar.bz2
20 PKG_CAT:=bzcat
21
22 include $(INCLUDE_DIR)/package.mk
23
24 define Package/kmod-mini-fo
25 SECTION:=drivers
26 CATEGORY:=Drivers
27 DEPENDS:=
28 TITLE:=The mini fanout overlay file system
29 DESCRIPTION:=The mini fanout overlay file system
30 URL:=http://www.denx.de/wiki/Know.MiniFOHome
31 VERSION:=$(LINUX_VERSION)+$(PKG_VERSION)-$(BOARD)-$(PKG_RELEASE)
32 endef
33
34 define Build/Compile
35 $(MAKE) -C $(PKG_BUILD_DIR) \
36 ARCH="$(LINUX_KARCH)" \
37 CROSS_COMPILE="$(TARGET_CROSS)" \
38 KERNELVERSION="$(KERNEL)" \
39 KERNEL_SRC="$(LINUX_DIR)" \
40 all
41 endef
42
43 define Package/kmod-mini-fo/install
44 install -m0755 -d $(1)/lib/modules/$(LINUX_VERSION)
45 $(CP) $(PKG_BUILD_DIR)/mini_fo.$(LINUX_KMOD_SUFFIX) \
46 $(1)/lib/modules/$(LINUX_VERSION)/
47 install -m0755 -d $(1)/etc/modules.d
48 echo "mini_fo" > $(1)/etc/modules.d/15-mini-fo
49 endef
50
51 $(eval $(call BuildPackage,kmod-mini-fo))
This page took 0.046781 seconds and 5 git commands to generate.