3 include $(TOPDIR
)/rules.mk
9 PKG_MD5SUM
:=0bee98df5b2a29841f75fc188975eabc
11 PKG_SOURCE_URL
:=@SF
/$(PKG_NAME
)
12 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
15 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
16 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
19 KERNEL_DIR
:=$(LINUX_DIR
)
22 include $(TOPDIR
)/package
/rules.mk
24 $(eval
$(call PKG_template
,KMOD_FUSE
,kmod-fuse
,$(LINUX_VERSION
)$(BOARD
)+$(PKG_VERSION
)-$(PKG_RELEASE
),$(ARCH
),kernel
($(LINUX_VERSION
)-$(BOARD
)-$(KERNEL_RELEASE
))))
26 $(PKG_BUILD_DIR
)/.configured
:
27 (cd
$(PKG_BUILD_DIR
); \
28 rm -rf config.
{cache
,status
} ; \
29 touch configure.in
; \
32 touch
include/config.h.in
; \
34 $(TARGET_CONFIGURE_OPTS
) \
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 ARCH
="$(LINUX_KARCH)" \
70 DESTDIR
="$(PKG_INSTALL_DIR)" \
76 mkdir
-p
$(IDIR_KMOD_FUSE
)/lib
/modules
/$(LINUX_VERSION
)
77 cp
-fpR
$(PKG_INSTALL_DIR
)/lib
/modules
/$(LINUX_VERSION
)/kernel
/fs
/fuse
/fuse.
* \
78 $(IDIR_KMOD_FUSE
)/lib
/modules
/$(LINUX_VERSION
)/
79 $(IPKG_BUILD
) $(IDIR_KMOD_FUSE
) $(PACKAGE_DIR
)