Browse Source

packages: remove (non-)lfs dependencies and tweaks

Now that largefile is mandatory removes package dependencies and
conditionals.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Gustavo Zacarias 10 years ago
parent
commit
f4716f79a0
100 changed files with 134 additions and 353 deletions
  1. 0 4
      package/acl/Config.in
  2. 2 3
      package/aircrack-ng/Config.in
  3. 2 3
      package/alsa-utils/Config.in
  4. 0 2
      package/apr/apr.mk
  5. 2 3
      package/armadillo/Config.in
  6. 0 4
      package/attr/Config.in
  7. 2 3
      package/avrdude/Config.in
  8. 2 3
      package/bcache-tools/Config.in
  9. 2 3
      package/bind/Config.in
  10. 0 4
      package/bluez_utils/Config.in
  11. 2 3
      package/boost/Config.in
  12. 0 4
      package/bootutils/Config.in
  13. 2 4
      package/btrfs-progs/Config.in
  14. 2 3
      package/cdrkit/Config.in
  15. 0 4
      package/civetweb/Config.in
  16. 0 4
      package/civetweb/civetweb.mk
  17. 0 7
      package/clapack/Config.in
  18. 1 1
      package/cmake/cmake.mk
  19. 0 4
      package/collectd/Config.in
  20. 1 3
      package/conntrack-tools/Config.in
  21. 3 4
      package/cppzmq/Config.in
  22. 2 4
      package/cryptsetup/Config.in
  23. 2 3
      package/curlftpfs/Config.in
  24. 3 4
      package/czmq/Config.in
  25. 2 4
      package/dmraid/Config.in
  26. 0 4
      package/dnsmasq/Config.in
  27. 0 4
      package/dnsmasq/dnsmasq.mk
  28. 2 3
      package/dosfstools/Config.in
  29. 2 3
      package/dvb-apps/Config.in
  30. 0 4
      package/dvbsnoop/Config.in
  31. 2 3
      package/dvdauthor/Config.in
  32. 2 3
      package/dvdrw-tools/Config.in
  33. 2 3
      package/e2fsprogs/Config.in
  34. 2 4
      package/e2tools/Config.in
  35. 2 3
      package/ecryptfs-utils/Config.in
  36. 2 3
      package/elfutils/Config.in
  37. 0 2
      package/elfutils/elfutils.mk
  38. 0 5
      package/espeak/Config.in
  39. 2 3
      package/eudev/Config.in
  40. 2 3
      package/exfat-utils/Config.in
  41. 2 3
      package/exfat/Config.in
  42. 2 3
      package/exiv2/Config.in
  43. 2 3
      package/f2fs-tools/Config.in
  44. 2 3
      package/ffmpeg/Config.in
  45. 3 4
      package/filemq/Config.in
  46. 4 5
      package/fio/Config.in
  47. 0 4
      package/flashbench/Config.in
  48. 0 4
      package/ftop/Config.in
  49. 0 4
      package/gamin/gamin.mk
  50. 0 4
      package/genext2fs/Config.in
  51. 0 5
      package/git/Config.in
  52. 2 4
      package/glmark2/Config.in
  53. 2 4
      package/gnuradio/Config.in
  54. 2 3
      package/gptfdisk/Config.in
  55. 2 3
      package/gstreamer/gst-ffmpeg/Config.in
  56. 0 4
      package/gstreamer/gst-plugins-bad/Config.in
  57. 2 3
      package/gstreamer/gst-plugins-good/Config.in
  58. 0 4
      package/gstreamer1/gst1-plugins-bad/Config.in
  59. 2 3
      package/gstreamer1/gst1-plugins-good/Config.in
  60. 2 3
      package/gstreamer1/gst1-plugins-ugly/Config.in
  61. 2 3
      package/gvfs/Config.in
  62. 0 4
      package/hdparm/Config.in
  63. 0 4
      package/imagemagick/imagemagick.mk
  64. 0 5
      package/inotify-tools/Config.in
  65. 0 4
      package/ipset/Config.in
  66. 2 4
      package/jack2/Config.in
  67. 2 3
      package/kexec-lite/Config.in
  68. 2 3
      package/kmod/Config.in
  69. 2 3
      package/kodi/Config.in
  70. 2 3
      package/libdri2/Config.in
  71. 2 3
      package/libdrm/Config.in
  72. 2 3
      package/libdvdnav/Config.in
  73. 2 3
      package/libdvdread/Config.in
  74. 2 3
      package/libftdi1/Config.in
  75. 2 3
      package/libfuse/Config.in
  76. 0 4
      package/libmnl/Config.in
  77. 0 4
      package/libnetfilter_acct/Config.in
  78. 0 4
      package/libnetfilter_conntrack/Config.in
  79. 0 4
      package/libnetfilter_cthelper/Config.in
  80. 0 4
      package/libnetfilter_cttimeout/Config.in
  81. 2 3
      package/libnetfilter_queue/Config.in
  82. 2 3
      package/libnfs/Config.in
  83. 2 3
      package/libnftnl/Config.in
  84. 2 3
      package/libnspr/Config.in
  85. 2 4
      package/libnss/Config.in
  86. 0 4
      package/libpciaccess/Config.in
  87. 2 5
      package/libplayer/Config.in
  88. 2 3
      package/libselinux/Config.in
  89. 2 3
      package/libsemanage/Config.in
  90. 0 7
      package/libsndfile/Config.in
  91. 2 3
      package/libupnp/Config.in
  92. 2 4
      package/libupnpp/Config.in
  93. 2 3
      package/libv4l/Config.in
  94. 2 4
      package/libva-intel-driver/Config.in
  95. 2 4
      package/libva/Config.in
  96. 0 4
      package/libxml2/libxml2.mk
  97. 1 2
      package/lighttpd/lighttpd.mk
  98. 2 3
      package/lshw/Config.in
  99. 0 3
      package/lsof/lsof.mk
  100. 2 3
      package/ltp-testsuite/Config.in

+ 0 - 4
package/acl/Config.in

@@ -1,7 +1,6 @@
 config BR2_PACKAGE_ACL
 	bool "acl"
 	select BR2_PACKAGE_ATTR
-	depends on BR2_LARGEFILE
 	help
 	  POSIX Access Control Lists, which are used to define more
 	  fine-grained discretionary access rights for files and
@@ -9,6 +8,3 @@ config BR2_PACKAGE_ACL
 	  This package also provides libacl.
 
 	  http://savannah.nongnu.org/projects/acl
-
-comment "acl needs a toolchain w/ largefile"
-	depends on !BR2_LARGEFILE

+ 2 - 3
package/aircrack-ng/Config.in

@@ -1,6 +1,5 @@
 config BR2_PACKAGE_AIRCRACK_NG
 	bool "aircrack-ng"
-	depends on BR2_LARGEFILE
 	depends on BR2_USE_MMU # uses fork()
 	# libnl has issues when linking statically
 	# they need fixing in libnl itself
@@ -13,6 +12,6 @@ config BR2_PACKAGE_AIRCRACK_NG
 
 	  http://www.aircrack-ng.org/
 
-comment "aircrack-ng needs a toolchain w/ largefile, threads"
+comment "aircrack-ng needs a toolchain w/ threads"
 	depends on BR2_USE_MMU
-	depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS
+	depends on !BR2_TOOLCHAIN_HAS_THREADS

+ 2 - 3
package/alsa-utils/Config.in

@@ -1,11 +1,10 @@
-comment "alsa-utils needs a toolchain w/ largefile, threads"
+comment "alsa-utils needs a toolchain w/ threads"
 	depends on BR2_USE_MMU # fork
-	depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS
+	depends on !BR2_TOOLCHAIN_HAS_THREADS
 
 config BR2_PACKAGE_ALSA_UTILS
 	bool "alsa-utils"
 	depends on BR2_USE_MMU # fork
-	depends on BR2_LARGEFILE
 	depends on BR2_TOOLCHAIN_HAS_THREADS # alsa-lib
 	select BR2_PACKAGE_ALSA_LIB
 	select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE

+ 0 - 2
package/apr/apr.mk

@@ -32,9 +32,7 @@ APR_CONF_ENV += apr_cv_pthreads_lib="-lpthread"
 endif
 
 # Fix lfs detection when cross compiling
-ifeq ($(BR2_LARGEFILE),y)
 APR_CONF_ENV += apr_cv_use_lfs64=yes
-endif
 
 define APR_CLEANUP_UNNEEDED_FILES
 	$(RM) -rf $(TARGET_DIR)/usr/build-1/

+ 2 - 3
package/armadillo/Config.in

@@ -1,5 +1,5 @@
-comment "armadillo needs a toolchain w/ C++, largefile"
-	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_LARGEFILE
+comment "armadillo needs a toolchain w/ C++"
+	depends on !BR2_INSTALL_LIBSTDCPP
 	depends on !(BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el) # clapack
 	depends on !(BR2_powerpc && BR2_TOOLCHAIN_USES_UCLIBC) # clapack
 	depends on !BR2_bfin # clapack
@@ -7,7 +7,6 @@ comment "armadillo needs a toolchain w/ C++, largefile"
 config BR2_PACKAGE_ARMADILLO
 	bool "armadillo"
 	depends on BR2_INSTALL_LIBSTDCPP
-	depends on BR2_LARGEFILE # clapack
 	depends on !(BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el) # clapack
 	depends on !(BR2_powerpc && BR2_TOOLCHAIN_USES_UCLIBC) # clapack
 	depends on !BR2_bfin # clapack

+ 0 - 4
package/attr/Config.in

@@ -1,11 +1,7 @@
 config BR2_PACKAGE_ATTR
 	bool "attr"
-	depends on BR2_LARGEFILE
 	help
 	  Commands for Manipulating Filesystem Extended Attributes.
 	  This package also provides libattr.
 
 	  http://savannah.nongnu.org/projects/attr
-
-comment "attr needs a toolchain w/ largefile"
-	depends on !BR2_LARGEFILE

+ 2 - 3
package/avrdude/Config.in

@@ -5,7 +5,6 @@ config BR2_PACKAGE_AVRDUDE
 	select BR2_PACKAGE_LIBUSB_COMPAT
 	select BR2_PACKAGE_NCURSES
 	depends on BR2_TOOLCHAIN_HAS_THREADS
-	depends on BR2_LARGEFILE # elfutils
 	depends on BR2_USE_WCHAR # elfutils
 	depends on !BR2_STATIC_LIBS # elfutils
 	depends on !BR2_bfin # elfutils
@@ -15,6 +14,6 @@ config BR2_PACKAGE_AVRDUDE
 
 	  https://github.com/kcuzner/avrdude
 
-comment "avrdude needs a toolchain w/ threads, largefile, wchar, dynamic library"
-	depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_LARGEFILE || !BR2_USE_WCHAR || BR2_STATIC_LIBS
+comment "avrdude needs a toolchain w/ threads, wchar, dynamic library"
+	depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR || BR2_STATIC_LIBS
 	depends on !BR2_bfin

