3 include $(TOPDIR
)/rules.mk
8 PKG_MD5SUM
:=250d89b9c7b6ecf531df60c67f75737d
10 PKG_SOURCE_URL
:=@SF
/$(PKG_NAME
)
11 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
14 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
15 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
18 KERNEL_DIR
:=$(LINUX_DIR
)
21 include $(TOPDIR
)/package
/rules.mk
23 $(eval
$(call PKG_template
,KMOD_FUSE
,kmod-fuse
,$(LINUX_VERSION
)+$(PKG_VERSION
)-$(PKG_RELEASE
),$(ARCH
)))
25 $(PKG_BUILD_DIR
)/.configured
:
26 (cd
$(PKG_BUILD_DIR
); \
27 rm -rf config.
{cache
,status
} ; \
28 touch configure.in
; \
31 touch
include/config.h.in
; \
33 $(TARGET_CONFIGURE_OPTS
) \
34 CFLAGS
="$(TARGET_CFLAGS)" \
36 --target
=$(GNU_TARGET_NAME
) \
37 --host
=$(GNU_TARGET_NAME
) \
38 --build
=$(GNU_HOST_NAME
) \
44 --datadir=/usr
/share \
45 --includedir=/usr
/include \
46 --infodir=/usr
/share
/info \
48 --libexecdir
=/usr
/lib \
49 --localstatedir
=/var \
50 --mandir=/usr
/share
/man \
53 $(DISABLE_LARGEFILE
) \
57 --enable-kernel-module \
61 --disable-auto-modprobe \
62 --with-kernel
=$(KERNEL_DIR
) \
66 $(PKG_BUILD_DIR
)/.built
:
67 mkdir
-p
$(PKG_INSTALL_DIR
)
68 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
69 DESTDIR
="$(PKG_INSTALL_DIR)" \
75 mkdir
-p
$(IDIR_KMOD_FUSE
)/lib
/modules
/$(LINUX_VERSION
)
76 cp
-fpR
$(PKG_INSTALL_DIR
)/lib
/modules
/$(LINUX_VERSION
)/kernel
/fs
/fuse
/fuse.
* \
77 $(IDIR_KMOD_FUSE
)/lib
/modules
/$(LINUX_VERSION
)/
78 $(IPKG_BUILD
) $(IDIR_KMOD_FUSE
) $(PACKAGE_DIR
)