e1502ebc0c
Also remove the redundant $(call ...). This is a purely mechanical change, performed with find package linux toolchain boot -name \*.mk | \ xargs sed -i -e 's/$(eval $(call GENTARGETS))/$(eval $(generic-package))/' \ -e 's/$(eval $(call AUTOTARGETS))/$(eval $(autotools-package))/' \ -e 's/$(eval $(call CMAKETARGETS))/$(eval $(cmake-package))/' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
30 lines
856 B
Makefile
30 lines
856 B
Makefile
#############################################################
|
|
#
|
|
# libfuse
|
|
#
|
|
#############################################################
|
|
|
|
LIBFUSE_VERSION = 2.9.0
|
|
LIBFUSE_SOURCE = fuse-$(LIBFUSE_VERSION).tar.gz
|
|
LIBFUSE_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/project/fuse/fuse-2.X/$(LIBFUSE_VERSION)
|
|
|
|
LIBFUSE_INSTALL_STAGING = YES
|
|
LIBFUSE_CONF_OPT= --disable-nls \
|
|
--disable-example \
|
|
--disable-kernel-module \
|
|
--enable-lib \
|
|
--enable-util
|
|
|
|
define LIBFUSE_INSTALL_TARGET_CMDS
|
|
cp -dpf $(STAGING_DIR)/usr/bin/fusermount $(TARGET_DIR)/usr/bin/
|
|
cp -dpf $(STAGING_DIR)/usr/lib/libfuse.so* $(TARGET_DIR)/usr/lib/
|
|
endef
|
|
|
|
define LIBFUSE_CLEAN_CMDS
|
|
-$(MAKE) -C $(@D) DESTDIR=$(STAGING_DIR) uninstall
|
|
-$(MAKE) -C $(@D) clean
|
|
rm -f $(TARGET_DIR)/usr/bin/fusermount $(TARGET_DIR)/usr/lib/libfuse.so*
|
|
endef
|
|
|
|
$(eval $(autotools-package))
|