+ 2 - 3
package/bcache-tools/Config.in

@@ -1,7 +1,6 @@
 config BR2_PACKAGE_BCACHE_TOOLS
 	bool "bcache tools"
 	depends on BR2_PACKAGE_HAS_UDEV
-	depends on BR2_LARGEFILE # util-linux
 	depends on BR2_USE_WCHAR # util-linux
 	depends on BR2_USE_MMU # util-linux (libblkid)
 	select BR2_PACKAGE_UTIL_LINUX
@@ -17,6 +16,6 @@ config BR2_PACKAGE_BCACHE_TOOLS
 	  This is the user space bcache tools, required to setup the linux
 	  bcache feature of the Linux kernel.
 
-comment "bcache-tools needs udev /dev management and a toolchain w/ largefile, wchar"
+comment "bcache-tools needs udev /dev management and a toolchain w/ wchar"
 	depends on BR2_USE_MMU
-	depends on !BR2_PACKAGE_HAS_UDEV || !BR2_LARGEFILE || !BR2_USE_WCHAR
+	depends on !BR2_PACKAGE_HAS_UDEV || !BR2_USE_WCHAR

+ 2 - 3
package/bind/Config.in

@@ -1,7 +1,6 @@
 config BR2_PACKAGE_BIND
 	bool "bind"
 	depends on BR2_INET_IPV6
-	depends on BR2_LARGEFILE
 	depends on BR2_USE_MMU # fork()
 	depends on !BR2_STATIC_LIBS
 	help
@@ -39,6 +38,6 @@ config BR2_PACKAGE_BIND_TOOLS
 
 endif
 
-comment "bind needs a toolchain w/ largefile, IPv6, dynamic library"
+comment "bind needs a toolchain w/ IPv6, dynamic library"
 	depends on BR2_USE_MMU
-	depends on !BR2_LARGEFILE || !BR2_INET_IPV6 || BR2_STATIC_LIBS
+	depends on !BR2_INET_IPV6 || BR2_STATIC_LIBS

+ 0 - 4
package/bluez_utils/Config.in

@@ -22,13 +22,9 @@ config BR2_PACKAGE_BLUEZ_UTILS_AUDIO
 	bool "audio support"
 	select BR2_PACKAGE_ALSA_LIB
 	select BR2_PACKAGE_LIBSNDFILE
-	depends on BR2_LARGEFILE
 	help
 	  Audio support
 
-comment "bluez-utils audio needs a toolchain w/ largefile"
-	depends on !BR2_LARGEFILE
-
 config BR2_PACKAGE_BLUEZ_UTILS_USB
 	bool "USB support"
 	depends on BR2_TOOLCHAIN_HAS_THREADS # libusb

+ 2 - 3
package/boost/Config.in

@@ -1,10 +1,9 @@
-comment "boost needs a toolchain w/ C++, largefile, threads"
-	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS
+comment "boost needs a toolchain w/ C++, threads"
+	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
 
 config BR2_PACKAGE_BOOST
 	bool "boost"
 	depends on BR2_INSTALL_LIBSTDCPP
-	depends on BR2_LARGEFILE
 	# Boost could theorically be built with threading=single, but
 	# that unfortunately doesn't work. Until someone fixes that,
 	# let's depend on threads.

+ 0 - 4
package/bootutils/Config.in

@@ -1,6 +1,5 @@
 config BR2_PACKAGE_BOOTUTILS
 	bool "bootutils"
-	depends on BR2_LARGEFILE
 	help
 	  BootUtils is a collection of utilities to facilitate booting of
 	  Linux 2.6-based systems. The process of finding the root volume
@@ -8,6 +7,3 @@ config BR2_PACKAGE_BOOTUTILS
 	  mounting it, and 'switchroot'ing is automated.
 
 	  http://bootutils.pr.linuxrulz.org/
-
-comment "bootutils needs a toolchain w/ largefile"
-	depends on !BR2_LARGEFILE

+ 2 - 4
package/btrfs-progs/Config.in

@@ -1,6 +1,5 @@
 config BR2_PACKAGE_BTRFS_PROGS
 	bool "btrfs-progs"
-	depends on BR2_LARGEFILE # acl, attr
 	depends on BR2_USE_WCHAR # util-linux
 	depends on BR2_USE_MMU # util-linux
 	depends on BR2_TOOLCHAIN_HAS_THREADS
@@ -17,7 +16,6 @@ config BR2_PACKAGE_BTRFS_PROGS
 
 	  https://btrfs.wiki.kernel.org/index.php/Main_Page
 
-comment "btrfs-progs needs a toolchain w/ largefile, wchar, threads"
+comment "btrfs-progs needs a toolchain w/ wchar, threads"
 	depends on BR2_USE_MMU
-	depends on !BR2_LARGEFILE || !BR2_USE_WCHAR || \
-		!BR2_TOOLCHAIN_HAS_THREADS
+	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS

+ 2 - 3
package/cdrkit/Config.in

@@ -2,7 +2,6 @@ config BR2_PACKAGE_CDRKIT
 	# Needed for libbz
 	select BR2_PACKAGE_BZIP2
 	select BR2_PACKAGE_LIBCAP
-	depends on BR2_LARGEFILE
 	depends on BR2_USE_MMU # fork
 	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 # libcap
 	bool "cdrkit"
@@ -13,6 +12,6 @@ config BR2_PACKAGE_CDRKIT
 
 	  http://www.cdrkit.org/
 
-comment "cdrkit needs a toolchain w/ largefile, headers >= 3.0"
+comment "cdrkit needs a toolchain w/ headers >= 3.0"
 	depends on BR2_USE_MMU
-	depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
+	depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0

+ 0 - 4
package/civetweb/Config.in

@@ -12,15 +12,11 @@ if BR2_PACKAGE_CIVETWEB
 config BR2_CIVETWEB_WITH_LUA
 	bool "enable Lua support"
 	# required by the bundled Sqlite3 and Lua code
-	depends on BR2_LARGEFILE
 	help
 	  Enable Lua support in Civetweb. Note that this will use a
 	  version of Lua and Sqlite bundled within the Civetweb
 	  sources, and not the packages from Buildroot.
 
-comment "Lua support needs a toolchain w/ largefile"
-	depends on !BR2_LARGEFILE
-
 endif
 
 comment "civetweb needs a toolchain w/ threads"

+ 0 - 4
package/civetweb/civetweb.mk

@@ -15,10 +15,6 @@ CIVETWEB_LIBS = -lpthread -lm -ldl
 CIVETWEB_SYSCONFDIR = /etc
 CIVETWEB_HTMLDIR = /var/www
 
-ifneq ($(BR2_LARGEFILE),y)
-CIVETWEB_COPT += -DSQLITE_DISABLE_LFS
-endif
-
 ifeq ($(BR2_INET_IPV6),y)
 CIVETWEB_CONF_OPTS += WITH_IPV6=1
 endif

+ 0 - 7
package/clapack/Config.in

@@ -1,6 +1,5 @@
 config BR2_PACKAGE_CLAPACK
 	bool "cblas/clapack"
-	depends on BR2_LARGEFILE
 	depends on !(BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el)
 	# _fpu_control is used on PowerPC, but not available with
 	# uClibc
@@ -25,9 +24,3 @@ config BR2_PACKAGE_CLAPACK_ARITH_H
 
 	  In any case an 'arithchk' program is built (but not installed), to be run
 	  on the target to generate this arith.h header.
-
-comment "cblas/clapack needs a toolchain w/ largefile"
-	depends on !BR2_LARGEFILE
-	depends on !BR2_bfin
-	depends on !(BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el)
-	depends on !(BR2_powerpc && BR2_TOOLCHAIN_USES_UCLIBC)

+ 1 - 1
package/cmake/cmake.mk

@@ -14,7 +14,7 @@ HOST_CMAKE_DEPENDENCIES = host-pkgconf
 CMAKE_DEPENDENCIES = zlib libcurl libarchive expat bzip2 xz
 
 CMAKE_CONF_OPTS = \
-	-DKWSYS_LFS_WORKS=$(if $(BR2_LARGEFILE),TRUE,FALSE) \
+	-DKWSYS_LFS_WORKS=TRUE \
 	-DKWSYS_CHAR_IS_SIGNED=TRUE \
 	-DCMAKE_USE_SYSTEM_LIBRARIES=1 \
 	-DCTEST_USE_XMLRPC=OFF \

+ 0 - 4
package/collectd/Config.in

@@ -270,12 +270,8 @@ config BR2_PACKAGE_COLLECTD_MYSQL
 	help
 	  Connects to a MySQL database and issues a "show status" command.
 
-comment "netlink support needs a toolchain w/ largefile"
-	depends on !BR2_LARGEFILE
-
 config BR2_PACKAGE_COLLECTD_NETLINK
 	bool "netlink"
-	depends on BR2_LARGEFILE
 	select BR2_PACKAGE_LIBMNL
 	help
 	  Get statistics for interfaces, qdiscs, classes, and filters.

+ 1 - 3
package/conntrack-tools/Config.in

@@ -1,7 +1,6 @@
 config BR2_PACKAGE_CONNTRACK_TOOLS
 	bool "conntrack-tools"
 	depends on BR2_INET_IPV6
-	depends on BR2_LARGEFILE
 	depends on BR2_USE_MMU # fork()
 	depends on BR2_TOOLCHAIN_HAS_NATIVE_RPC || BR2_TOOLCHAIN_HAS_THREADS # libtirpc
 	select BR2_PACKAGE_LIBNETFILTER_CONNTRACK
@@ -17,8 +16,7 @@ config BR2_PACKAGE_CONNTRACK_TOOLS
 
 	  http://www.netfilter.org/projects/conntrack-tools/
 
-comment "conntrack-tools needs a toolchain w/ IPv6, largefile, threads"
+comment "conntrack-tools needs a toolchain w/ IPv6, threads"
 	depends on BR2_USE_MMU
 	depends on !BR2_INET_IPV6 || \
-		!BR2_LARGEFILE || \
 		!(BR2_TOOLCHAIN_HAS_THREADS || BR2_TOOLCHAIN_HAS_NATIVE_RPC)

+ 3 - 4
package/cppzmq/Config.in

@@ -2,7 +2,6 @@ config BR2_PACKAGE_CPPZMQ
 	bool "cppzmq"
 	depends on BR2_INSTALL_LIBSTDCPP
 	depends on BR2_INET_IPV6 # zeromq
-	depends on BR2_LARGEFILE # util-linux
 	depends on BR2_USE_WCHAR # util-linux
 	depends on BR2_TOOLCHAIN_HAS_THREADS # zeromq
 	select BR2_PACKAGE_ZEROMQ
@@ -11,6 +10,6 @@ config BR2_PACKAGE_CPPZMQ
 
 	  http://github.com/zeromq/cppzmq
 
