do not treat warnings as errors for madwifi (needed for gcc4)
[openwrt.git] / openwrt / target / linux / package / fuse / Makefile
1 # $Id$
2
3 include $(TOPDIR)/rules.mk
4 include ../../rules.mk
5
6 PKG_NAME:=fuse
7 PKG_VERSION:=2.4.1
8 PKG_RELEASE:=1
9 PKG_MD5SUM:=553bd9c5a4f3cd27f3e2b93844711e4c
10
11 PKG_SOURCE_URL:=@SF/$(PKG_NAME)
12 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
13 PKG_CAT:=zcat
14
15 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
16 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
17
18 include $(TOPDIR)/package/rules.mk
19
20 $(eval $(call PKG_template,KMOD_FUSE,kmod-fuse,$(LINUX_VERSION)+$(PKG_VERSION)-$(BOARD)-$(PKG_RELEASE),$(ARCH),kernel ($(LINUX_VERSION)-$(BOARD)-$(LINUX_RELEASE))))
21
22 $(PKG_BUILD_DIR)/.configured:
23 (cd $(PKG_BUILD_DIR); \
24 rm -rf config.{cache,status} ; \
25 touch configure.in ; \
26 touch aclocal.m4 ; \
27 touch Makefile.in ; \
28 touch include/config.h.in ; \
29 touch configure ; \
30 $(TARGET_CONFIGURE_OPTS) \
31 ./configure \
32 --target=$(GNU_TARGET_NAME) \
33 --host=$(GNU_TARGET_NAME) \
34 --build=$(GNU_HOST_NAME) \
35 --program-prefix="" \
36 --program-suffix="" \
37 --prefix=/usr \
38 --exec-prefix=/usr \
39 --bindir=/usr/bin \
40 --datadir=/usr/share \
41 --includedir=/usr/include \
42 --infodir=/usr/share/info \
43 --libdir=/usr/lib \
44 --libexecdir=/usr/lib \
45 --localstatedir=/var \
46 --mandir=/usr/share/man \
47 --sbindir=/usr/sbin \
48 --sysconfdir=/etc \
49 $(DISABLE_LARGEFILE) \
50 $(DISABLE_NLS) \
51 --enable-shared \
52 --enable-static \
53 --disable-rpath \
54 --enable-kernel-module \
55 --disable-lib \
56 --disable-util \
57 --disable-example \
58 --disable-auto-modprobe \
59 --with-kernel=$(LINUX_DIR) \
60 --disable-mtab \
61 );
62 touch $@
63
64 $(PKG_BUILD_DIR)/.built:
65 mkdir -p $(PKG_INSTALL_DIR)
66 $(MAKE) -C $(PKG_BUILD_DIR) \
67 ARCH="$(LINUX_KARCH)" \
68 CROSS_COMPILE="$(TARGET_CROSS)" \
69 PATH="$(TARGET_PATH)" \
70 DESTDIR="$(PKG_INSTALL_DIR)" \
71 SUBDIRS="kernel" \
72 all install
73 touch $@
74
75 $(IPKG_KMOD_FUSE):
76 mkdir -p $(IDIR_KMOD_FUSE)/lib/modules/$(LINUX_VERSION)
77 cp -fpR $(PKG_INSTALL_DIR)/lib/modules/$(LINUX_VERSION)/kernel/fs/fuse/fuse.$(LINUX_KMOD_SUFFIX) \
78 $(IDIR_KMOD_FUSE)/lib/modules/$(LINUX_VERSION)/
79 $(IPKG_BUILD) $(IDIR_KMOD_FUSE) $(PACKAGE_DIR)
80
This page took 0.054516 seconds and 5 git commands to generate.