diff options
author | Gustavo Zacarias <gustavo@zacarias.com.ar> | 2012-03-11 18:47:59 -0300 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2012-03-11 23:18:32 +0100 |
commit | bc81fbb0529aaef35bdad5f983e2fc0bef91df45 (patch) | |
tree | 285d7f7e2103235d2b96ebea096b575a8dd1ad6c /package/nbd/nbd.mk | |
parent | ce41184f06e5c8afb4f6cc891d430b88e7b9eb2c (diff) |
nbd: bump to version 3.0
[Peter: only disable fallocate for uClibc toolchains]
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/nbd/nbd.mk')
-rw-r--r-- | package/nbd/nbd.mk | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/package/nbd/nbd.mk b/package/nbd/nbd.mk index d9d0a8546..452ed3429 100644 --- a/package/nbd/nbd.mk +++ b/package/nbd/nbd.mk @@ -4,12 +4,18 @@ # ############################################################# -NBD_VERSION = 2.9.24 +NBD_VERSION = 3.0 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 +ifeq ($(BR2_TOOLCHAIN_BUILDROOT)$(BR2_TOOLCHAIN_EXTERNAL_UCLIBC)$(BR2_TOOLCHAIN_CTNG_uClibc),y) +# We have linux/falloc.h +# but uClibc lacks fallocate(2) which is a glibc-ism +NBD_CONF_ENV = ac_cv_header_linux_falloc_h=no +endif + ifneq ($(BR2_NBD_CLIENT),y) NBD_TOREMOVE += nbd-client endif |