-comment "cppzmq needs a toolchain w/ C++, IPv6, largefile, wchar, threads"
-	depends on !(BR2_INSTALL_LIBSTDCPP && BR2_INET_IPV6 && BR2_LARGEFILE \
-		&& BR2_USE_WCHAR && BR2_TOOLCHAIN_HAS_THREADS)
+comment "cppzmq needs a toolchain w/ C++, IPv6, wchar, threads"
+	depends on !(BR2_INSTALL_LIBSTDCPP && BR2_INET_IPV6 && \
+		BR2_USE_WCHAR && BR2_TOOLCHAIN_HAS_THREADS)

+ 2 - 4
package/cryptsetup/Config.in

@@ -4,7 +4,6 @@ config BR2_PACKAGE_CRYPTSETUP
 	select BR2_PACKAGE_LVM2
 	select BR2_PACKAGE_E2FSPROGS
 	select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
-	depends on BR2_LARGEFILE # lvm2, util-linux
 	depends on BR2_TOOLCHAIN_HAS_THREADS # lvm2
 	depends on BR2_USE_MMU # lvm2, e2fsprogs
 	depends on !BR2_STATIC_LIBS # lvm2
@@ -15,7 +14,6 @@ config BR2_PACKAGE_CRYPTSETUP
 
 	  https://code.google.com/p/cryptsetup/
 
-comment "cryptsetup needs a toolchain w/ largefile, wchar, threads, dynamic library"
+comment "cryptsetup needs a toolchain w/ wchar, threads, dynamic library"
 	depends on BR2_USE_MMU
-	depends on !BR2_LARGEFILE || !BR2_USE_WCHAR || \
-		BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS
+	depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS

+ 2 - 3
package/curlftpfs/Config.in

@@ -6,7 +6,6 @@ config BR2_PACKAGE_CURLFTPFS
 	select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
 	select BR2_PACKAGE_OPENSSL
 	select BR2_PACKAGE_LIBCURL
-	depends on BR2_LARGEFILE
 	depends on BR2_USE_WCHAR # glib2
 	depends on BR2_TOOLCHAIN_HAS_THREADS # libfuse, glib2
 	depends on BR2_USE_MMU # libfuse, glib2
@@ -17,6 +16,6 @@ config BR2_PACKAGE_CURLFTPFS
 
 	  http://curlftpfs.sourceforge.net/
 
-comment "curlftpfs needs a toolchain w/ largefile, wchar, threads, dynamic library"
+comment "curlftpfs needs a toolchain w/ wchar, threads, dynamic library"
 	depends on BR2_USE_MMU
-	depends on !BR2_LARGEFILE || !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
+	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS

+ 3 - 4
package/czmq/Config.in

@@ -4,7 +4,6 @@ config BR2_PACKAGE_CZMQ
 	depends on BR2_USE_MMU # fork()
 	depends on BR2_INSTALL_LIBSTDCPP # zeromq
 	depends on BR2_INET_IPV6 # zeromq
-	depends on BR2_LARGEFILE # util-linux
 	depends on BR2_USE_WCHAR # util-linux
 	depends on BR2_TOOLCHAIN_HAS_THREADS # zeromq
 	help
@@ -12,7 +11,7 @@ config BR2_PACKAGE_CZMQ
 
 	  http://czmq.zeromq.org/
 
-comment "czmq needs a toolchain w/ C++, IPv6, largefile, wchar, threads"
+comment "czmq needs a toolchain w/ C++, IPv6, wchar, threads"
 	depends on BR2_USE_MMU
-	depends on !(BR2_INSTALL_LIBSTDCPP && BR2_INET_IPV6 && BR2_LARGEFILE \
-		&& BR2_USE_WCHAR && BR2_TOOLCHAIN_HAS_THREADS)
+	depends on !(BR2_INSTALL_LIBSTDCPP && BR2_INET_IPV6 && \
+		BR2_USE_WCHAR && BR2_TOOLCHAIN_HAS_THREADS)

+ 2 - 4
package/dmraid/Config.in

@@ -1,6 +1,5 @@
 config BR2_PACKAGE_DMRAID
 	bool "dmraid"
-	depends on BR2_LARGEFILE
 	depends on BR2_TOOLCHAIN_HAS_THREADS # lvm2
 	depends on BR2_USE_MMU # lvm2
 	depends on !BR2_STATIC_LIBS # lvm2
@@ -12,7 +11,6 @@ config BR2_PACKAGE_DMRAID
 	  dmraid uses the Linux device-mapper to create devices with
 	  respective mappings for the ATARAID sets discovered.
 
-comment "dmraid needs a toolchain w/ largefile, threads, dynamic library"
+comment "dmraid needs a toolchain w/ threads, dynamic library"
 	depends on BR2_USE_MMU
-	depends on !BR2_LARGEFILE || BR2_STATIC_LIBS || \
-		!BR2_TOOLCHAIN_HAS_THREADS
+	depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS

+ 0 - 4
package/dnsmasq/Config.in

@@ -45,11 +45,7 @@ config BR2_PACKAGE_DNSMASQ_LUA
 config BR2_PACKAGE_DNSMASQ_CONNTRACK
 	bool "conntrack marking support"
 	select BR2_PACKAGE_LIBNETFILTER_CONNTRACK
-	depends on BR2_LARGEFILE
 	help
 	  Enable DNS query connection marking in netfilter.
 
-comment "conntrack marking support needs a toolchain w/ largefile"
-	depends on !BR2_LARGEFILE
-
 endif

+ 0 - 4
package/dnsmasq/dnsmasq.mk

@@ -68,10 +68,6 @@ define DNSMASQ_ENABLE_LUA
 endef
 endif
 
-ifneq ($(BR2_LARGEFILE),y)
-DNSMASQ_COPTS += -DNO_LARGEFILE
-endif
-
 ifeq ($(BR2_PACKAGE_DBUS),y)
 DNSMASQ_DEPENDENCIES += dbus
 endif

+ 2 - 3
package/dosfstools/Config.in

@@ -1,6 +1,5 @@
 config BR2_PACKAGE_DOSFSTOOLS
 	bool "dosfstools"
-	depends on BR2_LARGEFILE
 	depends on BR2_USE_WCHAR
 	select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
 	help
@@ -27,5 +26,5 @@ config BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT
 
 endif
 
-comment "dosfstools needs a toolchain w/ largefile, wchar"
-	depends on !BR2_LARGEFILE || !BR2_USE_WCHAR
+comment "dosfstools needs a toolchain w/ wchar"
+	depends on !BR2_USE_WCHAR

+ 2 - 3
package/dvb-apps/Config.in

@@ -1,6 +1,5 @@
 config BR2_PACKAGE_DVB_APPS
 	bool "dvb-apps"
-	depends on BR2_LARGEFILE
 	depends on BR2_TOOLCHAIN_HAS_THREADS
 	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
 	select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
@@ -11,5 +10,5 @@ config BR2_PACKAGE_DVB_APPS
 	  http://linuxtv.org/projects.php
 	  http://linuxtv.org/hg/dvb-apps
 
-comment "dvb-apps utils needs a toolchain w/ largefile, threads, headers >= 3.3"
-	depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
+comment "dvb-apps utils needs a toolchain w/ threads, headers >= 3.3"
+	depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3

+ 0 - 4
package/dvbsnoop/Config.in

@@ -1,6 +1,5 @@
 config BR2_PACKAGE_DVBSNOOP
 	bool "dvbsnoop"
-	depends on BR2_LARGEFILE
 	help
 	  Dvbsnoop is just a simple tool to analyze, view or debug a transport
 	  stream (TS), program elementary stream (PES) or even a program stream
@@ -20,6 +19,3 @@ config BR2_PACKAGE_DVBSNOOP
 
 	  http://dvbsnoop.sourceforge.net
 	  http://en.wikipedia.org/wiki/DBox2
-
-comment "dvbsnoop needs a toolchain w/ largefile"
-	depends on !BR2_LARGEFILE

+ 2 - 3
package/dvdauthor/Config.in

@@ -17,14 +17,13 @@ if BR2_PACKAGE_DVDAUTHOR
 config BR2_PACKAGE_DVDAUTHOR_DVDUNAUTHOR
 	bool "dvdunauthor"
 	select BR2_PACKAGE_LIBDVDREAD
-	depends on BR2_LARGEFILE # libdvdread
 	depends on !BR2_STATIC_LIBS # libdvdread
 	help
 	  This option enables the dvdunauthor program, which requires
 	  libdvdread.
 
-comment "dvdunauthor needs a toolchain w/ dynamic library, largefile"
-	depends on !BR2_LARGEFILE || BR2_STATIC_LIBS
+comment "dvdunauthor needs a toolchain w/ dynamic library"
+	depends on BR2_STATIC_LIBS
 
 endif
 

+ 2 - 3
package/dvdrw-tools/Config.in

@@ -1,7 +1,7 @@
-comment "dvdrw-tools needs a toolchain w/ threads, C++, wchar, largefile"
+comment "dvdrw-tools needs a toolchain w/ threads, C++, wchar"
 	depends on BR2_USE_MMU
 	depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP || \
-		!BR2_USE_WCHAR || !BR2_LARGEFILE
+		!BR2_USE_WCHAR
 
 config BR2_PACKAGE_DVDRW_TOOLS
 	bool "dvdrw-tools"
@@ -9,7 +9,6 @@ config BR2_PACKAGE_DVDRW_TOOLS
 	depends on BR2_TOOLCHAIN_HAS_THREADS
 	depends on BR2_INSTALL_LIBSTDCPP
 	depends on BR2_USE_WCHAR
-	depends on BR2_LARGEFILE
 	help
 	  The dvd+rw-tools are used to master Blu-ray Disc
 	  and DVD Disc media, both +RW/+R and -RW/-R. Note:

+ 2 - 3
package/e2fsprogs/Config.in

@@ -1,7 +1,6 @@
 
 config BR2_PACKAGE_E2FSPROGS
 	bool "e2fsprogs"
-	depends on BR2_LARGEFILE
 	depends on BR2_USE_WCHAR # util-linux
 	depends on BR2_USE_MMU # util-linux/libblkid
 	select BR2_PACKAGE_UTIL_LINUX
@@ -99,5 +98,5 @@ config BR2_PACKAGE_E2FSPROGS_UUIDGEN
 
 endif
 
-comment "e2fsprogs needs a toolchain w/ largefile, wchar"
-	depends on !(BR2_LARGEFILE && BR2_USE_WCHAR)
+comment "e2fsprogs needs a toolchain w/ wchar"
+	depends on !BR2_USE_WCHAR

+ 2 - 4
package/e2tools/Config.in

@@ -2,7 +2,6 @@ config BR2_PACKAGE_E2TOOLS
 	bool "e2tools"
 	select BR2_PACKAGE_E2FSPROGS
 	depends on BR2_TOOLCHAIN_HAS_THREADS
