-ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),lt,2.6.25)),1)
- define KernelPackage/fuse/2.6
- KCONFIG:=
- FILES:=$(PKG_INSTALL_DIR)/lib/modules/$(LINUX_VERSION)/kernel/fs/fuse/fuse.$(LINUX_KMOD_SUFFIX)
- endef
-
- CONFIGURE_ARGS += --enable-kernel-module
-else
- CONFIGURE_ARGS += --disable-kernel-module
-endif
-
-define Build/Configure
- (cd $(PKG_BUILD_DIR); rm -f config.cache; \
- touch configure.in ; \
- touch aclocal.m4 ; \
- touch Makefile.in ; \
- touch include/config.h.in ; \
- touch configure ; \
- )
- $(call Build/Configure/Default)
-endef
-
-define Build/Compile
- $(MAKE) -C $(PKG_BUILD_DIR) \
- ARCH="$(LINUX_KARCH)" \
- CROSS_COMPILE="$(TARGET_CROSS)" \
- DESTDIR="$(PKG_INSTALL_DIR)" \
- AM_CFLAGS="$(TARGET_CFLAGS) -DDISABLE_COMPAT=1" \
- EXTRA_DIST="" \
- all install
-endef