3 include $(TOPDIR
)/rules.mk
9 PKG_MD5SUM
:=ea565debe6c7486963bef05c45c50361
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
18 include $(TOPDIR
)/package
/rules.mk
20 $(eval
$(call PKG_template
,KMOD_FUSE
,kmod-fuse
,$(LINUX_VERSION
)+$(PKG_VERSION
)-$(BOARD
)-$(PKG_RELEASE
),$(ARCH
),kernel
($(LINUX_VERSION
)-$(BOARD
)-$(LINUX_RELEASE
))))
22 $(PKG_BUILD_DIR
)/.configured
:
23 (cd
$(PKG_BUILD_DIR
); \
24 rm -rf config.
{cache
,status
} ; \
25 touch configure.in
; \
28 touch
include/config.h.in
; \
30 $(TARGET_CONFIGURE_OPTS
) \
32 --target
=$(GNU_TARGET_NAME
) \
33 --host
=$(GNU_TARGET_NAME
) \
34 --build
=$(GNU_HOST_NAME
) \
40 --datadir=/usr
/share \
41 --includedir=/usr
/include \
42 --infodir=/usr
/share
/info \
44 --libexecdir
=/usr
/lib \
45 --localstatedir
=/var \
46 --mandir=/usr
/share
/man \
49 $(DISABLE_LARGEFILE
) \
54 --enable-kernel-module \
58 --disable-auto-modprobe \
59 --with-kernel
=$(LINUX_DIR
) \
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)" \
76 mkdir
-p
$(IDIR_KMOD_FUSE
)/lib
/modules
/$(LINUX_VERSION
)
77 $(CP
) $(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
)