-	depends on BR2_LARGEFILE # e2fsprogs
 	depends on BR2_USE_WCHAR # e2fsprogs
 	depends on BR2_USE_MMU # e2fsprogs
 	help
@@ -13,7 +12,6 @@ config BR2_PACKAGE_E2TOOLS
 
 	  https://github.com/ndim/e2tools
 
-comment "e2tools needs a toolchain w/ threads, largefile and wchar"
-	depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_LARGEFILE || \
-		!BR2_USE_WCHAR
+comment "e2tools needs a toolchain w/ threads, wchar"
+	depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR
 	depends on BR2_USE_MMU

+ 2 - 3
package/ecryptfs-utils/Config.in

@@ -10,7 +10,6 @@ config BR2_PACKAGE_ECRYPTFS_UTILS
 	depends on BR2_USE_WCHAR # gettext
 	depends on BR2_USE_MMU # keyutils
 	depends on !BR2_microblaze # keyutils
-	depends on BR2_LARGEFILE # libnss
 	depends on BR2_TOOLCHAIN_HAS_THREADS # libnss -> libnspr
 	depends on BR2_PACKAGE_LIBNSPR_ARCH_SUPPORT # libnss -> libnspr
 	depends on !BR2_MIPS_NABI32 # libnss
@@ -30,9 +29,9 @@ config BR2_PACKAGE_ECRYPTFS_UTILS
 
 	  http://ecryptfs.org
 
-comment "ecryptfs-utils needs a toolchain w/ largefile, threads, wchar, dynamic library"
+comment "ecryptfs-utils needs a toolchain w/ threads, wchar, dynamic library"
 	depends on !BR2_microblaze
 	depends on BR2_PACKAGE_LIBNSPR_ARCH_SUPPORT
 	depends on BR2_USE_MMU
-	depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR || \
+	depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR || \
 		BR2_STATIC_LIBS

+ 2 - 3
package/elfutils/Config.in

@@ -1,12 +1,11 @@
-comment "elfutils needs a toolchain w/ largefile, wchar, dynamic library"
+comment "elfutils needs a toolchain w/ wchar, dynamic library"
 	depends on !BR2_bfin
-	depends on !BR2_LARGEFILE || !BR2_USE_WCHAR || BR2_STATIC_LIBS
+	depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS
 
 config BR2_PACKAGE_ELFUTILS
 	bool "elfutils"
 	select BR2_PACKAGE_ARGP_STANDALONE if BR2_TOOLCHAIN_USES_UCLIBC
 	select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT
-	depends on BR2_LARGEFILE
 	depends on BR2_USE_WCHAR
 	depends on !BR2_STATIC_LIBS
 	# build issue caused by the _ prefix used on blackfin for

+ 0 - 2
package/elfutils/elfutils.mk

@@ -16,12 +16,10 @@ ELFUTILS_PATCH = elfutils-portability-0.161.patch
 ELFUTILS_AUTORECONF = YES
 ELFUTILS_CONF_OPTS += --disable-werror
 
-ifeq ($(BR2_LARGEFILE),y)
 # elfutils gets confused when lfs mode is forced, so don't
 ELFUTILS_CONF_ENV += \
 	CFLAGS="$(filter-out -D_FILE_OFFSET_BITS=64,$(TARGET_CFLAGS))" \
 	CPPFLAGS="$(filter-out -D_FILE_OFFSET_BITS=64,$(TARGET_CPPFLAGS))"
-endif
 
 ELFUTILS_LDFLAGS = $(TARGET_LDFLAGS)
 

+ 0 - 5
package/espeak/Config.in

@@ -30,14 +30,9 @@ config BR2_PACKAGE_ESPEAK_AUDIO_BACKEND_ALSA
 
 config BR2_PACKAGE_ESPEAK_AUDIO_BACKEND_PULSEAUDIO
 	bool "pulseaudio"
-	depends on BR2_LARGEFILE # pulseaudio
 	depends on BR2_ARCH_HAS_ATOMICS # pulseaudio
 	select BR2_PACKAGE_PULSEAUDIO
 
-comment "pulseaudio backend needs a toolchain with largefile"
-	depends on !BR2_LARGEFILE
-	depends on BR2_ARCH_HAS_ATOMICS
-
 endchoice
 
 endif # BR2_PACKAGE_ESPEAK

+ 2 - 3
package/eudev/Config.in

@@ -2,7 +2,6 @@ config BR2_PACKAGE_EUDEV
 	bool "eudev"
 	depends on BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV
 	depends on BR2_USE_MMU # uses fork()
-	depends on BR2_LARGEFILE # util-linux
 	depends on BR2_USE_WCHAR # util-linux
 	depends on !BR2_STATIC_LIBS # kmod
 	select BR2_PACKAGE_HAS_UDEV
@@ -34,6 +33,6 @@ comment "eudev needs eudev /dev management"
 	depends on BR2_USE_MMU
 	depends on !BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV
 
-comment "eudev needs a toolchain w/ largefile, wchar, dynamic library"
+comment "eudev needs a toolchain w/ wchar, dynamic library"
 	depends on BR2_USE_MMU
-	depends on !BR2_LARGEFILE || !BR2_USE_WCHAR || BR2_STATIC_LIBS
+	depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS

+ 2 - 3
package/exfat-utils/Config.in

@@ -1,11 +1,10 @@
 config BR2_PACKAGE_EXFAT_UTILS
 	bool "exfat-utils"
-	depends on BR2_LARGEFILE
 	depends on BR2_USE_WCHAR
 	help
 	  exFAT filesystem utilities.
 
 	  http://code.google.com/p/exfat/
 
-comment "exfat-utils needs a toolchain w/ largefile, wchar"
-	depends on !BR2_LARGEFILE || !BR2_USE_WCHAR
+comment "exfat-utils needs a toolchain w/ wchar"
+	depends on !BR2_USE_WCHAR

+ 2 - 3
package/exfat/Config.in

@@ -1,6 +1,5 @@
 config BR2_PACKAGE_EXFAT
 	bool "exFAT (FUSE)"
-	depends on BR2_LARGEFILE # libfuse
 	depends on BR2_TOOLCHAIN_HAS_THREADS # libfuse
 	depends on BR2_USE_MMU # libfuse
 	depends on BR2_USE_WCHAR
@@ -12,6 +11,6 @@ config BR2_PACKAGE_EXFAT
 
 	  http://code.google.com/p/exfat/
 
-comment "exfat needs a toolchain w/ largefile, wchar, threads, dynamic library"
+comment "exfat needs a toolchain w/ wchar, threads, dynamic library"
 	depends on BR2_USE_MMU
-	depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR || BR2_STATIC_LIBS
+	depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR || BR2_STATIC_LIBS

+ 2 - 3
package/exiv2/Config.in

@@ -39,12 +39,11 @@ config BR2_PACKAGE_EXIV2_XMP
 	bool "XMP support"
 	select BR2_PACKAGE_EXPAT
 	depends on BR2_TOOLCHAIN_HAS_THREADS
-	depends on BR2_LARGEFILE
 	help
 	  Build with XMP support
 
-comment "xmp support needs a toolchain w/ threads, and largefile"
-	depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_LARGEFILE
+comment "xmp support needs a toolchain w/ threads"
+	depends on !BR2_TOOLCHAIN_HAS_THREADS
 
 config BR2_PACKAGE_EXIV2_LENSDATA
 	bool "Nikon lens name database"

+ 2 - 3
package/f2fs-tools/Config.in

@@ -2,12 +2,11 @@ config BR2_PACKAGE_F2FS_TOOLS
 	bool "f2fs-tools"
 	select BR2_PACKAGE_UTIL_LINUX
 	select BR2_PACKAGE_UTIL_LINUX_LIBUUID
-	depends on BR2_LARGEFILE
 	depends on BR2_USE_WCHAR # util-linux
 	help
 	  Tools for Flash-Friendly File System (F2FS)
 
 	  http://sourceforge.net/projects/f2fs-tools/
 
-comment "f2fs-tools needs a toolchain w/ largefile, wchar"
-	depends on !(BR2_LARGEFILE && BR2_USE_WCHAR)
+comment "f2fs-tools needs a toolchain w/ wchar"
+	depends on !BR2_USE_WCHAR

+ 2 - 3
package/ffmpeg/Config.in

@@ -1,11 +1,10 @@
-comment "ffmpeg needs a toolchain w/ largefile, IPv6"
-	depends on !(BR2_LARGEFILE && BR2_INET_IPV6)
+comment "ffmpeg needs a toolchain w/ IPv6"
+	depends on !BR2_INET_IPV6
 	depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201305
 	depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201405
 
 menuconfig BR2_PACKAGE_FFMPEG
 	bool "ffmpeg"
-	depends on BR2_LARGEFILE
 	depends on BR2_INET_IPV6
 	# fenv.h lacks FE_INVALID, FE_OVERFLOW & FE_UNDERFLOW
 	depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201305

+ 3 - 4
package/filemq/Config.in

@@ -5,7 +5,6 @@ config BR2_PACKAGE_FILEMQ
 	select BR2_PACKAGE_ZEROMQ
 	depends on BR2_INSTALL_LIBSTDCPP # zeromq
 	depends on BR2_INET_IPV6 # zeromq
-	depends on BR2_LARGEFILE # util-linux
 	depends on BR2_USE_WCHAR # util-linux
 	depends on BR2_TOOLCHAIN_HAS_THREADS # zeromq
 	depends on BR2_USE_MMU # czmq
@@ -14,7 +13,7 @@ config BR2_PACKAGE_FILEMQ
 
 	  http://github.com/zeromq/filemq
 
-comment "filemq needs a toolchain w/ C++, IPv6, largefile, wchar, threads"
+comment "filemq needs a toolchain w/ C++, IPv6, wchar, threads"
 	depends on BR2_USE_MMU
-	depends on !(BR2_INSTALL_LIBSTDCPP && BR2_INET_IPV6 && BR2_LARGEFILE \
-		&& BR2_USE_WCHAR && BR2_TOOLCHAIN_HAS_THREADS)
+	depends on !(BR2_INSTALL_LIBSTDCPP && BR2_INET_IPV6 && \
+		BR2_USE_WCHAR && BR2_TOOLCHAIN_HAS_THREADS)

+ 4 - 5
package/fio/Config.in

@@ -1,7 +1,6 @@
 config BR2_PACKAGE_FIO
 	bool "fio"
 	depends on BR2_USE_MMU # fork()
-	depends on BR2_LARGEFILE
 	depends on BR2_TOOLCHAIN_HAS_THREADS
 	# fio uses posix_madvise(), which is not part of any official
 	# release of uClibc, but is part of uClibc Git, and backported
@@ -9,8 +8,8 @@ config BR2_PACKAGE_FIO
 	# disable the build of fio for external uClibc toolchains
 	# (which use an unknown uClibc version)
 	depends on !BR2_TOOLCHAIN_EXTERNAL_UCLIBC
