6074f08b8d
This patch bumps the version of nbd to 2.9.15. The new version avoids problems with klcc installed on the host system and also includes two former buildroot patches: - nbd-fix-build-with-disable-lfs.patch - nbd-server-fix-read-eagain.patch Signed-off-by: Peter Huewe <peterhuewe@gmx.de> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
23 lines
623 B
Makefile
23 lines
623 B
Makefile
#############################################################
|
|
#
|
|
# nbd
|
|
#
|
|
#############################################################
|
|
|
|
NBD_VERSION = 2.9.15
|
|
NBD_SOURCE = nbd-$(NBD_VERSION).tar.bz2
|
|
NBD_SITE=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/nbd/
|
|
NBD_CONF_OPT = $(if $(BR2_LARGEFILE),--enable-lfs,--disable-lfs)
|
|
NBD_DEPENDENCIES = libglib2
|
|
|
|
$(eval $(call AUTOTARGETS,package,nbd))
|
|
|
|
$(NBD_HOOK_POST_INSTALL): $(NBD_TARGET_INSTALL_TARGET)
|
|
ifneq ($(BR2_NBD_CLIENT),y)
|
|
rm -f $(TARGET_DIR)/usr/sbin/nbd-client
|
|
endif
|
|
ifneq ($(BR2_NBD_SERVER),y)
|
|
rm -f $(TARGET_DIR)/usr/bin/nbd-server
|
|
endif
|
|
touch $@
|