|
@@ -4,19 +4,19 @@
|
|
|
#
|
|
|
################################################################################
|
|
|
|
|
|
-ATFTP_VERSION = 0.7.1
|
|
|
+ATFTP_VERSION = 0.7.2
|
|
|
ATFTP_SITE = http://sourceforge.net/projects/atftp/files
|
|
|
ATFTP_LICENSE = GPL-2.0+
|
|
|
ATFTP_LICENSE_FILES = LICENSE
|
|
|
+# 0001-Makefile.am-link-against-libpthread-for-atftp.patch patches Makefile.am
|
|
|
+ATFTP_AUTORECONF = YES
|
|
|
ATFTP_CONF_OPTS = --disable-libwrap --disable-mtftp
|
|
|
# For static we need to explicitly link against libpthread
|
|
|
ATFTP_LIBS = -lpthread
|
|
|
-# We use CPPFLAGS for -fgnu89-inline even though it's a compiler flag
|
|
|
-# because atftp discards configure environment CFLAGS. -fgnu89-inline
|
|
|
-# is needed to avoid multiple definition error with gcc 5. See
|
|
|
+# -fgnu89-inline is needed to avoid multiple definition error with gcc 5. See
|
|
|
# https://gcc.gnu.org/gcc-5/porting_to.html.
|
|
|
ATFTP_CONF_ENV = LIBS="$(ATFTP_LIBS)" \
|
|
|
- CPPFLAGS="$(TARGET_CPPFLAGS) -fgnu89-inline"
|
|
|
+ CFLAGS="$(TARGET_CFLAGS) -fgnu89-inline"
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_READLINE),y)
|
|
|
ATFTP_DEPENDENCIES += readline
|