-	# fio uses fallocate() which becomes fallocate64() while compiling
-	# with BR2_LARGEFILE but fallocate64() is not available on nios2
+	# fio uses fallocate() which becomes fallocate64() while compiling with
+	# largefile support, but fallocate64() is not available on nios2
 	depends on !BR2_nios2
 	help
 	  fio is an I/O tool meant to be used both for benchmark
@@ -18,7 +17,7 @@ config BR2_PACKAGE_FIO
 
 	  http://git.kernel.dk/?p=fio.git;a=summary
 
-comment "fio needs a toolchain w/ largefile, threads"
-	depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS
+comment "fio needs a toolchain w/ threads"
+	depends on !BR2_TOOLCHAIN_HAS_THREADS
 	depends on !BR2_nios2
 	depends on BR2_USE_MMU

+ 0 - 4
package/flashbench/Config.in

@@ -1,6 +1,5 @@
 config BR2_PACKAGE_FLASHBENCH
 	bool "flashbench"
-	depends on BR2_LARGEFILE
 	help
 	  Flashbench - Identify characteristics of flash media.
 
@@ -9,6 +8,3 @@ config BR2_PACKAGE_FLASHBENCH
 	  survey.
 
 	  https://wiki.linaro.org/WorkingGroups/KernelConsolidation/Projects/FlashCardSurvey
-
-comment "flashbench needs a toolchain w/ largefile"
-	depends on !BR2_LARGEFILE

+ 0 - 4
package/ftop/Config.in

@@ -1,12 +1,8 @@
 config BR2_PACKAGE_FTOP
 	bool "ftop"
-	depends on BR2_LARGEFILE
 	select BR2_PACKAGE_NCURSES
 	help
 	  Ftop is to files what top is to processes.
 	  The progress of all open files and file systems can be monitored.
 
 	  https://code.google.com/p/ftop/
-
-comment "ftop needs a toolchain w/ largefile"
-	depends on !BR2_LARGEFILE

+ 0 - 4
package/gamin/gamin.mk

@@ -16,10 +16,6 @@ GAMIN_CONF_OPTS += --without-python
 
 GAMIN_CONF_ENV = have_abstract_sockets=no
 
-ifneq ($(BR2_LARGEFILE),y)
-GAMIN_CONF_ENV += CC="$(TARGET_CC) $(TARGET_CFLAGS) -DNO_LARGEFILE_SOURCE"
-endif
-
 GAMIN_DEPENDENCIES = libglib2
 
 $(eval $(autotools-package))

+ 0 - 4
package/genext2fs/Config.in

@@ -1,6 +1,5 @@
 config BR2_PACKAGE_GENEXT2FS
 	bool "genext2fs"
-	depends on BR2_LARGEFILE
 	help
 	  genext2fs generates an ext2 filesystem as a normal (non-root)
 	  user.  It does not require you to mount the image file to
@@ -8,6 +7,3 @@ config BR2_PACKAGE_GENEXT2FS
 	  superuser to make device nodes.
 
 	  http://genext2fs.sourceforge.net/
-
-comment "genext2fs needs a toolchain w/ largefile"
-	depends on !BR2_LARGEFILE

+ 0 - 5
package/git/Config.in

@@ -1,6 +1,5 @@
 config BR2_PACKAGE_GIT
 	bool "git"
-	depends on BR2_LARGEFILE
 	depends on BR2_USE_MMU # uses fork()
 	select BR2_PACKAGE_ZLIB
 	select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
@@ -9,7 +8,3 @@ config BR2_PACKAGE_GIT
 	  designed to handle everything from small to very large projects.
 
 	  http://git-scm.com
-
-comment "git needs a toolchain w/ largefile"
-	depends on BR2_USE_MMU
-	depends on !BR2_LARGEFILE

+ 2 - 4
package/glmark2/Config.in

@@ -10,12 +10,10 @@ config BR2_PACKAGE_GLMARK2_GL
 	depends on BR2_PACKAGE_MESA3D_DRI_DRIVER
 
 comment "glmark2 needs an OpenGL or an openGL ES and EGL backend provided by mesa3d"
-	depends on BR2_LARGEFILE
 	depends on !BR2_PACKAGE_GLMARK2_GL && !BR2_PACKAGE_GLMARK2_EGL_GLES
 
 config BR2_PACKAGE_GLMARK2
 	bool "glmark2"
-	depends on BR2_LARGEFILE
 	depends on BR2_PACKAGE_GLMARK2_GL || BR2_PACKAGE_GLMARK2_EGL_GLES
 	select BR2_PACKAGE_JPEG
 	select BR2_PACKAGE_LIBPNG
@@ -24,6 +22,6 @@ config BR2_PACKAGE_GLMARK2
 
 	  https://github.com/glmark2/glmark2
 
-comment "glmark2 needs udev /dev management and a toolchain w/ C++, largefile, NPTL"
-	depends on !BR2_LARGEFILE || !BR2_INSTALL_LIBSTDCPP || \
+comment "glmark2 needs udev /dev management and a toolchain w/ C++, NPTL"
+	depends on !BR2_INSTALL_LIBSTDCPP || \
 		!BR2_TOOLCHAIN_HAS_THREADS_NPTL || !BR2_PACKAGE_HAS_UDEV

+ 2 - 4
package/gnuradio/Config.in

@@ -1,14 +1,12 @@
-comment "gnuradio needs a toolchain w/ C++, IPV6, NPTL, largefile, wchar"
+comment "gnuradio needs a toolchain w/ C++, IPV6, NPTL, wchar"
 	depends on BR2_USE_MMU
 	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
-		!BR2_TOOLCHAIN_HAS_THREADS_NPTL || !BR2_LARGEFILE || \
-		!BR2_INET_IPV6
+		!BR2_TOOLCHAIN_HAS_THREADS_NPTL || !BR2_INET_IPV6
 
 config BR2_PACKAGE_GNURADIO
 	bool "gnuradio"
 	depends on BR2_INET_IPV6 # boost
 	depends on BR2_INSTALL_LIBSTDCPP
-	depends on BR2_LARGEFILE # boost
 	depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
 	depends on BR2_USE_MMU # use fork()
 	depends on BR2_USE_WCHAR # boost

+ 2 - 3
package/gptfdisk/Config.in

@@ -1,9 +1,8 @@
-comment "gptfdisk needs a toolchain w/ largefile, wchar, C++"
-	depends on !(BR2_LARGEFILE && BR2_INSTALL_LIBSTDCPP && BR2_USE_WCHAR)
+comment "gptfdisk needs a toolchain w/ wchar, C++"
+	depends on !(BR2_INSTALL_LIBSTDCPP && BR2_USE_WCHAR)
 
 config BR2_PACKAGE_GPTFDISK
 	bool "gptfdisk"
-	depends on BR2_LARGEFILE
 	depends on BR2_INSTALL_LIBSTDCPP
 	depends on BR2_USE_WCHAR # util-linux
 	select BR2_PACKAGE_UTIL_LINUX

+ 2 - 3
package/gstreamer/gst-ffmpeg/Config.in

@@ -1,7 +1,6 @@
 config BR2_PACKAGE_GST_FFMPEG
 	bool "gst-ffmpeg"
 	select BR2_PACKAGE_GST_PLUGINS_BASE
-	depends on BR2_LARGEFILE
 	depends on BR2_INET_IPV6
 	help
 	  GStreamer plugin containing one plugin with a set of elements using
@@ -23,5 +22,5 @@ config BR2_PACKAGE_GST_FFMPEG_GPL
 
 endif
 
-comment "gst-ffmpeg needs a toolchain w/ largefile, IPv6"
-	depends on !(BR2_LARGEFILE && BR2_INET_IPV6)
+comment "gst-ffmpeg needs a toolchain w/ IPv6"
+	depends on !BR2_INET_IPV6

+ 0 - 4
package/gstreamer/gst-plugins-bad/Config.in

@@ -312,10 +312,6 @@ config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_SDL
 config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_SNDFILE
 	bool "sndfile"
 	select BR2_PACKAGE_LIBSNDFILE
-	depends on BR2_LARGEFILE
-
-comment "gst-plugins-bad-plugin-sndfile needs a toolchain w/ largefile"
-	depends on !BR2_LARGEFILE
 
 config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_VCD
 	bool "vcd"

+ 2 - 3
package/gstreamer/gst-plugins-good/Config.in

@@ -207,16 +207,15 @@ config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_OSS4
 
 config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_PULSE
 	depends on BR2_TOOLCHAIN_HAS_THREADS # pulseaudio
-	depends on BR2_LARGEFILE # pulseaudio -> libsndfile
 	depends on BR2_USE_MMU # pulseaudio
 	depends on BR2_ARCH_HAS_ATOMICS # pulseaudio
 	select BR2_PACKAGE_PULSEAUDIO
 	bool "pulseaudio"
 
-comment "pulseaudio support needs a toolchain w/ largefile, threads"
+comment "pulseaudio support needs a toolchain w/ threads"
 	depends on BR2_USE_MMU
 	depends on BR2_ARCH_HAS_ATOMICS
-	depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS
+	depends on !BR2_TOOLCHAIN_HAS_THREADS
 
 config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_SOUPHTTPSRC
 	bool "souphttpsrc (http client)"

+ 0 - 4
package/gstreamer1/gst1-plugins-bad/Config.in

@@ -476,10 +476,6 @@ config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SDL
 config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SNDFILE
 	bool "sndfile"
 	select BR2_PACKAGE_LIBSNDFILE
-	depends on BR2_LARGEFILE
-
-comment "sndfile plugin needs a toolchain w/ largefile"
-	depends on !BR2_LARGEFILE
 
 config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DVB
 	bool "dvb"

+ 2 - 3
package/gstreamer1/gst1-plugins-good/Config.in

@@ -310,7 +310,6 @@ comment "gdkpixbuf needs a toolchain w/ wchar, threads"
 
 config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_PULSE
 	depends on BR2_TOOLCHAIN_HAS_THREADS # pulseaudio
-	depends on BR2_LARGEFILE # pulseaudio -> libsndfile
 	depends on BR2_USE_MMU # pulseaudio
 	depends on BR2_ARCH_HAS_ATOMICS # pulseaudio
 	select BR2_PACKAGE_PULSEAUDIO
@@ -318,10 +317,10 @@ config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_PULSE
 	help
 	  PulseAudio plugin library
 
-comment "pulseaudio support needs a toolchain w/ largefile, threads"
+comment "pulseaudio support needs a toolchain w/ threads"
 	depends on BR2_USE_MMU
 	depends on BR2_ARCH_HAS_ATOMICS
-	depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS
+	depends on !BR2_TOOLCHAIN_HAS_THREADS
 
 config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_SOUPHTTPSRC
 	bool "souphttpsrc (http client)"

+ 2 - 3
package/gstreamer1/gst1-plugins-ugly/Config.in

@@ -40,14 +40,13 @@ comment "plugins with external dependencies (there may be more available)"
 
 config BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_DVDREAD
 	bool "dvdread"
-	depends on BR2_LARGEFILE # libdvdread
 	depends on !BR2_STATIC_LIBS # libdvdread
 	select BR2_PACKAGE_LIBDVDREAD
 	help
 	  Access a DVD with dvdread
 
-comment "dvdread needs a toolchain w/ dynamic library, largefile"
-	depends on !BR2_LARGEFILE || BR2_STATIC_LIBS
+comment "dvdread needs a toolchain w/ dynamic library"
+	depends on BR2_STATIC_LIBS
 
 config BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_LAME
 	bool "lame (*.mp3 audio encoder)"

+ 2 - 3
package/gvfs/Config.in

@@ -1,6 +1,5 @@
 config BR2_PACKAGE_GVFS
 	bool "gvfs"
-	depends on BR2_LARGEFILE
 	depends on BR2_USE_WCHAR # glib2
 	depends on BR2_USE_MMU # dbus, glib2
 	depends on BR2_TOOLCHAIN_HAS_THREADS # dbus, glib2
@@ -16,6 +15,6 @@ config BR2_PACKAGE_GVFS
 
 	  http://en.wikipedia.org/wiki/GVFS
 
-comment "gvfs needs a toolchain w/ largefile, wchar, threads"
+comment "gvfs needs a toolchain w/ wchar, threads"
 	depends on BR2_USE_MMU
-	depends on !BR2_LARGEFILE || !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
+	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS

+ 0 - 4
package/hdparm/Config.in

@@ -1,10 +1,6 @@
 config BR2_PACKAGE_HDPARM
 	bool "hdparm"
-	depends on BR2_LARGEFILE
 	help
 	  hdparm - get/set hard disk parameters for Linux IDE drives.
 
 	  http://www.ibiblio.org/pub/Linux/system/hardware/
-
-comment "hdparm needs a toolchain w/ largefile"
-	depends on !BR2_LARGEFILE

+ 0 - 4
package/imagemagick/imagemagick.mk

@@ -18,11 +18,7 @@ ifeq ($(BR2_INSTALL_LIBSTDCPP)$(BR2_USE_WCHAR),yy)
 IMAGEMAGICK_CONFIG_SCRIPTS += Magick++-config
 endif
 
-ifeq ($(BR2_LARGEFILE),y)
 IMAGEMAGICK_CONF_ENV = ac_cv_sys_file_offset_bits=64
-else
-IMAGEMAGICK_CONF_ENV = ac_cv_sys_file_offset_bits=32
-endif
 
 IMAGEMAGICK_CONF_OPTS = \
 	--program-transform-name='s,,,' \

+ 0 - 5
package/inotify-tools/Config.in

@@ -1,6 +1,5 @@
 config BR2_PACKAGE_INOTIFY_TOOLS
 	bool "inotify-tools"
-	depends on BR2_LARGEFILE
 	depends on BR2_USE_MMU # fork()
 	help
 	  inotify-tools is a C library and a set of command-line
@@ -10,7 +9,3 @@ config BR2_PACKAGE_INOTIFY_TOOLS
 	  binaries.
 
 	  https://github.com/rvoicilas/inotify-tools
-
-comment "inotify-tools needs a toolchain w/ largefile"
-	depends on BR2_USE_MMU
-	depends on !BR2_LARGEFILE

+ 0 - 4
package/ipset/Config.in

@@ -1,12 +1,8 @@
 config BR2_PACKAGE_IPSET
 	bool "ipset"
-	depends on BR2_LARGEFILE
 	select BR2_PACKAGE_LIBMNL
 	help
 	  Utility to manage IP sets in the linux kernel.
 	  Requires a patched kernel or version >=2.6.39.
 
 	  http://ipset.netfilter.org/
-
-comment "ipset needs a toolchain w/ largefile"
-	depends on !BR2_LARGEFILE

+ 2 - 4
package/jack2/Config.in

@@ -1,6 +1,5 @@
 config BR2_PACKAGE_JACK2
 	bool "jack2"
-	depends on BR2_LARGEFILE # libsndfile
 	depends on BR2_TOOLCHAIN_HAS_THREADS # alsa-lib
 	depends on BR2_USE_MMU # fork()
 	depends on BR2_INSTALL_LIBSTDCPP
@@ -21,8 +20,7 @@ config BR2_PACKAGE_JACK2
 
 	  http://jackaudio.org/
 
-comment "jack2 needs a toolchain w/ largefile, threads, C++"
+comment "jack2 needs a toolchain w/ threads, C++"
 	depends on BR2_USE_MMU
 	depends on BR2_ARCH_HAS_ATOMICS
-	depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS || \
-		!BR2_INSTALL_LIBSTDCPP
+	depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP

+ 2 - 3
package/kexec-lite/Config.in

@@ -2,7 +2,6 @@ config BR2_PACKAGE_KEXEC_LITE
 	bool "kexec-lite"
 	depends on BR2_powerpc || BR2_powerpc64
 	depends on !BR2_STATIC_LIBS # dtc, elfutils
-	depends on BR2_LARGEFILE # elfutils
 	depends on BR2_USE_WCHAR # elfutils
 	select BR2_PACKAGE_ELFUTILS
 	select BR2_PACKAGE_DTC
@@ -14,6 +13,6 @@ config BR2_PACKAGE_KEXEC_LITE
 	  This package is a tiny implementation of the kexec userspace
 	  components, for devicetree-based platforms.
 
-comment "kexec-lite needs a toolchain w/ largefile, wchar, dynamic library"
+comment "kexec-lite needs a toolchain w/ wchar, dynamic library"
 	depends on BR2_powerpc || BR2_powerpc64
-	depends on BR2_STATIC_LIBS || !BR2_LARGEFILE || !BR2_USE_WCHAR
+	depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR

+ 2 - 3
package/kmod/Config.in

@@ -1,7 +1,6 @@
 config BR2_PACKAGE_KMOD
 	bool "kmod"
 	depends on !BR2_STATIC_LIBS
-	depends on BR2_LARGEFILE
 	help
 	  handle kernel modules
 
@@ -18,5 +17,5 @@ config BR2_PACKAGE_KMOD_TOOLS
 
 endif
 
-comment "kmod needs a toolchain w/ largefile, dynamic library"
-	depends on !BR2_LARGEFILE || BR2_STATIC_LIBS
+comment "kmod needs a toolchain w/ dynamic library"
+	depends on BR2_STATIC_LIBS

+ 2 - 3
package/kodi/Config.in

@@ -2,9 +2,9 @@ config BR2_PACKAGE_KODI_ARCH_SUPPORTS
 	bool
 	default y if BR2_arm || BR2_i386 || BR2_x86_64
 
-comment "kodi needs a toolchain w/ C++, IPv6, largefile, threads, wchar"
+comment "kodi needs a toolchain w/ C++, IPv6, threads, wchar"
 	depends on BR2_PACKAGE_KODI_ARCH_SUPPORTS
-	depends on !BR2_INET_IPV6 || !BR2_INSTALL_LIBSTDCPP || !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR
+	depends on !BR2_INET_IPV6 || !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR
 	depends on BR2_USE_MMU
 
 config BR2_PACKAGE_KODI_EGL_GLES
@@ -93,7 +93,6 @@ menuconfig BR2_PACKAGE_KODI
 	select BR2_PACKAGE_ZLIB
 	depends on BR2_INET_IPV6
 	depends on BR2_INSTALL_LIBSTDCPP
-	depends on BR2_LARGEFILE
 	depends on BR2_TOOLCHAIN_HAS_THREADS
 	depends on BR2_PACKAGE_KODI_EGL_GLES || BR2_PACKAGE_KODI_GL
 	depends on BR2_USE_MMU # python

+ 2 - 3
package/libdri2/Config.in

@@ -5,12 +5,11 @@ config BR2_PACKAGE_LIBDRI2
 	select BR2_PACKAGE_XLIB_LIBXEXT
 	select BR2_PACKAGE_XPROTO_DRI2PROTO
 	depends on BR2_TOOLCHAIN_HAS_THREADS # libdrm
-	depends on BR2_LARGEFILE # libdrm
 	depends on BR2_PACKAGE_XORG7
 	help
 	  Library for the DRI2 extension to the X Window System.
 
 	  https://github.com/robclark/libdri2
 
-comment "libdri2 needs a toolchain w/ largefile, threads"
-	depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS
+comment "libdri2 needs a toolchain w/ threads"
+	depends on !BR2_TOOLCHAIN_HAS_THREADS

+ 2 - 3
package/libdrm/Config.in

@@ -2,7 +2,6 @@ config BR2_PACKAGE_LIBDRM
 	bool "libdrm"
 	select BR2_PACKAGE_LIBPTHREAD_STUBS
 	depends on BR2_TOOLCHAIN_HAS_THREADS # libpthread-stubs
-	depends on BR2_LARGEFILE
 	help
 	  Direct Rendering Manager
 
@@ -64,5 +63,5 @@ endmenu
 
 endif
 
-comment "libdrm needs a toolchain w/ largefile, threads"
-	depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS
+comment "libdrm needs a toolchain w/ threads"
+	depends on !BR2_TOOLCHAIN_HAS_THREADS

+ 2 - 3
package/libdvdnav/Config.in

@@ -1,6 +1,5 @@
 config BR2_PACKAGE_LIBDVDNAV
 	bool "libdvdnav"
-	depends on BR2_LARGEFILE # libdvdread
 	depends on BR2_TOOLCHAIN_HAS_THREADS
 	depends on !BR2_STATIC_LIBS # libdvdread
 	select BR2_PACKAGE_LIBDVDREAD
@@ -11,5 +10,5 @@ config BR2_PACKAGE_LIBDVDNAV
 
 	  http://www.mplayerhq.hu
 
-comment "libdvdnav needs a toolchain w/ dynamic library, largefile, threads"
-	depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
+comment "libdvdnav needs a toolchain w/ dynamic library, threads"
+	depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS

+ 2 - 3
package/libdvdread/Config.in

@@ -1,6 +1,5 @@
 config BR2_PACKAGE_LIBDVDREAD
 	bool "libdvdread"
-	depends on BR2_LARGEFILE
 	depends on !BR2_STATIC_LIBS
 	help
 	  libdvdread provides a simple foundation for reading
@@ -8,5 +7,5 @@ config BR2_PACKAGE_LIBDVDREAD
 
 	  http://www.mplayerhq.hu/MPlayer/releases/dvdnav/
 
-comment "libdvdread needs a toolchain w/ dynamic library, largefile"
-	depends on !BR2_LARGEFILE || BR2_STATIC_LIBS
+comment "libdvdread needs a toolchain w/ dynamic library"
+	depends on BR2_STATIC_LIBS

+ 2 - 3
package/libftdi1/Config.in

@@ -13,13 +13,12 @@ config BR2_PACKAGE_LIBTFDI1_LIBFTDIPP1
 	bool "libfdtipp1"
 	select BR2_PACKAGE_BOOST
 	depends on BR2_INSTALL_LIBSTDCPP # boost
-	depends on BR2_LARGEFILE # boost
 	depends on BR2_TOOLCHAIN_HAS_THREADS # boost
 	help
 	  C++ bindings for libftdi
 
-comment "libfdtipp1 needs a toolchain w/ C++, largefile"
-	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_LARGEFILE
+comment "libfdtipp1 needs a toolchain w/ C++"
+	depends on !BR2_INSTALL_LIBSTDCPP
 
 config BR2_PACKAGE_LIBTFDI1_PYTHON_BINDINGS
 	bool "python bindings"

+ 2 - 3
package/libfuse/Config.in

@@ -2,7 +2,6 @@ config BR2_PACKAGE_LIBFUSE
 	bool "libfuse"
 	# Really doesn't like static, see fuse/lib/fuse.c
 	depends on !BR2_STATIC_LIBS
-	depends on BR2_LARGEFILE
 	depends on BR2_TOOLCHAIN_HAS_THREADS
 	depends on BR2_USE_MMU # fork()
 	help
@@ -10,6 +9,6 @@ config BR2_PACKAGE_LIBFUSE
 
 	  http://fuse.sourceforge.net/
 
-comment "libfuse needs a toolchain w/ largefile, threads, dynamic library"
+comment "libfuse needs a toolchain w/ threads, dynamic library"
 	depends on BR2_USE_MMU
-	depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
+	depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS

+ 0 - 4
package/libmnl/Config.in

@@ -1,11 +1,7 @@
 config BR2_PACKAGE_LIBMNL
 	bool "libmnl"
-	depends on BR2_LARGEFILE
 	help
 	  libmnl is a minimalistic user-space library oriented
 	  to Netlink developers.
 
 	  http://netfilter.org/projects/libmnl/
-
-comment "libmnl needs a toolchain w/ largefile"
-	depends on !BR2_LARGEFILE

+ 0 - 4
package/libnetfilter_acct/Config.in

@@ -1,12 +1,8 @@
 config BR2_PACKAGE_LIBNETFILTER_ACCT
 	bool "libnetfilter_acct"
-	depends on BR2_LARGEFILE
 	select BR2_PACKAGE_LIBMNL
 	help
 	  libnetfilter_acct is the userspace library providing interface
 	  to extended accounting infrastructure.
 
 	  http://www.netfilter.org/projects/libnetfilter_acct/
-
-comment "libnetfilter_acct needs a toolchain w/ largefile"
-	depends on !BR2_LARGEFILE

+ 0 - 4
package/libnetfilter_conntrack/Config.in

@@ -1,6 +1,5 @@
 config BR2_PACKAGE_LIBNETFILTER_CONNTRACK
 	bool "libnetfilter_conntrack"
-	depends on BR2_LARGEFILE
 	select BR2_PACKAGE_LIBMNL
 	select BR2_PACKAGE_LIBNFNETLINK
 	help
@@ -9,6 +8,3 @@ config BR2_PACKAGE_LIBNETFILTER_CONNTRACK
 	  connection tracking state table.
 
 	  http://www.netfilter.org/projects/libnetfilter_conntrack/
-
-comment "libnetfilter_conntrack needs a toolchain w/ largefile"
-	depends on !BR2_LARGEFILE

+ 0 - 4
package/libnetfilter_cthelper/Config.in

@@ -1,6 +1,5 @@
 config BR2_PACKAGE_LIBNETFILTER_CTHELPER
 	bool "libnetfilter_cthelper"
-	depends on BR2_LARGEFILE
 	select BR2_PACKAGE_LIBMNL
 	help
 	  libnetfilter_cthelper is the userspace library that provides
@@ -8,6 +7,3 @@ config BR2_PACKAGE_LIBNETFILTER_CTHELPER
 	  available since Linux kernel 3.6.
 
 	  http://www.netfilter.org/projects/libnetfilter_cthelper/
-
-comment "libnetfilter_cthelper needs a toolchain w/ largefile"
-	depends on !BR2_LARGEFILE

+ 0 - 4
package/libnetfilter_cttimeout/Config.in

@@ -1,6 +1,5 @@
 config BR2_PACKAGE_LIBNETFILTER_CTTIMEOUT
 	bool "libnetfilter_cttimeout"
-	depends on BR2_LARGEFILE
 	select BR2_PACKAGE_LIBMNL
 	help
 	  libnetfilter_cttimeout is the userspace library that provides
@@ -8,6 +7,3 @@ config BR2_PACKAGE_LIBNETFILTER_CTTIMEOUT
 	  connection tracking timeout infrastructure.
 
 	  http://www.netfilter.org/projects/libnetfilter_cttimeout/
-
-comment "libnetfilter_cttimout needs a toolchain w/ largefile"
-	depends on !BR2_LARGEFILE

+ 2 - 3
package/libnetfilter_queue/Config.in

@@ -1,6 +1,5 @@
 config BR2_PACKAGE_LIBNETFILTER_QUEUE
 	bool "libnetfilter_queue"
-	depends on BR2_LARGEFILE
 	depends on BR2_INET_IPV6
 	select BR2_PACKAGE_LIBNFNETLINK
 	select BR2_PACKAGE_LIBMNL
@@ -11,5 +10,5 @@ config BR2_PACKAGE_LIBNETFILTER_QUEUE
 
 	  http://www.netfilter.org/projects/libnetfilter_queue/
 
-comment "libnetfilter_queue needs a toolchain w/ largefile, IPv6"
-	depends on !BR2_LARGEFILE && !BR2_INET_IPV6
+comment "libnetfilter_queue needs a toolchain w/ IPv6"
+	depends on !BR2_INET_IPV6

+ 2 - 3
package/libnfs/Config.in

@@ -1,11 +1,10 @@
 config BR2_PACKAGE_LIBNFS
 	bool "libnfs"
 	depends on BR2_TOOLCHAIN_HAS_NATIVE_RPC
-	depends on BR2_LARGEFILE
 	help
 	  nfs userspace implementation.
 
 	  http://github.com/sahlberg/libnfs
 
-comment "libnfs needs a toolchain w/ RPC and LARGEFILE"
-	depends on !(BR2_TOOLCHAIN_HAS_NATIVE_RPC && BR2_LARGEFILE)
+comment "libnfs needs a toolchain w/ RPC"
+	depends on !BR2_TOOLCHAIN_HAS_NATIVE_RPC

+ 2 - 3
package/libnftnl/Config.in

@@ -1,7 +1,6 @@
 config BR2_PACKAGE_LIBNFTNL
 	bool "libnftnl"
 	depends on BR2_INET_IPV6
-	depends on BR2_LARGEFILE
 	# bad headers, no sa_family_t in linux/socket.h
 	depends on !(BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201103 || BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201009)
 	select BR2_PACKAGE_LIBMNL
@@ -34,5 +33,5 @@ comment "libnftnl XML parsing support needs a toolchain w/ threads"
 
 endif
 
-comment "libnftnl needs a toolchain w/ IPv6, largefile"
-	depends on !BR2_INET_IPV6 || !BR2_LARGEFILE
+comment "libnftnl needs a toolchain w/ IPv6"
+	depends on !BR2_INET_IPV6

+ 2 - 3
package/libnspr/Config.in

@@ -6,7 +6,6 @@ if BR2_PACKAGE_LIBNSPR_ARCH_SUPPORT
 
 config BR2_PACKAGE_LIBNSPR
 	bool "libnspr"
-	depends on BR2_LARGEFILE
 	depends on BR2_TOOLCHAIN_HAS_THREADS
 	help
 	  NSPR is the Netscape Portable Runtime library which provides
@@ -16,7 +15,7 @@ config BR2_PACKAGE_LIBNSPR
 
 	  http://www.mozilla.org/projects/nspr/
 
-comment "libnspr needs a toolchain w/ largefile, threads"
-	depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS
+comment "libnspr needs a toolchain w/ threads"
+	depends on !BR2_TOOLCHAIN_HAS_THREADS
 
 endif

+ 2 - 4
package/libnss/Config.in

@@ -3,7 +3,6 @@ config BR2_PACKAGE_LIBNSS
 	select BR2_PACKAGE_LIBNSPR
 	select BR2_PACKAGE_SQLITE
 	select BR2_PACKAGE_ZLIB
-	depends on BR2_LARGEFILE
 	depends on BR2_TOOLCHAIN_HAS_THREADS # libnspr
 	depends on BR2_PACKAGE_LIBNSPR_ARCH_SUPPORT # libnspr
 	depends on !BR2_STATIC_LIBS
@@ -16,7 +15,6 @@ config BR2_PACKAGE_LIBNSS
 
 	  http://www.mozilla.org/projects/security/pki/nss/
 
-comment "libnss needs a toolchain w/ largefile, threads, dynamic library"
+comment "libnss needs a toolchain w/ threads, dynamic library"
 	depends on BR2_PACKAGE_LIBNSPR_ARCH_SUPPORT
-	depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS || \
-		BR2_STATIC_LIBS
+	depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS

+ 0 - 4
package/libpciaccess/Config.in

@@ -1,8 +1,4 @@
 config BR2_PACKAGE_LIBPCIACCESS
 	bool "libpciaccess"
-	depends on BR2_LARGEFILE
 	help
 	  X.Org libpciaccess
-
-comment "libpciaccess needs a toolchain w/ largefile"
-	depends on !BR2_LARGEFILE

+ 2 - 5
package/libplayer/Config.in

@@ -1,5 +1,4 @@
 config BR2_PACKAGE_LIBPLAYER
-	depends on BR2_LARGEFILE
 	depends on BR2_TOOLCHAIN_HAS_THREADS
 	bool "libplayer"
 	help
@@ -16,8 +15,6 @@ config BR2_PACKAGE_LIBPLAYER_MPLAYER
 	depends on !(BR2_bfin || BR2_sh2a || BR2_sh4a || BR2_sh4aeb || \
 		BR2_microblaze || BR2_aarch64 || BR2_nios2)
 	# mplayer
-	depends on BR2_LARGEFILE
-	# mplayer
 	# Broken support for <ARMv5
 	depends on !BR2_ARM_CPU_ARMV4
 	select BR2_PACKAGE_MPLAYER
@@ -39,5 +36,5 @@ config BR2_PACKAGE_LIBPLAYER_PYTHON
 	bool "Libplayer python bindings"
 endif
 
-comment "libplayer needs a toolchain w/ largefile, threads"
-	depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS
+comment "libplayer needs a toolchain w/ threads"
+	depends on !BR2_TOOLCHAIN_HAS_THREADS

+ 2 - 3
package/libselinux/Config.in

@@ -3,7 +3,6 @@ config BR2_PACKAGE_LIBSELINUX
 	select BR2_PACKAGE_LIBSEPOL
 	select BR2_PACKAGE_PCRE
 	depends on BR2_TOOLCHAIN_HAS_THREADS
-	depends on BR2_LARGEFILE
 	depends on !BR2_STATIC_LIBS
 	help
 	  libselinux is the runtime SELinux library that provides
@@ -16,5 +15,5 @@ config BR2_PACKAGE_LIBSELINUX
 
 	  http://selinuxproject.org/page/Main_Page
 
-comment "libselinux needs a toolchain w/ largefile, threads, dynamic library"
-	depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_LARGEFILE || BR2_STATIC_LIBS
+comment "libselinux needs a toolchain w/ threads, dynamic library"
+	depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS

+ 2 - 3
package/libsemanage/Config.in

@@ -4,7 +4,6 @@ config BR2_PACKAGE_LIBSEMANAGE
 	select BR2_PACKAGE_USTR
 	select BR2_PACKAGE_BZIP2
 	depends on BR2_TOOLCHAIN_HAS_THREADS
-	depends on BR2_LARGEFILE
 	depends on !BR2_STATIC_LIBS
 	help
 	  libsemanage is the policy management library. It uses
@@ -27,5 +26,5 @@ config BR2_PACKAGE_LIBSEMANAGE_PYTHON_BINDINGS
 
 endif
 
-comment "libsemanage needs a toolchain w/ largefile, threads, dynamic library"
-	depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_LARGEFILE || BR2_STATIC_LIBS
+comment "libsemanage needs a toolchain w/ threads, dynamic library"
+	depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS

+ 0 - 7
package/libsndfile/Config.in

@@ -1,15 +1,8 @@
 config BR2_PACKAGE_LIBSNDFILE
 	bool "libsndfile"
-	# The absence of largefile doesn't prevent libsndfile to
-	# build, but at runtime the code assumes that off_t is 64
-	# bits, and asserts if not.
-	depends on BR2_LARGEFILE
 	help
 	  Libsndfile is a C library for reading and writing files containing
 	  sampled sound (such as MS Windows WAV and the Apple/SGI AIFF format)
 	  through one standard library interface.
 
 	  http://www.mega-nerd.com/libsndfile/
-
-comment "libsndfile needs a toolchain w/ largefile"
-	depends on !BR2_LARGEFILE

+ 2 - 3
package/libupnp/Config.in

@@ -1,6 +1,5 @@
 config BR2_PACKAGE_LIBUPNP
 	bool "libupnp"
-	depends on BR2_LARGEFILE
 	depends on BR2_TOOLCHAIN_HAS_THREADS
 	help
 	  The portable SDK for UPnP(tm) Devices (libupnp) provides developers
@@ -10,5 +9,5 @@ config BR2_PACKAGE_LIBUPNP
 
 	  http://pupnp.sourceforge.net/
 
-comment "libupnp needs a toolchain w/ largefile, threads"
-	depends on !(BR2_LARGEFILE && BR2_TOOLCHAIN_HAS_THREADS)
+comment "libupnp needs a toolchain w/ threads"
+	depends on !BR2_TOOLCHAIN_HAS_THREADS

+ 2 - 4
package/libupnpp/Config.in

@@ -4,7 +4,6 @@ config BR2_PACKAGE_LIBUPNPP
 	select BR2_PACKAGE_LIBCURL
 	select BR2_PACKAGE_LIBUPNP
 	depends on BR2_INSTALL_LIBSTDCPP
-	depends on BR2_LARGEFILE # libupnp
 	depends on BR2_TOOLCHAIN_HAS_THREADS # libupnp
 	depends on !BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2014R1 # Too old gcc
 	depends on !BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2013R1 # Ditto
@@ -18,11 +17,10 @@ config BR2_PACKAGE_LIBUPNPP
 
 	  http://www.lesbonscomptes.com/upmpdcli/
 
-comment "libupnpp needs a toolchain w/ C++, largefile, threads"
+comment "libupnpp needs a toolchain w/ C++, threads"
 	depends on !BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2014R1 # Too old gcc
 	depends on !BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2013R1 # Ditto
 	depends on !BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2 # Ditto
 	depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201305
 	depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201405
-	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_LARGEFILE || \
-		!BR2_TOOLCHAIN_HAS_THREADS
+	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS

+ 2 - 3
package/libv4l/Config.in

@@ -1,6 +1,5 @@
 config BR2_PACKAGE_LIBV4L
 	bool "libv4l"
-	depends on BR2_LARGEFILE
 	depends on BR2_TOOLCHAIN_HAS_THREADS
 	depends on BR2_USE_MMU # fork()
 	depends on BR2_INSTALL_LIBSTDCPP
@@ -29,7 +28,7 @@ config BR2_PACKAGE_LIBV4L_UTILS
 
 endif
 
-comment "libv4l needs a toolchain w/ largefile, threads and C++, headers >= 3.0"
+comment "libv4l needs a toolchain w/ threads and C++, headers >= 3.0"
 	depends on BR2_USE_MMU
-	depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS \
+	depends on !BR2_TOOLCHAIN_HAS_THREADS \
 		|| !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0

+ 2 - 4
package/libva-intel-driver/Config.in

@@ -8,14 +8,12 @@ config BR2_PACKAGE_LIBVA_INTEL_DRIVER
 	select BR2_PACKAGE_XLIB_LIBXFIXES if BR2_PACKAGE_XORG7
 	depends on BR2_i386 || BR2_x86_64
 	depends on BR2_TOOLCHAIN_HAS_THREADS # libdrm/libpthread-stubs
-	depends on BR2_LARGEFILE # libdrm
 	depends on !BR2_STATIC_LIBS # libva
 	help
 	  VA-API back-end driver for Intel graphics chips
 
 	  https://01.org/linuxgraphics/community/vaapi
 
-comment "libva intel driver needs a toolchain w/ largefile, threads, dynamic library"
-	depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS || \
-		BR2_STATIC_LIBS
+comment "libva intel driver needs a toolchain w/ threads, dynamic library"
+	depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
 	depends on BR2_i386 || BR2_x86_64

+ 2 - 4
package/libva/Config.in

@@ -5,7 +5,6 @@ config BR2_PACKAGE_LIBVA
 	select BR2_PACKAGE_XLIB_LIBXEXT if BR2_PACKAGE_XORG7
 	select BR2_PACKAGE_XLIB_LIBXFIXES if BR2_PACKAGE_XORG7
 	depends on BR2_TOOLCHAIN_HAS_THREADS # libdrm/libpthread-stubs
-	depends on BR2_LARGEFILE # libdrm
 	depends on !BR2_STATIC_LIBS
 	help
 	  The main motivation for VA-API (Video Acceleration API) is to enable
@@ -15,6 +14,5 @@ config BR2_PACKAGE_LIBVA
 
 	  http://www.freedesktop.org/wiki/Software/vaapi/
 
-comment "libva needs a toolchain w/ largefile, threads, dynamic library"
-	depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS || \
-		BR2_STATIC_LIBS
+comment "libva needs a toolchain w/ threads, dynamic library"
+	depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS

+ 0 - 4
package/libxml2/libxml2.mk

@@ -12,10 +12,6 @@ LIBXML2_LICENSE = MIT
 LIBXML2_LICENSE_FILES = COPYING
 LIBXML2_CONFIG_SCRIPTS = xml2-config
 
-ifneq ($(BR2_LARGEFILE),y)
-LIBXML2_CONF_ENV = CC="$(TARGET_CC) $(TARGET_CFLAGS) -DNO_LARGEFILE_SOURCE"
-endif
-
 LIBXML2_CONF_OPTS = --with-gnu-ld --without-python --without-debug
 
 HOST_LIBXML2_DEPENDENCIES = host-pkgconf

+ 1 - 2
package/lighttpd/lighttpd.mk

@@ -13,8 +13,7 @@ LIGHTTPD_LICENSE_FILES = COPYING
 LIGHTTPD_DEPENDENCIES = host-pkgconf
 LIGHTTPD_CONF_OPTS = \
 	--libdir=/usr/lib/lighttpd \
-	--libexecdir=/usr/lib \
-	$(if $(BR2_LARGEFILE),,--disable-lfs)
+	--libexecdir=/usr/lib
 
 ifeq ($(BR2_PACKAGE_LIGHTTPD_OPENSSL),y)
 LIGHTTPD_DEPENDENCIES += openssl

+ 2 - 3
package/lshw/Config.in

@@ -1,7 +1,6 @@
 config BR2_PACKAGE_LSHW
 	bool "lshw"
 	depends on BR2_INSTALL_LIBSTDCPP
-	depends on BR2_LARGEFILE
 	depends on BR2_USE_WCHAR
 	select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
 	help
@@ -10,5 +9,5 @@ config BR2_PACKAGE_LSHW
 
 	  http://ezix.org/project/wiki/HardwareLiSter
 
-comment "lshw needs a toolchain w/ C++, largefile, wchar"
-	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_LARGEFILE || !BR2_USE_WCHAR
+comment "lshw needs a toolchain w/ C++, wchar"
+	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR

+ 0 - 3
package/lsof/lsof.mk

@@ -17,9 +17,6 @@ LSOF_LICENSE_FILES = dialects/linux/dproto.h
 LSOF_DEPENDENCIES += $(if $(BR2_PACKAGE_BUSYBOX),busybox)
 
 BR2_LSOF_CFLAGS =
-ifeq ($(BR2_LARGEFILE),)
-BR2_LSOF_CFLAGS += -U_FILE_OFFSET_BITS
-endif
 ifeq ($(BR2_INET_IPV6),)
 BR2_LSOF_CFLAGS += -UHASIPv6
 endif

+ 2 - 3
package/ltp-testsuite/Config.in

@@ -7,7 +7,6 @@ config BR2_PACKAGE_LTP_TESTSUITE
 	depends on BR2_USE_MMU # fork()
 	depends on BR2_TOOLCHAIN_HAS_THREADS
 	depends on BR2_INET_IPV6
-	depends on BR2_LARGEFILE
 	depends on BR2_TOOLCHAIN_HAS_NATIVE_RPC
 	# does not build, cachectl.h issue
 	depends on !BR2_nios2
@@ -23,8 +22,8 @@ config BR2_PACKAGE_LTP_TESTSUITE
 
 	  http://ltp.sourceforge.net/
 
-comment "ltp-testsuite needs a toolchain w/ IPv6, RPC, largefile, threads"
+comment "ltp-testsuite needs a toolchain w/ IPv6, RPC, threads"
 	depends on !BR2_nios2
 	depends on BR2_USE_MMU
 	depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INET_IPV6 || \
-		!BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_NATIVE_RPC
+		!BR2_TOOLCHAIN_HAS_NATIVE_RPC

Some files were not shown because too many files changed in this diff