Config.in files: add missing dependencies to toolchain option comments
PATCH 1/1 Config.in files: add missing dependencies to toolchain option comments
When a package A depends on B and toolchain option C, then the comment that is given when C is not fulfilled should also depend on B. For example:
config BR2_PACKAGE_A
depends on BR2_PACKAGE_B
depends on BR2_LARGEFILE
depends on BR2_WCHAR
comment "A needs a toolchain w/ largefile, wchar"
depends on !BR2_LARGEFILE || !BR2_WCHAR
This comment should actually be:
comment "A needs a toolchain w/ largefile, wchar"
depends on BR2_PACKAGE_B depends on !BR2_LARGEFILE || !BR2_WCHAR
Otherwise, the comment would be visible even though the other dependencies are not met.
This patch adds such missing dependencies, and changes existing such dependencies from
depends on BR2_BASE_DEP && !BR2_TOOLCHAIN_USES_GLIBC
to
depends on BR2_BASE_DEP
depends on !BR2_TOOLCHAIN_USES_GLIBC
so that (positive) base dependencies are separate from the (negative) toolchain dependencies. This strategy makes it easier to write such comments (because one can simply copy the base dependency from the actual package config option), but also avoids complex and long boolean expressions.
---
Note: this patch is written on top of my earlier patch:
"Config.in files: add/update comments on (e)glibc dependencies" which is in ThomasP's for-peter branch.
While browsing through the Config.in files, I noticed following problems that I am planning to fix in later patches:
- missing comments for some dependencies on toolchain options
- unification of dependency on Linux kernel
- unification of dependency on udev /dev management
- unification of dependency on python, libgtk2, xorg7 (with comment or not)
- unification of dependency on locale support (and update manual)
- spaces instead of tabs on some lines, and trailing whitespace
fs/iso9660/Config.in | 3 ++- linux/Config.ext.in | 2 ++ package/a10disp/Config.in | 3 ++- package/aiccu/Config.in | 1 + package/aircrack-ng/Config.in | 1 + package/alsamixergui/Config.in | 3 ++- package/avahi/Config.in | 1 + package/bcusdk/Config.in | 1 + package/bind/Config.in | 1 + package/blackbox/Config.in | 3 ++- package/bluez_utils/Config.in | 1 + package/bmon/Config.in | 1 + package/bonnie/Config.in | 1 + package/bustle/Config.in | 1 + package/ccid/Config.in | 1 + package/cdrkit/Config.in | 1 + package/civetweb/Config.in | 1 + package/classpath/Config.in | 1 + package/connman/Config.in | 1 + package/conntrack-tools/Config.in | 1 + package/coreutils/Config.in | 1 + package/cryptsetup/Config.in | 1 + package/curlftpfs/Config.in | 1 + package/cvs/Config.in | 1 + package/czmq/Config.in | 2 ++ package/dbus-glib/Config.in | 4 ++-- package/dbus-python/Config.in | 4 ++-- package/dbus/Config.in | 1 + package/dmraid/Config.in | 1 + package/docker/Config.in | 4 ++-- package/dropwatch/Config.in | 1 + package/dstat/Config.in | 1 + package/ebtables/Config.in | 1 + package/efl/libedbus/Config.in | 2 ++ package/enlightenment/Config.in | 2 +- package/exfat/Config.in | 1 + package/fdk-aac/Config.in | 3 +++ package/filemq/Config.in | 2 ++ package/findutils/Config.in | 1 + package/flex/Config.in | 1 + package/fltk/Config.in | 3 ++- package/foomatic-filters/Config.in | 1 + package/freescale-imx/gpu-viv-bin-mx6q/Config.in | 1 + package/gawk/Config.in | 1 + package/gdb/Config.in | 2 ++ package/gesftpserver/Config.in | 1 + package/gettext/Config.in | 3 ++- package/git/Config.in | 1 + package/gmpc/Config.in | 4 ++-- package/gob2/Config.in | 1 + package/gpsd/Config.in | 1 + package/gstreamer/gst-ffmpeg/Config.in | 1 + package/gtest/Config.in | 1 + package/gutenprint/Config.in | 1 + package/gvfs/Config.in | 1 + package/hiawatha/Config.in | 1 + package/hplip/Config.in | 1 + package/inotify-tools/Config.in | 1 + package/iperf/Config.in | 1 + package/jamvm/Config.in | 2 ++ package/kismet/Config.in | 1 + package/libdrm/Config.in | 3 ++- package/libedit/Config.in | 1 + package/libfslvpuwrap/Config.in | 3 ++- package/libfuse/Config.in | 3 ++- package/libgail/Config.in | 4 ++-- package/libglade/Config.in | 4 ++-- package/libgtk2/Config.in | 1 + package/libnspr/Config.in | 1 + package/libnss/Config.in | 1 + package/libtirpc/Config.in | 2 ++ package/libunwind/Config.in | 2 ++ package/liburcu/Config.in | 1 + package/linknx/Config.in | 1 + package/linphone/Config.in | 1 + package/lmbench/Config.in | 1 + package/logrotate/Config.in | 1 + package/ltp-testsuite/Config.in | 5 +++-- package/lttng-babeltrace/Config.in | 4 ++-- package/lttng-libust/Config.in | 4 ++-- package/lttng-tools/Config.in | 1 + package/lvm2/Config.in | 3 ++- package/lxc/Config.in | 1 + package/lzma/Config.in | 3 ++- package/m4/Config.in | 1 + package/midori/Config.in | 4 +++- package/minicom/Config.in | 1 + package/minidlna/Config.in | 1 + package/mongoose/Config.in | 1 + package/mplayer/Config.in | 2 ++ package/mutt/Config.in | 1 + package/mysql_client/Config.in | 1 + package/ndisc6/Config.in | 1 + package/neard/Config.in | 1 + package/neardal/Config.in | 1 + package/netatalk/Config.in | 1 + package/netkitbase/Config.in | 3 ++- package/netkittelnet/Config.in | 1 + package/network-manager/Config.in | 1 + package/nfs-utils/Config.in | 1 + package/nmap/Config.in | 1 + package/nodejs/Config.in | 3 +++ package/ntfs-3g/Config.in | 1 + package/numactl/Config.in | 2 ++ package/ofono/Config.in | 1 + package/olsr/Config.in | 1 + package/on2-8170-modules/Config.in | 1 + package/openobex/Config.in | 1 + package/openpowerlink/Config.in | 1 + package/openvpn/Config.in | 1 + package/oprofile/Config.in | 1 + package/p11-kit/Config.in | 1 + package/parted/Config.in | 3 ++- package/pcmanfm/Config.in | 4 ++-- package/pcsc-lite/Config.in | 1 + package/php/Config.ext | 1 + package/pkg-config/Config.in | 3 ++- package/python-nfc/Config.in | 1 + package/python-pyzmq/Config.in | 1 + package/python/Config.in | 1 + package/python3/Config.in | 1 + package/qt/Config.in | 2 ++ package/qt5/Config.in | 1 + package/quagga/Config.in | 2 +- package/quota/Config.in | 1 + package/radvd/Config.in | 1 + package/redis/Config.in | 1 + package/rpcbind/Config.in | 2 ++ package/rpi-userland/Config.in | 1 + package/rt-tests/Config.in | 1 + package/rtorrent/Config.in | 1 + package/samba/Config.in | 2 ++ package/ser2net/Config.in | 1 + package/smartmontools/Config.in | 1 + package/snowball-init/Config.in | 4 ++-- package/socat/Config.in | 1 + package/socketcand/Config.in | 1 + package/sqlcipher/Config.in | 1 + package/squashfs3/Config.in | 3 ++- package/squid/Config.in | 1 + package/sshfs/Config.in | 1 + package/synergy/Config.in | 3 ++- package/sysprof/Config.in | 3 ++- package/systemd/Config.in | 1 + package/transmission/Config.in | 1 + package/tvheadend/Config.in | 3 ++- package/udisks/Config.in | 1 + package/udpcast/Config.in | 1 + package/unionfs/Config.in | 1 + package/ussp-push/Config.in | 1 + package/vala/Config.in | 3 ++- package/webkit/Config.in | 2 ++ package/webrtc-audio-processing/Config.in | 1 + package/wget/Config.in | 1 + package/wireshark/Config.in | 1 + package/wvdial/Config.in | 1 + package/wvstreams/Config.in | 1 + package/xenomai/Config.in | 2 ++ package/xscreensaver/Config.in | 1 + package/zmqpp/Config.in | 4 +++- package/zyre/Config.in | 2 ++ system/Config.in | 1 + 162 files changed, 217 insertions(+), 45 deletions(-)
fs/iso9660/Config.in +2 -1
@@ -13,4 +13,5 @@ config BR2_TARGET_ROOTFS_ISO9660_BOOT_ME default "fs/iso9660/menu.lst" comment "iso image requires a Linux kernel to be built" - depends on (BR2_i386 || BR2_x86_64) && !BR2_LINUX_KERNEL + depends on BR2_i386 || BR2_x86_64 + depends on !BR2_LINUX_KERNEL
linux/Config.ext.in +2 -0
@@ -17,6 +17,8 @@ config BR2_LINUX_KERNEL_EXT_XENOMAI PowerPC, 2.6.35.7, 2.6.36.4, 3.0.8. comment "xenomai needs a toolchain w/ threads" + depends on BR2_i386 || BR2_x86_64 || BR2_arm || \ + BR2_bfin || BR2_powerpc || BR2_sh4 depends on !BR2_TOOLCHAIN_HAS_THREADS config BR2_LINUX_KERNEL_EXT_XENOMAI_ADEOS_PATCH
package/a10disp/Config.in +2 -1
@@ -9,4 +9,5 @@ config BR2_PACKAGE_A10DISP http://github.com/hglm/a10disp comment "a10disp requires the linux kernel" - depends on BR2_arm && !BR2_LINUX_KERNEL + depends on BR2_arm + depends on !BR2_LINUX_KERNEL
package/aiccu/Config.in +1 -0
@@ -20,4 +20,5 @@ config BR2_PACKAGE_AICCU http://www.sixxs.net/tools/aiccu/ comment "aiccu needs a toolchain w/ IPv6, wchar, threads" + depends on BR2_USE_MMU depends on !(BR2_INET_IPV6 && BR2_USE_WCHAR && BR2_TOOLCHAIN_HAS_THREADS)
package/aircrack-ng/Config.in +1 -0
@@ -11,5 +11,6 @@ config BR2_PACKAGE_AIRCRACK_NG http://www.aircrack-ng.org/ comment "aircrack-ng needs a toolchain w/ largefile, threads" + depends on BR2_USE_MMU depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS
package/alsamixergui/Config.in +2 -1
@@ -14,4 +14,5 @@ config BR2_PACKAGE_ALSAMIXERGUI http://www.iua.upf.es/~mdeboer/projects/alsamixergui/ comment "alsamixergui needs a toolchain w/ C++, threads" - depends on (!BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS) && BR2_PACKAGE_XORG7 + depends on BR2_PACKAGE_XORG7 && BR2_USE_MMU + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
package/avahi/Config.in +1 -0
@@ -37,4 +37,5 @@ config BR2_PACKAGE_AVAHI_DAEMON endif comment "avahi needs a toolchain w/ threads" + depends on BR2_USE_MMU depends on !BR2_TOOLCHAIN_HAS_THREADS
package/bcusdk/Config.in +1 -0
@@ -20,4 +20,5 @@ config BR2_PACKAGE_BCUSDK http://www.auto.tuwien.ac.at/~mkoegler/eib/ comment "bcusdk needs a toolchain w/ C++" + depends on BR2_USE_MMU depends on !BR2_INSTALL_LIBSTDCPP
package/bind/Config.in +1 -0
@@ -40,4 +40,5 @@ config BR2_PACKAGE_BIND_TOOLS endif comment "bind needs a toolchain w/ largefile, IPv6" + depends on BR2_USE_MMU depends on !(BR2_LARGEFILE || BR2_INET_IPV6)
package/blackbox/Config.in +2 -1
@@ -12,4 +12,5 @@ config BR2_PACKAGE_BLACKBOX http://blackboxwm.sourceforge.net/ comment "blackbox needs a toolchain w/ C++" - depends on BR2_PACKAGE_XORG7 && !BR2_INSTALL_LIBSTDCPP + depends on BR2_PACKAGE_XORG7 && BR2_USE_MMU + depends on !BR2_INSTALL_LIBSTDCPP
package/bluez_utils/Config.in +1 -0
@@ -39,4 +39,5 @@ config BR2_PACKAGE_BLUEZ_UTILS_USB endif comment "bluez-utils needs a toolchain w/ wchar, threads" + depends on !BR2_avr32 && BR2_USE_MMU depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
package/bmon/Config.in +1 -0
@@ -6,4 +6,5 @@ config BR2_PACKAGE_BMON Linux bandwidth monitor comment "bmon needs a toolchain w/ IPv6" + depends on BR2_USE_MMU depends on !BR2_INET_IPV6
package/bonnie/Config.in +1 -0
@@ -8,4 +8,5 @@ config BR2_PACKAGE_BONNIE http://www.coker.com.au/bonnie++/ comment "bonnie++ needs a toolchain w/ C++" + depends on BR2_USE_MMU depends on !BR2_INSTALL_LIBSTDCPP
package/bustle/Config.in +1 -0
@@ -20,4 +20,5 @@ config BR2_PACKAGE_BUSTLE http://www.willthompson.co.uk/bustle/ comment "bustle needs a toolchain w/ wchar, threads" + depends on BR2_PACKAGE_DBUS depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
package/ccid/Config.in +1 -0
@@ -10,4 +10,5 @@ config BR2_PACKAGE_CCID http://pcsclite.alioth.debian.org/ccid.html comment "ccid needs a toolchain w/ threads" + depends on BR2_USE_MMU depends on !BR2_TOOLCHAIN_HAS_THREADS
package/cdrkit/Config.in +1 -0
@@ -13,4 +13,5 @@ config BR2_PACKAGE_CDRKIT http://www.cdrkit.org/ comment "cdrkit needs a toolchain w/ largefile" + depends on BR2_USE_MMU depends on !BR2_LARGEFILE
package/civetweb/Config.in +1 -0
@@ -24,4 +24,5 @@ comment "Lua support needs a toolchain w endif comment "civetweb needs a toolchain w/ threads" + depends on BR2_USE_MMU depends on !BR2_TOOLCHAIN_HAS_THREADS
package/classpath/Config.in +1 -0
@@ -11,4 +11,5 @@ config BR2_PACKAGE_CLASSPATH http://classpath.org comment "classpath needs a toolchain w/ IPv6" + depends on BR2_PACKAGE_JAMVM depends on !BR2_INET_IPV6
package/connman/Config.in +1 -0
@@ -50,5 +50,6 @@ config BR2_PACKAGE_CONNMAN_CLIENT endif # BR2_PACKAGE_CONNMAN comment "connman needs a toolchain w/ IPv6, wchar, threads, resolver" + depends on BR2_USE_MMU depends on BR2_UCLIBC_VERSION_0_9_32 || \ !BR2_USE_WCHAR || !BR2_INET_IPV6 || !BR2_TOOLCHAIN_HAS_THREADS
package/conntrack-tools/Config.in +1 -0
@@ -18,6 +18,7 @@ config BR2_PACKAGE_CONNTRACK_TOOLS http://www.netfilter.org/projects/conntrack-tools/ comment "conntrack-tools needs a toolchain w/ IPv6, largefile, threads" + depends on BR2_USE_MMU depends on !BR2_INET_IPV6 || \ !BR2_LARGEFILE || \ !(BR2_TOOLCHAIN_HAS_THREADS || BR2_TOOLCHAIN_HAS_NATIVE_RPC)
package/coreutils/Config.in +1 -0
@@ -15,4 +15,5 @@ config BR2_PACKAGE_COREUTILS http://www.gnu.org/software/coreutils/ comment "coreutils needs a toolchain w/ wchar" + depends on BR2_USE_MMU depends on !BR2_USE_WCHAR
package/cryptsetup/Config.in +1 -0
@@ -14,4 +14,5 @@ config BR2_PACKAGE_CRYPTSETUP https://code.google.com/p/cryptsetup/ comment "cryptsetup needs a toolchain w/ largefile, wchar" + depends on BR2_USE_MMU depends on !BR2_LARGEFILE || !BR2_USE_WCHAR
package/curlftpfs/Config.in +1 -0
@@ -18,4 +18,5 @@ config BR2_PACKAGE_CURLFTPFS http://curlftpfs.sourceforge.net/ comment "curlftpfs needs a toolchain w/ largefile, wchar, threads, dynamic library" + depends on BR2_USE_MMU depends on !BR2_LARGEFILE || !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || BR2_PREFER_STATIC_LIB
package/cvs/Config.in +1 -0
@@ -16,4 +16,5 @@ config BR2_PACKAGE_CVS_SERVER Enable cvs server code comment "cvs needs a toolchain w/ wchar" + depends on BR2_USE_MMU depends on !BR2_USE_WCHAR
package/czmq/Config.in +2 -0
@@ -16,5 +16,7 @@ config BR2_PACKAGE_CZMQ http://czmq.zeromq.org/ comment "czmq needs a toolchain w/ C++, IPv6, largefile, wchar" + depends on !BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2 && \ + !BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R1 depends on !(BR2_INSTALL_LIBSTDCPP && BR2_INET_IPV6 && BR2_LARGEFILE \ && BR2_USE_WCHAR && BR2_TOOLCHAIN_HAS_THREADS)
package/dbus-glib/Config.in +2 -2
@@ -10,5 +10,5 @@ config BR2_PACKAGE_DBUS_GLIB http://www.freedesktop.org/software/dbus comment "dbus-glib needs a toolchain w/ wchar, threads" - depends on BR2_PACKAGE_DBUS && \ - (!BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS) + depends on BR2_PACKAGE_DBUS + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
package/dbus-python/Config.in +2 -2
@@ -11,5 +11,5 @@ config BR2_PACKAGE_DBUS_PYTHON http://dbus.freedesktop.org/doc/dbus-python/ comment "dbus-python needs a toolchain w/ wchar, threads" - depends on BR2_PACKAGE_DBUS && BR2_PACKAGE_PYTHON && \ - (!BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS) + depends on BR2_PACKAGE_DBUS && BR2_PACKAGE_PYTHON + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
package/dbus/Config.in +1 -0
@@ -28,4 +28,5 @@ choice endchoice comment "dbus needs a toolchain w/ threads" + depends on BR2_USE_MMU depends on !BR2_TOOLCHAIN_HAS_THREADS
package/dmraid/Config.in +1 -0
@@ -11,4 +11,5 @@ config BR2_PACKAGE_DMRAID respective mappings for the ATARAID sets discovered. comment "dmraid needs a toolchain w/ largefile" + depends on BR2_USE_MMU depends on !BR2_LARGEFILE
package/docker/Config.in +2 -2
@@ -11,5 +11,5 @@ config BR2_PACKAGE_DOCKER http://icculus.org/openbox/2/docker comment "docker needs a toolchain w/ wchar, threads" - depends on BR2_PACKAGE_XORG7 && \ - (!BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS) + depends on BR2_PACKAGE_XORG7 + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
package/dropwatch/Config.in +1 -0
@@ -12,4 +12,5 @@ config BR2_PACKAGE_DROPWATCH https://fedorahosted.org/dropwatch/ comment "dropwatch needs a toolchain w/ threads" + depends on !BR2_aarch64 depends on !BR2_TOOLCHAIN_HAS_THREADS
package/dstat/Config.in +1 -0
@@ -21,4 +21,5 @@ config BR2_PACKAGE_DSTAT http://dag.wieers.com/home-made/dstat/ comment "dstat needs a toolchain w/ wchar" + depends on BR2_USE_MMU depends on !BR2_USE_WCHAR
package/ebtables/Config.in +1 -0
@@ -8,4 +8,5 @@ config BR2_PACKAGE_EBTABLES http://ebtables.sourceforge.net comment "ebtables needs a toolchain w/ IPv6" + depends on BR2_USE_MMU depends on !BR2_INET_IPV6
package/efl/libedbus/Config.in +2 -0
@@ -24,6 +24,7 @@ config BR2_PACKAGE_LIBEDBUS_BLUEZ Bluetooth support. comment "bluez support needs a toolchain w/ wchar, threads" + depends on !BR2_avr32 depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS config BR2_PACKAGE_LIBEDBUS_CONNMAN
@@ -40,4 +41,5 @@ config BR2_PACKAGE_LIBEDBUS_NOTIFY endif comment "libedbus needs a toolchain w/ threads" + depends on BR2_USE_MMU depends on !BR2_TOOLCHAIN_HAS_THREADS
package/enlightenment/Config.in +1 -1
@@ -36,5 +36,5 @@ config BR2_PACKAGE_ENLIGHTENMENT http://www.enlightenment.org/ comment "enlightenment needs a toolchain w/ wchar, C++, threads" - depends on BR2_PACKAGE_XORG7 + depends on BR2_PACKAGE_XORG7 && BR2_USE_MMU depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP
package/exfat/Config.in +1 -0
@@ -13,4 +13,5 @@ config BR2_PACKAGE_EXFAT http://code.google.com/p/exfat/ comment "exfat needs a toolchain w/ largefile, wchar, threads, dynamic library" + depends on BR2_USE_MMU depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR || BR2_PREFER_STATIC_LIB
package/fdk-aac/Config.in +3 -0
@@ -15,3 +15,6 @@ config BR2_PACKAGE_FDK_AAC comment "fdk-aac needs a toolchain w/ C++" depends on !BR2_INSTALL_LIBSTDCPP + depends on BR2_i386 || BR2_x86_64 || BR2_arm || BR2_armeb || \ + BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el || \ + BR2_powerpc || BR2_sh || BR2_sh64
package/filemq/Config.in +2 -0
@@ -18,5 +18,7 @@ config BR2_PACKAGE_FILEMQ http://github.com/zeromq/filemq comment "filemq needs a toolchain w/ C++, IPv6, largefile, wchar, threads" + depends on !BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2 && \ + !BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R1 depends on !(BR2_INSTALL_LIBSTDCPP && BR2_INET_IPV6 && BR2_LARGEFILE \ && BR2_USE_WCHAR && BR2_TOOLCHAIN_HAS_THREADS)
package/findutils/Config.in +1 -0
@@ -9,4 +9,5 @@ config BR2_PACKAGE_FINDUTILS http://www.gnu.org/software/findutils/findutils.html comment "findutils needs a toolchain w/ wchar" + depends on BR2_USE_MMU depends on !BR2_USE_WCHAR
package/flex/Config.in +1 -0
@@ -19,4 +19,5 @@ config BR2_PACKAGE_FLEX_BINARY Install the flex binary tool in the target filesystem. comment "flex binary needs a toolchain w/ wchar" + depends on BR2_USE_MMU && BR2_PACKAGE_FLEX depends on !BR2_USE_WCHAR
package/fltk/Config.in +2 -1
@@ -15,4 +15,5 @@ config BR2_PACKAGE_FLTK http://www.fltk.org/ comment "fltk needs a toolchain w/ C++" - depends on !BR2_INSTALL_LIBSTDCPP && BR2_PACKAGE_XORG7 + depends on BR2_USE_MMU && BR2_PACKAGE_XORG7 + depends on !BR2_INSTALL_LIBSTDCPP
package/foomatic-filters/Config.in +1 -0
@@ -1,4 +1,5 @@ comment "foomatic-filters needs a toolchain w/ threads" + depends on BR2_PACKAGE_CUPS depends on !BR2_TOOLCHAIN_HAS_THREADS config BR2_PACKAGE_FOOMATIC_FILTERS
package/freescale-imx/gpu-viv-bin-mx6q/Config.in +1 -0
@@ -1,4 +1,5 @@ comment "gpu-viv-bin-mx6q needs an (e)glibc toolchain" + depends on BR2_arm depends on !BR2_TOOLCHAIN_USES_GLIBC config BR2_PACKAGE_GPU_VIV_BIN_MX6Q
package/gawk/Config.in +1 -0
@@ -11,4 +11,5 @@ config BR2_PACKAGE_GAWK http://www.gnu.org/software/gawk/ comment "gawk needs a toolchain w/ wchar" + depends on BR2_USE_MMU depends on !BR2_USE_WCHAR
package/gdb/Config.in +2 -0
@@ -1,4 +1,5 @@ comment "gdb/gdbserver needs a toolchain w/ threads, threads debug" + depends on !BR2_aarch64 depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_TOOLCHAIN_HAS_THREADS_DEBUG config BR2_PACKAGE_GDB
@@ -42,6 +43,7 @@ config BR2_PACKAGE_GDB_DEBUGGER depends on !BR2_sh && !BR2_sh64 && !BR2_avr32 && !BR2_microblaze && !BR2_bfin comment "full gdb on target needs a toolchain w/ wchar" + depends on !BR2_sh && !BR2_sh64 && !BR2_avr32 && !BR2_microblaze && !BR2_bfin depends on !BR2_USE_WCHAR endif
package/gesftpserver/Config.in +1 -0
@@ -14,4 +14,5 @@ config BR2_PACKAGE_GESFTPSERVER http://www.greenend.org.uk/rjk/sftpserver/ comment "gesftpserver needs a toolchain w/ wchar, threads" + depends on BR2_USE_MMU depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
package/gettext/Config.in +2 -1
@@ -25,4 +25,5 @@ config BR2_PACKAGE_GETTEXT_TOOLS correct operation of programs. comment "gettext needs a toolchain w/ wchar" - depends on BR2_NEEDS_GETTEXT && !BR2_USE_WCHAR + depends on BR2_NEEDS_GETTEXT + depends on !BR2_USE_WCHAR
package/git/Config.in +1 -0
@@ -11,4 +11,5 @@ config BR2_PACKAGE_GIT http://git-scm.com comment "git needs a toolchain w/ largefile" + depends on BR2_USE_MMU depends on !BR2_LARGEFILE
package/gmpc/Config.in +2 -2
@@ -21,5 +21,5 @@ config BR2_PACKAGE_GMPC http://gmpcwiki.sarine.nl/index.php?title=GMPC comment "gmpc needs a toolchain w/ wchar, threads" - depends on BR2_PACKAGE_LIBGTK2 && !BR2_USE_WCHAR || \ - !BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_PACKAGE_XORG7 && BR2_PACKAGE_LIBGTK2 + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
package/gob2/Config.in +1 -0
@@ -14,4 +14,5 @@ config BR2_PACKAGE_GOB2 http://www.jirka.org/gob.html comment "gob2 needs a toolchain w/ wchar" + depends on BR2_USE_MMU depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
package/gpsd/Config.in +1 -0
@@ -1,4 +1,5 @@ comment "gpsd needs a toolchain w/ threads" + depends on BR2_USE_MMU depends on !BR2_TOOLCHAIN_HAS_THREADS config BR2_PACKAGE_GPSD
package/gstreamer/gst-ffmpeg/Config.in +1 -0
@@ -14,4 +14,5 @@ config BR2_PACKAGE_GST_FFMPEG http://gstreamer.freedesktop.org/ comment "gst-ffmpeg needs a toolchain w/ largefile, IPv6" + depends on BR2_PACKAGE_GSTREAMER depends on !(BR2_LARGEFILE && BR2_INET_IPV6)
package/gtest/Config.in +1 -0
@@ -22,4 +22,5 @@ config BR2_PACKAGE_GTEST http://code.google.com/p/googletest/ comment "gtest needs a toolchain w/ C++, wchar, threads" + depends on BR2_USE_MMU depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP
package/gutenprint/Config.in +1 -0
@@ -11,4 +11,5 @@ config BR2_PACKAGE_GUTENPRINT http://gimp-print.sourceforge.net/ comment "gutenprint needs a toolchain w/ C++" + depends on BR2_PACKAGE_CUPS depends on !BR2_INSTALL_LIBSTDCPP
package/gvfs/Config.in +1 -0
@@ -17,4 +17,5 @@ config BR2_PACKAGE_GVFS http://en.wikipedia.org/wiki/GVFS comment "gvfs needs a toolchain w/ largefile, wchar, threads" + depends on BR2_USE_MMU depends on !BR2_LARGEFILE || !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
package/hiawatha/Config.in +1 -0
@@ -1,4 +1,5 @@ comment "hiawatha needs a toolchain w/ threads" + depends on BR2_USE_MMU depends on !BR2_TOOLCHAIN_HAS_THREADS config BR2_PACKAGE_HIAWATHA
package/hplip/Config.in +1 -0
@@ -16,4 +16,5 @@ config BR2_PACKAGE_HPLIP http://hplipopensource.com/ comment "hplip needs a toolchain w/ C++, threads" + depends on BR2_PACKAGE_CUPS depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
package/inotify-tools/Config.in +1 -0
@@ -12,4 +12,5 @@ config BR2_PACKAGE_INOTIFY_TOOLS https://github.com/rvoicilas/inotify-tools comment "inotify-tools needs a toolchain w/ largefile" + depends on BR2_USE_MMU depends on !BR2_LARGEFILE
package/iperf/Config.in +1 -0
@@ -10,4 +10,5 @@ config BR2_PACKAGE_IPERF http://dast.nlanr.net/projects/iperf/ comment "iperf needs a toolchain w/ C++" + depends on BR2_USE_MMU depends on !BR2_INSTALL_LIBSTDCPP
package/jamvm/Config.in +2 -0
@@ -12,4 +12,6 @@ config BR2_PACKAGE_JAMVM http://jamvm.sf.net comment "jamvm needs a toolchain w/ IPv6" + depends on BR2_arm || BR2_armeb || BR2_i386 \ + || BR2_mipsel || BR2_powerpc || BR2_x86_64 depends on !BR2_INET_IPV6
package/kismet/Config.in +1 -0
@@ -1,4 +1,5 @@ comment "kismet needs a toolchain w/ threads, C++" + depends on BR2_USE_MMU depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS config BR2_PACKAGE_KISMET
package/libdrm/Config.in +2 -1
@@ -65,4 +65,5 @@ endmenu endif comment "libdrm needs a toolchain w/ largefile" - depends on BR2_PACKAGE_XORG7 && !BR2_LARGEFILE + depends on BR2_PACKAGE_XORG7 + depends on !BR2_LARGEFILE
package/libedit/Config.in +1 -0
@@ -16,4 +16,5 @@ config BR2_PACKAGE_LIBEDIT http://www.thrysoee.dk/editline/ comment "libedit needs a toolchain w/ wchar" + depends on BR2_USE_MMU depends on !BR2_USE_WCHAR
package/libfslvpuwrap/Config.in +2 -1
@@ -1,5 +1,6 @@ comment "libfslvpuwrap needs an imx-specific kernel to be built" - depends on BR2_arm && !BR2_LINUX_KERNEL + depends on BR2_arm + depends on !BR2_LINUX_KERNEL config BR2_PACKAGE_LIBFSLVPUWRAP bool "libfslvpuwrap"
package/libfuse/Config.in +2 -1
@@ -11,4 +11,5 @@ config BR2_PACKAGE_LIBFUSE http://fuse.sourceforge.net/ comment "libfuse needs a toolchain w/ largefile, threads, dynamic library" - depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS || BR2_PREFER_STATIC_LIB + depends on BR2_USE_MMU + depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS || BR2_PREFER_STATIC_LIB
package/libgail/Config.in +2 -2
@@ -20,5 +20,5 @@ config BR2_PACKAGE_LIBGAIL http://developer.gnome.org/projects/gap comment "libgail needs a toolchain w/ wchar, threads" - depends on BR2_PACKAGE_LIBGTK2 && \ - (!BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS) + depends on BR2_PACKAGE_LIBGTK2 + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
package/libglade/Config.in +2 -2
@@ -14,5 +14,5 @@ config BR2_PACKAGE_LIBGLADE http://ftp.gnome.org/pub/GNOME/sources/libglade/ comment "libglade needs a toolchain w/ wchar, threads" - depends on BR2_PACKAGE_LIBGTK2 && \ - (!BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS) + depends on BR2_PACKAGE_LIBGTK2 + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
package/libgtk2/Config.in +1 -0
@@ -32,5 +32,6 @@ config BR2_PACKAGE_LIBGTK2_DEMO endif comment "libgtk2 needs a toolchain w/ wchar, threads, C++" + depends on BR2_PACKAGE_XORG7 depends on !BR2_USE_WCHAR || !BR2_INSTALL_LIBSTDCPP || \ !BR2_TOOLCHAIN_HAS_THREADS
package/libnspr/Config.in +1 -0
@@ -12,4 +12,5 @@ config BR2_PACKAGE_LIBNSPR http://www.mozilla.org/projects/nspr/ comment "libnspr needs a toolchain w/ largefile, threads" + depends on !BR2_arc depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS
package/libnss/Config.in +1 -0
@@ -16,5 +16,6 @@ config BR2_PACKAGE_LIBNSS http://www.mozilla.org/projects/security/pki/nss/ comment "libnss needs a toolchain w/ largefile, threads" + depends on !BR2_arc depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS
package/libtirpc/Config.in +2 -0
@@ -15,4 +15,6 @@ config BR2_PACKAGE_LIBTIRPC http://sourceforge.net/projects/libtirpc/ comment "libtirpc needs a toolchain w/ threads" + depends on !BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2 && \ + !BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R1 depends on !BR2_TOOLCHAIN_HAS_THREADS
package/libunwind/Config.in +2 -0
@@ -9,4 +9,6 @@ config BR2_PACKAGE_LIBUNWIND http://www.nongnu.org/libunwind/index.html comment "libunwind needs a toolchain w/ threads" + depends on BR2_arm || BR2_armeb || BR2_mips || BR2_mipsel || BR2_mips64 || \ + BR2_mips64el || BR2_powerpc || BR2_sh || BR2_sh64 || BR2_i386 || BR2_x86_64 depends on !BR2_TOOLCHAIN_HAS_THREADS
package/liburcu/Config.in +1 -0
@@ -11,5 +11,6 @@ config BR2_PACKAGE_LIBURCU http://lttng.org/urcu comment "liburcu needs a toolchain w/ threads" + depends on BR2_arm || BR2_armeb || BR2_i386 || BR2_powerpc || BR2_x86_64 depends on !BR2_TOOLCHAIN_HAS_THREADS
package/linknx/Config.in +1 -0
@@ -10,4 +10,5 @@ config BR2_PACKAGE_LINKNX http://linknx.sourceforge.net/ comment "linknx needs a toolchain w/ C++" + depends on BR2_USE_MMU depends on !BR2_INSTALL_LIBSTDCPP
package/linphone/Config.in +1 -0
@@ -27,5 +27,6 @@ config BR2_PACKAGE_LINPHONE http://www.linphone.org/ comment "linphone needs a toolchain w/ threads, C++, IPv6" + depends on BR2_USE_MMU depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \ !BR2_INET_IPV6
package/lmbench/Config.in +1 -0
@@ -10,4 +10,5 @@ config BR2_PACKAGE_LMBENCH http://sourceforge.net/projects/lmbench/ comment "lmbench needs a toolchain w/ threads" + depends on BR2_USE_MMU depends on !(BR2_TOOLCHAIN_HAS_THREADS || BR2_TOOLCHAIN_HAS_NATIVE_RPC)
package/logrotate/Config.in +1 -0
@@ -9,5 +9,6 @@ config BR2_PACKAGE_LOGROTATE https://fedorahosted.org/logrotate/ comment "logrotate needs a toolchain w/ wchar" + depends on BR2_USE_MMU depends on !BR2_USE_WCHAR
package/ltp-testsuite/Config.in +3 -2
@@ -24,5 +24,6 @@ config BR2_PACKAGE_LTP_TESTSUITE http://ltp.sourceforge.net/ comment "ltp-testsuite needs a toolchain w/ IPv6, RPC, largefile, threads" - depends on (!BR2_TOOLCHAIN_HAS_THREADS || !BR2_INET_IPV6 || \ - !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_NATIVE_RPC) && !BR2_aarch64 + depends on !BR2_aarch64 + depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INET_IPV6 || \ + !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_NATIVE_RPC
package/lttng-babeltrace/Config.in +2 -2
@@ -28,5 +28,5 @@ config BR2_PACKAGE_LTTNG_BABELTRACE http://lttng.org comment "lttng-babeltrace needs a toolchain w/ wchar, threads, largefile" - depends on BR2_PACKAGE_LTTNG_TOOLS && \ - (!BR2_USE_WCHAR || !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS) + depends on BR2_PACKAGE_LTTNG_TOOLS + depends on !BR2_USE_WCHAR || !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS
package/lttng-libust/Config.in +2 -2
@@ -18,5 +18,5 @@ config BR2_PACKAGE_LTTNG_LIBUST http://lttng.org comment "lttng-libust needs a toolchain w/ wchar, largefile, threads" - depends on !(BR2_USE_WCHAR || BR2_LARGEFILE) - depends on !BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_arm || BR2_armeb || BR2_i386 || BR2_powerpc || BR2_x86_64 + depends on !BR2_USE_WCHAR || !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS
package/lttng-tools/Config.in +1 -0
@@ -28,5 +28,6 @@ config BR2_PACKAGE_LTTNG_TOOLS http://lttng.org comment "lttng-tools needs a toolchain w/ largefile, threads, wchar" + depends on BR2_arm || BR2_armeb || BR2_i386 || BR2_powerpc || BR2_x86_64 depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS || \ !BR2_USE_WCHAR
package/lvm2/Config.in +2 -1
@@ -30,4 +30,5 @@ config BR2_PACKAGE_LVM2_APP_LIBRARY Install application library (liblvm2app). comment "lvm2 needs a toolchain w/ largefile" - depends on !BR2_LARGEFILE + depends on BR2_USE_MMU + depends on !BR2_LARGEFILE
package/lxc/Config.in +1 -0
@@ -12,4 +12,5 @@ config BR2_PACKAGE_LXC http://lxc.sourceforge.net/ comment "lxc needs a toolchain w/ IPv6, threads" + depends on BR2_USE_MMU depends on !BR2_INET_IPV6 || !BR2_TOOLCHAIN_HAS_THREADS
package/lzma/Config.in +2 -1
@@ -9,4 +9,5 @@ config BR2_PACKAGE_LZMA http://tukaani.org/lzma/ comment "lzma needs a toolchain w/ C++" - depends on !BR2_INSTALL_LIBSTDCPP && BR2_DEPRECATED + depends on BR2_DEPRECATED + depends on !BR2_INSTALL_LIBSTDCPP
package/m4/Config.in +1 -0
@@ -9,4 +9,5 @@ config BR2_PACKAGE_M4 http://www.gnu.org/software/m4/m4.html comment "m4 needs a toolchain w/ wchar" + depends on BR2_USE_MMU depends on !BR2_USE_WCHAR
package/midori/Config.in +3 -1
@@ -16,5 +16,7 @@ config BR2_PACKAGE_MIDORI http://software.twotoasts.de/?page=midori comment "midori needs libgtk2 and a toolchain w/ C++, wchar, threads" - depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \ + depends on (BR2_arm || BR2_armeb || BR2_i386 || BR2_mips || BR2_mipsel || \ + BR2_powerpc || BR2_sh || BR2_sparc || BR2_x86_64) + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \ !BR2_TOOLCHAIN_HAS_THREADS || !BR2_PACKAGE_LIBGTK2
package/minicom/Config.in +1 -0
@@ -12,4 +12,5 @@ config BR2_PACKAGE_MINICOM http://alioth.debian.org/projects/minicom comment "minicom needs a toolchain w/ wchar" + depends on BR2_USE_MMU depends on !BR2_USE_WCHAR
package/minidlna/Config.in +1 -0
@@ -19,4 +19,5 @@ config BR2_PACKAGE_MINIDLNA http://minidlna.sourceforge.net/ comment "minidlna needs a toolchain w/ largefile, IPv6, threads" + depends on BR2_USE_MMU depends on !(BR2_LARGEFILE && BR2_INET_IPV6 && BR2_TOOLCHAIN_HAS_THREADS)
package/mongoose/Config.in +1 -0
@@ -8,4 +8,5 @@ config BR2_PACKAGE_MONGOOSE https://github.com/valenok/mongoose comment "mongoose needs a toolchain w/ threads" + depends on BR2_USE_MMU depends on !BR2_TOOLCHAIN_HAS_THREADS
package/mplayer/Config.in +2 -0
@@ -26,4 +26,6 @@ config BR2_PACKAGE_MPLAYER_MENCODER endif comment "mplayer needs a toolchain w/ largefile" + depends on !(BR2_sh2 || BR2_sh2a || BR2_sh4a || BR2_sh4aeb \ + || BR2_microblaze || BR2_aarch64) depends on !BR2_LARGEFILE
package/mutt/Config.in +1 -0
@@ -9,4 +9,5 @@ config BR2_PACKAGE_MUTT http://www.mutt.org/ comment "mutt needs a toolchain w/ wchar" + depends on BR2_USE_MMU depends on !BR2_USE_WCHAR
package/mysql_client/Config.in +1 -0
@@ -9,4 +9,5 @@ config BR2_PACKAGE_MYSQL_CLIENT MySQL client comment "MySQL client needs a toolchain w/ C++, threads" + depends on BR2_USE_MMU depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
package/ndisc6/Config.in +1 -0
@@ -1,4 +1,5 @@ comment "ndisc6 needs a toolchain w/ IPv6" + depends on BR2_USE_MMU depends on !BR2_INET_IPV6 config BR2_PACKAGE_NDISC6
package/neard/Config.in +1 -0
@@ -24,4 +24,5 @@ config BR2_PACKAGE_NEARD_TOOLS endif comment "neard needs a toolchain w/ wchar, threads" + depends on BR2_USE_MMU depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
package/neardal/Config.in +1 -0
@@ -21,4 +21,5 @@ config BR2_PACKAGE_NEARDAL_NCL endif comment "neardal needs a toolchain w/ wchar, threads" + depends on BR2_USE_MMU depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
package/netatalk/Config.in +1 -0
@@ -14,4 +14,5 @@ config BR2_PACKAGE_NETATALK http://netatalk.sourceforge.net/ comment "netatalk needs a toolchain w/ threads" + depends on BR2_USE_MMU depends on !BR2_TOOLCHAIN_HAS_THREADS
package/netkitbase/Config.in +2 -1
@@ -9,4 +9,5 @@ config BR2_PACKAGE_NETKITBASE ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/ comment "netkitbase needs a toolchain w/ RPC" - depends on !BR2_TOOLCHAIN_HAS_NATIVE_RPC + depends on BR2_USE_MMU && BR2_DEPRECATED + depends on !BR2_TOOLCHAIN_HAS_NATIVE_RPC
package/netkittelnet/Config.in +1 -0
@@ -9,4 +9,5 @@ config BR2_PACKAGE_NETKITTELNET ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/ comment "netkittelnet needs a toolchain w/ RPC" + depends on BR2_DEPRECATED depends on !BR2_TOOLCHAIN_HAS_NATIVE_RPC
package/network-manager/Config.in +1 -0
@@ -28,5 +28,6 @@ config BR2_PACKAGE_NETWORK_MANAGER http://projects.gnome.org/NetworkManager/ comment "NetworkManager needs a toolchain w/ IPv6, largefile, wchar, threads" + depends on BR2_USE_MMU depends on !BR2_INET_IPV6 || !BR2_LARGEFILE || !BR2_USE_WCHAR || \ !BR2_TOOLCHAIN_HAS_THREADS
package/nfs-utils/Config.in +1 -0
@@ -12,6 +12,7 @@ config BR2_PACKAGE_NFS_UTILS http://sourceforge.net/projects/nfs comment "nfs-utils needs a toolchain w/ largefile, threads" + depends on BR2_USE_MMU depends on !BR2_LARGEFILE || \ !(BR2_TOOLCHAIN_HAS_THREADS || BR2_TOOLCHAIN_HAS_NATIVE_RPC)
package/nmap/Config.in +1 -0
@@ -13,4 +13,5 @@ config BR2_PACKAGE_NMAP http://nmap.org comment "nmap needs a toolchain w/ C++, IPv6, threads" + depends on BR2_USE_MMU depends on !(BR2_INSTALL_LIBSTDCPP && BR2_INET_IPV6 && BR2_TOOLCHAIN_HAS_THREADS)
package/nodejs/Config.in +3 -0
@@ -15,6 +15,9 @@ config BR2_PACKAGE_NODEJS http://nodejs.org/ comment "nodejs needs a toolchain w/ C++, IPv6, largefile, threads" + depends on BR2_USE_MMU + depends on BR2_arm || BR2_i386 || BR2_x86_64 + depends on !(BR2_arm7tdmi || BR2_arm720t || BR2_arm920t || BR2_arm922t || BR2_fa526) depends on !BR2_INSTALL_LIBSTDCPP || !BR2_LARGEFILE || \ !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INET_IPV6
package/ntfs-3g/Config.in +1 -0
@@ -31,4 +31,5 @@ config BR2_PACKAGE_NTFS_3G_NTFSPROGS endif comment "ntfs-3g needs a toolchain w/ largefile, wchar, threads" + depends on BR2_USE_MMU depends on !(BR2_LARGEFILE && BR2_USE_WCHAR && BR2_TOOLCHAIN_HAS_THREADS)
package/numactl/Config.in +2 -0
@@ -13,4 +13,6 @@ config BR2_PACKAGE_NUMACTL http://oss.sgi.com/projects/libnuma/ comment "numactl needs a toolchain w/ largefile" + depends on BR2_i386 || BR2_mips || BR2_mipsel || \ + BR2_mips64 || BR2_mips64el || BR2_powerpc || BR2_x86_64 depends on !BR2_LARGEFILE
package/ofono/Config.in +1 -0
@@ -15,4 +15,5 @@ config BR2_PACKAGE_OFONO http://ofono.org/ comment "ofono needs a toolchain w/ wchar, threads" + depends on BR2_USE_MMU depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
package/olsr/Config.in +1 -0
@@ -14,4 +14,5 @@ config BR2_PACKAGE_OLSR http://www.olsr.org/ comment "olsr needs a toolchain w/ IPv6, threads" + depends on BR2_USE_MMU depends on !BR2_INET_IPV6 || !BR2_TOOLCHAIN_HAS_THREADS
package/on2-8170-modules/Config.in +1 -0
@@ -8,4 +8,5 @@ config BR2_PACKAGE_ON2_8170_MODULES http://www.at91.com/linux4sam/bin/view/Linux4SAM/SAM9M10Gstreamer comment "on2-8170 modules requires a linux kernel to be built" + depends on BR2_arm926t depends on !BR2_LINUX_KERNEL
package/openobex/Config.in +1 -0
@@ -18,6 +18,7 @@ config BR2_PACKAGE_OPENOBEX_BLUEZ select BR2_PACKAGE_BLUEZ_UTILS comment "bluez support needs a toolchain w/ wchar, threads" + depends on !BR2_avr32 && BR2_USE_MMU depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS config BR2_PACKAGE_OPENOBEX_LIBUSB
package/openpowerlink/Config.in +1 -0
@@ -1,4 +1,5 @@ comment "openpowerlink needs a toolchain w/ C++, threads" + depends on BR2_i386 || BR2_x86_64 depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS config BR2_PACKAGE_OPENPOWERLINK
package/openvpn/Config.in +1 -0
@@ -1,4 +1,5 @@ comment "openvpn needs a toolchain w/ IPv6" + depends on BR2_USE_MMU depends on !BR2_INET_IPV6 config BR2_PACKAGE_OPENVPN
package/oprofile/Config.in +1 -0
@@ -23,4 +23,5 @@ config BR2_PACKAGE_OPROFILE libraries, and applications. comment "oprofile needs a toolchain w/ C++" + depends on BR2_USE_MMU && !BR2_aarch64 depends on !BR2_INSTALL_LIBSTDCPP
package/p11-kit/Config.in +1 -0
@@ -12,4 +12,5 @@ config BR2_PACKAGE_P11_KIT http://p11-glue.freedesktop.org/p11-kit.html comment "p11-kit needs a toolchain w/ threads" + depends on BR2_USE_MMU depends on !BR2_TOOLCHAIN_HAS_THREADS
package/parted/Config.in +2 -1
@@ -13,4 +13,5 @@ config BR2_PACKAGE_PARTED http://www.gnu.org/software/parted/ comment "parted needs a toolchain w/ largefile, wchar" - depends on !(BR2_LARGEFILE && BR2_USE_WCHAR) + depends on BR2_USE_MMU + depends on !(BR2_LARGEFILE && BR2_USE_WCHAR)
package/pcmanfm/Config.in +2 -2
@@ -14,5 +14,5 @@ config BR2_PACKAGE_PCMANFM http://internap.dl.sourceforge.net/sourceforge/pcmanfm comment "pcmanfm needs a toolchain w/ wchar, threads" - depends on BR2_PACKAGE_XORG7 && \ - (!BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS) + depends on BR2_PACKAGE_XORG7 && BR2_PACKAGE_LIBGTK2 + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
package/pcsc-lite/Config.in +1 -0
@@ -29,4 +29,5 @@ config BR2_PACKAGE_PCSC_LITE_EMBEDDED endif comment "pcsc-lite needs a toolchain w/ threads" + depends on BR2_USE_MMU depends on !BR2_TOOLCHAIN_HAS_THREADS
package/php/Config.ext +1 -0
@@ -138,6 +138,7 @@ config BR2_PACKAGE_PHP_EXT_PDO_MYSQL PDO driver for MySQL comment "MySQL drivers need a toolchain w/ C++" + depends on BR2_USE_MMU depends on !BR2_INSTALL_LIBSTDCPP config BR2_PACKAGE_PHP_EXT_PDO_SQLITE
package/pkg-config/Config.in +2 -1
@@ -13,4 +13,5 @@ config BR2_PACKAGE_PKG_CONFIG http://www.freedesktop.org/software/pkgconfig/ comment "pkg-config needs a toolchain w/ wchar, threads" - depends on BR2_DEPRECATED && (!BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS) + depends on BR2_DEPRECATED + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
package/python-nfc/Config.in +1 -0
@@ -10,4 +10,5 @@ config BR2_PACKAGE_PYTHON_NFC https://launchpad.net/nfcpy comment "python-nfc needs a toolchain w/ threads" + depends on BR2_PACKAGE_PYTHON depends on !BR2_TOOLCHAIN_HAS_THREADS
package/python-pyzmq/Config.in +1 -0
@@ -13,5 +13,6 @@ config BR2_PACKAGE_PYTHON_PYZMQ http://zeromq.org/bindings:python comment "python-pyzmq needs a toolchain w/ C++, IPv6, largefile, wchar, threads" + depends on BR2_PACKAGE_PYTHON depends on !(BR2_INSTALL_LIBSTDCPP && BR2_INET_IPV6 && BR2_LARGEFILE \ && BR2_USE_WCHAR && BR2_TOOLCHAIN_HAS_THREADS)
package/python/Config.in +1 -0
@@ -10,6 +10,7 @@ config BR2_PACKAGE_PYTHON http://www.python.org/ comment "python needs a toolchain w/ wchar" + depends on BR2_USE_MMU depends on !BR2_USE_WCHAR if BR2_PACKAGE_PYTHON
package/python3/Config.in +1 -0
@@ -10,6 +10,7 @@ config BR2_PACKAGE_PYTHON3 http://www.python.org/ comment "python3 needs a toolchain w/ wchar" + depends on BR2_USE_MMU depends on !BR2_USE_WCHAR if BR2_PACKAGE_PYTHON3
package/qt/Config.in +2 -0
@@ -1,4 +1,5 @@ comment "qt needs a toolchain w/ C++, threads" + depends on !BR2_avr32 depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS menuconfig BR2_PACKAGE_QT
@@ -301,6 +302,7 @@ config BR2_PACKAGE_QT_DBUS Build the Qt DBus module. comment "DBus Module needs a toolchain w/ threads" + depends on BR2_USE_MMU depends on !BR2_TOOLCHAIN_HAS_THREADS config BR2_PACKAGE_QT_XML
package/qt5/Config.in +1 -0
@@ -1,4 +1,5 @@ comment "Qt5 needs a toolchain w/ wchar, IPv6, threads, C++" + depends on !BR2_PACKAGE_QT depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || !BR2_INET_IPV6 || !BR2_TOOLCHAIN_HAS_THREADS menuconfig BR2_PACKAGE_QT5
package/quagga/Config.in +1 -1
@@ -15,7 +15,7 @@ config BR2_PACKAGE_QUAGGA_ZEBRA Build zebra daemon. comment "zebra daemon needs a toolchain w/ IPv6" - depends on BR2_PACKAGE_QUAGGA && !BR2_INET_IPV6 + depends on !BR2_INET_IPV6 config BR2_PACKAGE_QUAGGA_TCP_ZEBRA bool "Use TCP sockets between zebra and protocol daemons"
package/quota/Config.in +1 -0
@@ -16,6 +16,7 @@ config BR2_PACKAGE_QUOTA http://sourceforge.net/projects/linuxquota/ comment "quota needs a toolchain w/ largefile, wchar, threads" + depends on BR2_USE_MMU && !(BR2_microblazeel || BR2_microblazebe) depends on !BR2_LARGEFILE || \ !BR2_USE_WCHAR || \ !(BR2_TOOLCHAIN_HAS_THREADS || BR2_TOOLCHAIN_HAS_NATIVE_RPC)
package/radvd/Config.in +1 -0
@@ -11,4 +11,5 @@ config BR2_PACKAGE_RADVD http://www.litech.org/radvd/ comment "radvd needs a toolchain w/ IPv6" + depends on BR2_USE_MMU depends on !BR2_INET_IPV6
package/redis/Config.in +1 -0
@@ -11,4 +11,5 @@ config BR2_PACKAGE_REDIS http://www.redis.io comment "redis needs a toolchain w/ largefile, threads" + depends on BR2_USE_MMU depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS
package/rpcbind/Config.in +2 -0
@@ -13,4 +13,6 @@ config BR2_PACKAGE_RPCBIND into universal addresses. comment "rpcbind needs a toolchain w/ threads" + depends on !BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2 && \ + !BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R1 depends on !BR2_TOOLCHAIN_HAS_THREADS
package/rpi-userland/Config.in +1 -0
@@ -18,4 +18,5 @@ config BR2_PACKAGE_RPI_USERLAND https://github.com/raspberrypi/userland/ comment "rpi-userland needs a toolchain w/ C++, largefile, threads" + depends on BR2_arm depends on !BR2_INSTALL_LIBSTDCPP || !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS
package/rt-tests/Config.in +1 -0
@@ -23,4 +23,5 @@ config BR2_PACKAGE_RT_TESTS http://rt.wiki.kernel.org comment "rt-tests needs a toolchain w/ threads" + depends on !BR2_avr32 depends on !BR2_TOOLCHAIN_HAS_THREADS
package/rtorrent/Config.in +1 -0
@@ -15,4 +15,5 @@ config BR2_PACKAGE_RTORRENT http://libtorrent.rakshasa.no/ comment "rtorrent needs a toolchain w/ C++, threads, wchar" + depends on BR2_USE_MMU depends on !(BR2_INSTALL_LIBSTDCPP && BR2_USE_WCHAR && BR2_TOOLCHAIN_HAS_THREADS)
package/samba/Config.in +2 -0
@@ -14,6 +14,7 @@ config BR2_PACKAGE_SAMBA so choose only the components you need. comment "samba needs a toolchain w/ threads" + depends on BR2_USE_MMU depends on !BR2_TOOLCHAIN_HAS_THREADS if BR2_PACKAGE_SAMBA
@@ -251,6 +252,7 @@ config BR2_PACKAGE_SAMBA_AVAHI Include support for avahi comment "support avahi - disabled (requires avahi-daemon)" + depends on BR2_USE_MMU depends on !BR2_PACKAGE_AVAHI_DAEMON config BR2_PACKAGE_SAMBA_GAMIN
package/ser2net/Config.in +1 -0
@@ -9,4 +9,5 @@ config BR2_PACKAGE_SER2NET http://ser2net.sourceforge.net comment "ser2net needs a toolchain w/ IPv6" + depends on BR2_USE_MMU depends on !BR2_INET_IPV6
package/smartmontools/Config.in +1 -0
@@ -8,4 +8,5 @@ config BR2_PACKAGE_SMARTMONTOOLS http://smartmontools.sourceforge.net/ comment "smartmontools needs a toolchain w/ C++" + depends on BR2_USE_MMU depends on !BR2_INSTALL_LIBSTDCPP
package/snowball-init/Config.in +2 -2
@@ -13,5 +13,5 @@ config BR2_PACKAGE_SNOWBALL_INIT http://www.igloocommunity.org comment "snowball-init needs a toolchain w/ wchar, threads" - depends on !BR2_avr32 && \ - (!BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS) + depends on !BR2_avr32 && BR2_USE_MMU + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
package/socat/Config.in +1 -0
@@ -8,4 +8,5 @@ config BR2_PACKAGE_SOCAT http://www.dest-unreach.org/socat/ comment "socat needs a toolchain w/ threads" + depends on BR2_USE_MMU depends on !BR2_TOOLCHAIN_HAS_THREADS
package/socketcand/Config.in +1 -0
@@ -9,4 +9,5 @@ config BR2_PACKAGE_SOCKETCAND https://github.com/dschanoeh/socketcand comment "socketcand needs a toolchain w/ threads" + depends on BR2_USE_MMU depends on !BR2_TOOLCHAIN_HAS_THREADS
package/sqlcipher/Config.in +1 -0
@@ -30,4 +30,5 @@ comment "sqlcipher conflicts with sqlite depends on BR2_PACKAGE_SQLITE comment "sqlcipher needs a toolchain w/ threads" + depends on !BR2_PACKAGE_SQLITE depends on !BR2_TOOLCHAIN_HAS_THREADS
package/squashfs3/Config.in +2 -1
@@ -8,4 +8,5 @@ config BR2_PACKAGE_SQUASHFS3 http://squashfs.sourceforge.net/ comment "squashfs3 needs a toolchain w/ largefile" - depends on BR2_DEPRECATED && !BR2_LARGEFILE + depends on BR2_DEPRECATED + depends on !BR2_LARGEFILE
package/squid/Config.in +1 -0
@@ -1,4 +1,5 @@ comment "squid needs a toolchain w/ C++, IPv6" + depends on BR2_USE_MMU depends on !BR2_INSTALL_LIBSTDCPP || !BR2_INET_IPV6 config BR2_PACKAGE_SQUID
package/sshfs/Config.in +1 -0
@@ -16,4 +16,5 @@ config BR2_PACKAGE_SSHFS http://fuse.sourceforge.net/sshfs.html comment "sshfs needs a toolchain w/ largefile, wchar, threads, dynamic library" + depends on BR2_USE_MMU depends on !BR2_LARGEFILE || !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || BR2_PREFER_STATIC_LIB
package/synergy/Config.in +2 -1
@@ -13,4 +13,5 @@ config BR2_PACKAGE_SYNERGY http://synergy2.sourceforge.net/ comment "synergy needs a toolchain w/ C++, wchar" - depends on BR2_PACKAGE_XORG7 && !(BR2_INSTALL_LIBSTDCPP && BR2_USE_WCHAR) + depends on BR2_PACKAGE_XORG7 + depends on !(BR2_INSTALL_LIBSTDCPP && BR2_USE_WCHAR)
package/sysprof/Config.in +2 -1
@@ -25,4 +25,5 @@ config BR2_PACKAGE_SYSPROF_GUI endif comment "sysprof needs a toolchain w/ wchar, threads" - depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_i386 || BR2_x86_64 || BR2_powerpc || BR2_sh4a || BR2_sh4aeb + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
package/systemd/Config.in +1 -0
@@ -19,5 +19,6 @@ config BR2_PACKAGE_SYSTEMD http://freedesktop.org/wiki/Software/systemd comment "systemd needs udev /dev management and a toolchain w/ IPv6, threads" + depends on BR2_USE_MMU depends on !BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV || !BR2_INET_IPV6 || \\ !BR2_TOOLCHAIN_HAS_THREADS
package/transmission/Config.in +1 -0
@@ -47,4 +47,5 @@ comment "transmission-gtk needs a toolch endif comment "transmission needs a toolchain w/ IPv6, threads" + depends on BR2_USE_MMU depends on !BR2_INET_IPV6 || !BR2_TOOLCHAIN_HAS_THREADS
package/tvheadend/Config.in +2 -1
@@ -1,5 +1,6 @@ comment "tvheadend needs a toolchain w/ largefile, IPv6, threads" - depends on !BR2_LARGEFILE || !BR2_INET_IPV6 || !BR2_TOOLCHAIN_HAS_THREADS + depends on !BR2_avr32 + depends on !BR2_LARGEFILE || !BR2_INET_IPV6 || !BR2_TOOLCHAIN_HAS_THREADS config BR2_PACKAGE_TVHEADEND bool "tvheadend"
package/udisks/Config.in +1 -0
@@ -36,5 +36,6 @@ config BR2_PACKAGE_UDISKS_LVM2 endif comment "udisks needs udev /dev management and a toolchain w/ wchar, threads" + depends on BR2_USE_MMU depends on !BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV || \ !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
package/udpcast/Config.in +1 -0
@@ -10,6 +10,7 @@ config BR2_PACKAGE_UDPCAST http://www.udpcast.linux.lu/ comment "udpcast needs a toolchain w/ largefile, threads" + depends on BR2_USE_MMU depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS menu "udpcast tools selection"
package/unionfs/Config.in +1 -0
@@ -11,4 +11,5 @@ config BR2_PACKAGE_UNIONFS http://podgorny.cz/moin/UnionFsFuse comment "unionfs needs a toolchain w/ largefile, threads, dynamic library" + depends on BR2_USE_MMU depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS || BR2_PREFER_STATIC_LIB
package/ussp-push/Config.in +1 -0
@@ -15,4 +15,5 @@ config BR2_PACKAGE_USSP_PUSH http://www.xmailserver.org/ussp-push.html comment "ussp-push needs a toolchain w/ wchar, IPv6, threads" + depends on !BR2_avr32 && BR2_USE_MMU depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INET_IPV6
package/vala/Config.in +2 -1
@@ -13,4 +13,5 @@ config BR2_PACKAGE_VALA http://live.gnome.org/Vala comment "vala needs a toolchain w/ wchar, threads" - depends on BR2_DEPRECATED && (!BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS) + depends on BR2_DEPRECATED + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
package/webkit/Config.in +2 -0
@@ -29,5 +29,7 @@ config BR2_PACKAGE_WEBKIT http://webkit.org/ comment "webkit needs libgtk2 and a toolchain w/ C++, wchar, threads" + depends on (BR2_arm || BR2_armeb || BR2_i386 || BR2_mips || BR2_mipsel || \ + BR2_powerpc || BR2_sh || BR2_sparc || BR2_x86_64) depends on !BR2_PACKAGE_LIBGTK2 || !BR2_INSTALL_LIBSTDCPP || \ !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
package/webrtc-audio-processing/Config.in +1 -0
@@ -10,4 +10,5 @@ config BR2_PACKAGE_WEBRTC_AUDIO_PROCESSI http://freedesktop.org/software/pulseaudio/webrtc-audio-processing/ comment "webrtc-audio-processing needs a toolchain w/ C++, threads" + depends on BR2_arm || BR2_i386 || BR2_x86_64 depends on !(BR2_INSTALL_LIBSTDCPP && BR2_TOOLCHAIN_HAS_THREADS)
package/wget/Config.in +1 -0
@@ -9,4 +9,5 @@ config BR2_PACKAGE_WGET http://www.gnu.org/software/wget/ comment "wget needs a toolchain w/ wchar" + depends on BR2_USE_MMU depends on !BR2_USE_WCHAR
package/wireshark/Config.in +1 -0
@@ -13,4 +13,5 @@ config BR2_PACKAGE_WIRESHARK http://www.wireshark.org comment "wireshark needs a toolchain w/ wchar, threads" + depends on BR2_USE_MMU depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
package/wvdial/Config.in +1 -0
@@ -10,4 +10,5 @@ config BR2_PACKAGE_WVDIAL http://wvdial.googlecode.com/ comment "wvdial needs a toolchain w/ C++, largefile" + depends on BR2_USE_MMU depends on !BR2_INSTALL_LIBSTDCPP || !BR2_LARGEFILE
package/wvstreams/Config.in +1 -0
@@ -11,4 +11,5 @@ config BR2_PACKAGE_WVSTREAMS http://wvstreams.googlecode.com/ comment "wvstreams needs a toolchain w/ C++, largefile" + depends on BR2_USE_MMU depends on !BR2_INSTALL_LIBSTDCPP || !BR2_LARGEFILE
package/xenomai/Config.in +2 -0
@@ -1,5 +1,7 @@ comment "xenomai needs a toolchain w/ threads" depends on !BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_i386 || BR2_x86_64 || BR2_arm || \ + BR2_bfin || BR2_powerpc || BR2_sh4 config BR2_PACKAGE_XENOMAI bool "Xenomai Userspace"
package/xscreensaver/Config.in +1 -0
@@ -19,4 +19,5 @@ config BR2_PACKAGE_XSCREENSAVER http://www.jwz.org/xscreensaver/ comment "xscreensaver needs a toolchain w/ C++, threads" + depends on BR2_PACKAGE_XORG7 depends on !(BR2_INSTALL_LIBSTDCPP && BR2_TOOLCHAIN_HAS_THREADS)
package/zmqpp/Config.in +3 -1
@@ -16,6 +16,7 @@ config BR2_PACKAGE_ZMQPP http://github.com/benjamg/zmqpp comment "zmqpp needs a toolchain w/ C++, IPv6, largefile, wchar, threads" + depends on !BR2_avr32 depends on !(BR2_INSTALL_LIBSTDCPP && BR2_INET_IPV6 && BR2_LARGEFILE \ && BR2_USE_WCHAR && BR2_TOOLCHAIN_HAS_THREADS)
@@ -30,4 +31,5 @@ config BR2_PACKAGE_ZMQPP_CLIENT used to listen or send to zeromq sockets. comment "zmqpp client needs a toolchain w/ threads" - depends on BR2_PACKAGE_ZMQPP && !BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_PACKAGE_ZMQPP + depends on !BR2_TOOLCHAIN_HAS_THREADS
package/zyre/Config.in +2 -0
@@ -17,5 +17,7 @@ config BR2_PACKAGE_ZYRE http://zyre.org comment "zyre needs a toolchain w/ C++, IPv6, largefile, wchar, threads" + depends on !BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2 && \ + !BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R1 depends on !(BR2_INSTALL_LIBSTDCPP && BR2_INET_IPV6 && BR2_LARGEFILE \ && BR2_USE_WCHAR && BR2_TOOLCHAIN_HAS_THREADS)
system/Config.in +1 -0
@@ -119,6 +119,7 @@ config BR2_INIT_SYSTEMD select BR2_PACKAGE_SYSTEMD comment 'systemd needs udev /dev management and a toolchain w/ largefile, wchar, IPv6, threads' + depends on BR2_USE_MMU depends on !(BR2_LARGEFILE && BR2_USE_WCHAR && \ BR2_INET_IPV6 && BR2_TOOLCHAIN_HAS_THREADS && \ BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV)
PATCH 1/1 Config.in files: add missing dependencies to toolchain option comments
Quoted 8 lines · Thomas De Schampheleire
When a package A depends on B and toolchain option C, then the comment that is given when C is not fulfilled should also depend on B. For example:
config
BR2_PACKAGE_A
depends onBR2_PACKAGE_B
depends onBR2_LARGEFILE
depends onBR2_WCHAR
Quoted 8 lines
comment "A needs a toolchain w/ largefile, wchar"
depends on !BR2_LARGEFILE || !BR2_WCHARThis comment should actually be:
comment "A needs a toolchain w/ largefile, wchar"
depends on BR2_PACKAGE_B depends on !BR2_LARGEFILE || !BR2_WCHAR
Actually, _most_ of the fixes you make here are for architecture
options, not package dependencies. Not that that matters much... except that I don't really agree with making this change for package dependencies.
For package dependencies, I much prefer to if...endif construct because
this draws the attention to the fact that the whole Config.in is disabled when the dependent package isn't selected. But I guess it's mostly a matter of taste anyway. Hm, maybe even moving all the arch and package dependencies to a global if...endif would be a good idea.
Quoted 15 lines
Otherwise, the comment would be visible even though the other dependencies are not met.
This patch adds such missing dependencies, and changes existing such dependencies from
depends onBR2_BASE_DEP&& !BR2_TOOLCHAIN_USES_GLIBC
to
depends onBR2_BASE_DEP
depends on !BR2_TOOLCHAIN_USES_GLIBC
so that (positive) base dependencies are separate from the (negative) toolchain dependencies. This strategy makes it easier to write such comments (because one can simply copy the base dependency from the actual package config option), but also avoids complex and long boolean expressions.
Quoted 1 line
Signed-off-by Thomas De Schampheleire <[email protected]>
Even though I have a bunch of comments, the patch is good as it is (and
also a bit fragile because of the large number of changes), so:
(untested)
Quoted 7 lines
---
Note: this patch is written on top of my earlier patch:
"Config.in files: add/update comments on (e)glibc dependencies" which is in ThomasP's for-peter branch.
Quoted 8 lines
While browsing through the Config.in files, I noticed following problems that I am planning to fix in later patches:
- missing comments for some dependencies on toolchain options
- unification of dependency on Linux kernel
- unification of dependency on udev /dev management
- unification of dependency on python, libgtk2, xorg7 (with comment or not)
- unification of dependency on locale support (and update manual)
- spaces instead of tabs on some lines, and trailing whitespace
Nice!
[snip]
package/alsamixergui/Config.in config BR2_PACKAGE_ALSAMIXERGUI · line 18
Quoted 10 lines
package/alsamixergui/Config.in +2
-1@@ -14,4 +14,5 @@ config BR2_PACKAGE_ALSAMIXERGUI http://www.iua.upf.es/~mdeboer/projects/alsamixergui/ comment "alsamixergui needs a toolchain w/ C++, threads" - depends on (!BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS) && BR2_PACKAGE_XORG7 + depends on BR2_PACKAGE_XORG7 && BR2_USE_MMU + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
I think there should be a 'depends on BR2_PACKAGE_XORG7' around all of
the X libraries and applications. On the other hand, there are a few that don't actually depend on X (liberation fonts, xkeyboard-config), and there may be more in the future that can run on either X or wayland...
[snip]
package/flex/Config.in config BR2_PACKAGE_FLEX_BINARY · line 22
Quoted 8 lines
package/flex/Config.in +1
-0@@ -19,4 +19,5 @@ config BR2_PACKAGE_FLEX_BINARY Install the flex binary tool in the target filesystem. comment "flex binary needs a toolchain w/ wchar" + depends on BR2_USE_MMU && BR2_PACKAGE_FLEX
This one should _definitely_ use an if...endif construct.
Quoted 1 line
package/flex/Config.in +0
-0depends on !BR2_USE_WCHAR
[snip]
package/gstreamer/gst-ffmpeg/Config.in config BR2_PACKAGE_GST_FFMPEG · line 18
Quoted 9 lines
package/gstreamer/gst-ffmpeg/Config.in +1
-0@@ -14,4 +14,5 @@ config BR2_PACKAGE_GST_FFMPEG http://gstreamer.freedesktop.org/ comment "gst-ffmpeg needs a toolchain w/ largefile, IPv6" + depends on BR2_PACKAGE_GSTREAMER depends on !(BR2_LARGEFILE && BR2_INET_IPV6)
There are a few more in the gstreamer/ directory that could be
rewritten. But here as well, I would prefer an if...endif in gstreamer/Config.in.
[snip]
Quoted 12 lines
package/zmqpp/Config.in +1
-0@@ -16,6 +16,7 @@ config BR2_PACKAGE_ZMQPP http://github.com/benjamg/zmqpp comment "zmqpp needs a toolchain w/ C++, IPv6, largefile, wchar, threads" + depends on !BR2_avr32 depends on !(BR2_INSTALL_LIBSTDCPP && BR2_INET_IPV6 && BR2_LARGEFILE \ && BR2_USE_WCHAR && BR2_TOOLCHAIN_HAS_THREADS)
package/zmqpp/Config.in config BR2_PACKAGE_ZMQPP_CLIENT · line 35
Quoted 6 lines
package/zmqpp/Config.in +2
-1@@ -30,4 +31,5 @@ config BR2_PACKAGE_ZMQPP_CLIENT used to listen or send to zeromq sockets. comment "zmqpp client needs a toolchain w/ threads" - depends on BR2_PACKAGE_ZMQPP && !BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_PACKAGE_ZMQPP + depends on !BR2_TOOLCHAIN_HAS_THREADS
This one should also use an if...endif.
Regards,
Arnout
[snip]
Signature · 6 lines
Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286500 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
PATCH 1/1 Config.in files: add missing dependencies to toolchain option comments
Hi Arnout,
Thanks for your review.
Quoted 21 lines · Arnout Vandecappelle
Quoted 10 lines · Thomas De Schampheleire
When a package A depends on B and toolchain option C, then the comment that
is given when C is not fulfilled should also depend on B. For example:config
BR2_PACKAGE_A
depends onBR2_PACKAGE_B
depends onBR2_LARGEFILE
depends onBR2_WCHARQuoted 8 lines
comment "A needs a toolchain w/ largefile, wchar"
depends on !BR2_LARGEFILE || !BR2_WCHARThis comment should actually be:
comment "A needs a toolchain w/ largefile, wchar"
depends onBR2_PACKAGE_B
depends on !BR2_LARGEFILE || !BR2_WCHAR
Quoted 8 lines
Actually, _most_ of the fixes you make here are for architecture options,
not package dependencies. Not that that matters much... except that I don't really agree with making this change for package dependencies.For package dependencies, I much prefer to if...endif construct because
this draws the attention to the fact that the whole Config.in is disabled when the dependent package isn't selected. But I guess it's mostly a matter of taste anyway.
If the dependency is on the package that the comment is for, then I agree that if-endif is nicer. I will fix those cases. For other dependencies, for example the xorg or libgtk2 ones, it's not possible to do it this way.
Quoted 2 lines
Hm, maybe even moving all the arch and package dependencies to a global if...endif would be a good idea.
Not sure what you mean. Do you mean the trick ThomasP recently pulled on the webkit package?
config BR2_PACKAGE_FOO_SUPPORTED
bool
depends on !avr32
depends on BR2_PACKAGE_XORG7
and then have the comment ?nd the real config depend on this option?
Quoted 4 lines
Even though I have a bunch of comments, the patch is good as it is (and
also a bit fragile because of the large number of changes),
Would you prefer me to split it up in some way?
I could split it per package, but do realize it will be a very large number of patches (currently 162 files have changed). Alternatively I can arbitrarily split it, for example in groups of 20 by alphabet?
Quoted 6 lines
so:
(untested)
[..]
Quoted 8 lines
Quoted 8 lines
package/alsamixergui/Config.in +0
-0@@ -14,4 +14,5 @@ config BR2_PACKAGE_ALSAMIXERGUI http://www.iua.upf.es/~mdeboer/projects/alsamixergui/
Quoted 11 lines
package/alsamixergui/Config.in config BR2_PACKAGE_ALSAMIXERGUI · line 18
Quoted 5 lines
package/alsamixergui/Config.in +0
-1comment "alsamixergui needs a toolchain w/ C++, threads" - depends on (!BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS)&&
BR2_PACKAGE_XORG7package/alsamixergui/Config.in +2
-0+ depends on BR2_PACKAGE_XORG7 && BR2_USE_MMU + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADSI think there should be a 'depends on
BR2_PACKAGE_XORG7' around all of the
X libraries and applications. On the other hand, there are a few that don't actually depend on X (liberation fonts, xkeyboard-config), and there may be more in the future that can run on either X or wayland...
Yes, this area needs some attention. It's on my list, but I'll need some help of others as I'm not familiar with X packages.
Quoted 9 lines
[snip]
Quoted 6 lines
package/flex/Config.in +0
-0@@ -19,4 +19,5 @@ config BR2_PACKAGE_FLEX_BINARY Install the flex binary tool in the target filesystem.
Quoted 5 lines
package/flex/Config.in config BR2_PACKAGE_FLEX_BINARY · line 22
Quoted 2 lines
package/flex/Config.in +1
-0comment "flex binary needs a toolchain w/ wchar" + depends on BR2_USE_MMU && BR2_PACKAGE_FLEXThis one should _definitely_ use an if...endif construct.
Agreed.
Quoted 9 lines
[snip]
Quoted 7 lines
package/gstreamer/gst-ffmpeg/Config.in +0
-0@@ -14,4 +14,5 @@ config BR2_PACKAGE_GST_FFMPEG http://gstreamer.freedesktop.org/
Quoted 7 lines
package/gstreamer/gst-ffmpeg/Config.in config BR2_PACKAGE_GST_FFMPEG · line 18
Quoted 3 lines
package/gstreamer/gst-ffmpeg/Config.in +1
-0comment "gst-ffmpeg needs a toolchain w/ largefile, IPv6" + depends on BR2_PACKAGE_GSTREAMER depends on !(BR2_LARGEFILE && BR2_INET_IPV6)There are a few more in the gstreamer/ directory that could be rewritten.
But here as well, I would prefer an if...endif in gstreamer/Config.in.
You mean something like:
------
source "package/gstreamer/gstreamer/Config.in"
if BR2_PACKAGE_GSTREAMER
source "package/gstreamer/gst-plugins-base/Config.in" source "package/gstreamer/gst-plugins-good/Config.in" source "package/gstreamer/gst-plugins-bad/Config.in" source "package/gstreamer/gst-plugins-ugly/Config.in" source "package/gstreamer/gst-ffmpeg/Config.in" source "package/gstreamer/gst-dsp/Config.in" source "package/gstreamer/gst-fsl-plugins/Config.in" source "package/gstreamer/gst-omapfb/Config.in" source "package/gstreamer/gst-plugin-x170/Config.in" endif
and then remove all the other 'depends on BR2_PACKAGE_GSTREAMER' from the sourced Configs?
While I think it is a good idea, I think it's outside of the scope of this patch.
Quoted 19 lines
[snip]
Quoted 16 lines
package/zmqpp/Config.in +0
-0@@ -16,6 +16,7 @@ config BR2_PACKAGE_ZMQPP http://github.com/benjamg/zmqpp comment "zmqpp needs a toolchain w/ C++, IPv6, largefile, wchar,threads"
+ depends on !BR2_avr32depends on !(BR2_INSTALL_LIBSTDCPP && BR2_INET_IPV6 && BR2_LARGEFILE \ && BR2_USE_WCHAR && BR2_TOOLCHAIN_HAS_THREADS)package/zmqpp/Config.in +0
-0@@ -30,4 +31,5 @@ config BR2_PACKAGE_ZMQPP_CLIENT used to listen or send to zeromq sockets.
Quoted 7 lines
package/zmqpp/Config.in config BR2_PACKAGE_ZMQPP_CLIENT · line 35
Quoted 4 lines
package/zmqpp/Config.in +2
-1comment "zmqpp client needs a toolchain w/ threads" - depends on BR2_PACKAGE_ZMQPP && !BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_PACKAGE_ZMQPP + depends on !BR2_TOOLCHAIN_HAS_THREADSThis one should also use an if...endif.
Agreed.
Best regards,
Thomas
PATCH 1/1 Config.in files: add missing dependencies to toolchain option comments
Quoted 43 lines · Thomas De Schampheleire
Hi Arnout,
Thanks for your review.
Quoted 21 lines · Arnout Vandecappelle
Quoted 10 lines · Thomas De Schampheleire
When a package A depends on B and toolchain option C, then the comment that
is given when C is not fulfilled should also depend on B. For example:config
BR2_PACKAGE_A
depends onBR2_PACKAGE_B
depends onBR2_LARGEFILE
depends onBR2_WCHARQuoted 8 lines
comment "A needs a toolchain w/ largefile, wchar"
depends on !BR2_LARGEFILE || !BR2_WCHARThis comment should actually be:
comment "A needs a toolchain w/ largefile, wchar"
depends onBR2_PACKAGE_B
depends on !BR2_LARGEFILE || !BR2_WCHARQuoted 8 lines
Actually, _most_ of the fixes you make here are for architecture options,
not package dependencies. Not that that matters much... except that I don't really agree with making this change for package dependencies.For package dependencies, I much prefer to if...endif construct because
this draws the attention to the fact that the whole Config.in is disabled when the dependent package isn't selected. But I guess it's mostly a matter of taste anyway.If the dependency is on the package that the comment is for, then I agree that if-endif is nicer. I will fix those cases. For other dependencies, for example the xorg or libgtk2 ones, it's not possible to do it this way.
Quoted 2 lines
Hm, maybe even moving all the arch and package dependencies to a global if...endif would be a good idea.
Quoted 8 lines
Not sure what you mean. Do you mean the trick ThomasP recently pulled on the webkit package?
configBR2_PACKAGE_FOO_SUPPORTED
bool
depends on !avr32
depends onBR2_PACKAGE_XORG7and then have the comment ?nd the real config depend on this option?
No, I mean to put it at the beginning and the end of the entire
Config.in file. E.g. for dbus-python:
if BR2_PACKAGE_DBUS && BR2_PACKAGE_PYTHON
config BR2_PACKAGE_DBUS_PYTHON
bool "dbus-python"
depends on BR2_USE_WCHAR # glib2 depends on BR2_TOOLCHAIN_HAS_THREADS # glib2 select BR2_PACKAGE_DBUS_GLIB
help
Python bindings for D-Bus
http://dbus.freedesktop.org/doc/dbus-python/
comment "dbus-python needs a toolchain w/ wchar, threads"
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
endif
For packages, I like the way it draws attention to the fact that this
is a package that augments something else. But a second advantage that it avoids the need to repeat the condition in the comment, so if this pattern is followed in general (also in cases when there is no comment), that will guarantee that the comment has proper dependencies. On the other hand, for things like MMU it maybe looks a little ugly.
Quoted 10 lines
Quoted 5 lines
Even though I have a bunch of comments, the patch is good as it is (and
also a bit fragile because of the large number of changes),Would you prefer me to split it up in some way?
I could split it per package, but do realize it will be a very large number of patches (currently 162 files have changed). Alternatively I can arbitrarily split it, for example in groups of 20 by alphabet?
Splitting up doesn't help. With fragile, I mean: because it makes
changes all over the place, there is a risk that there will be conflicts with other patches or that other patches introduce new violations of the pattern. So I don't mean that it is risky as of now, but it is risky if it is takes a long time before it's committed.
[snip]
Quoted 32 lines
Quoted 7 lines
Quoted 7 lines
package/gstreamer/gst-ffmpeg/Config.in +0
-0@@ -14,4 +14,5 @@ config BR2_PACKAGE_GST_FFMPEG http://gstreamer.freedesktop.org/Quoted 7 lines
package/gstreamer/gst-ffmpeg/Config.in config BR2_PACKAGE_GST_FFMPEG · line 18
Quoted 3 lines
package/gstreamer/gst-ffmpeg/Config.in +1
-0comment "gst-ffmpeg needs a toolchain w/ largefile, IPv6" + depends on BR2_PACKAGE_GSTREAMER depends on !(BR2_LARGEFILE && BR2_INET_IPV6)There are a few more in the gstreamer/ directory that could be rewritten.
But here as well, I would prefer an if...endif in gstreamer/Config.in.You mean something like:
------
source "package/gstreamer/gstreamer/Config.in"if
BR2_PACKAGE_GSTREAMER
source "package/gstreamer/gst-plugins-base/Config.in" source "package/gstreamer/gst-plugins-good/Config.in" source "package/gstreamer/gst-plugins-bad/Config.in" source "package/gstreamer/gst-plugins-ugly/Config.in" source "package/gstreamer/gst-ffmpeg/Config.in" source "package/gstreamer/gst-dsp/Config.in" source "package/gstreamer/gst-fsl-plugins/Config.in" source "package/gstreamer/gst-omapfb/Config.in" source "package/gstreamer/gst-plugin-x170/Config.in" endif
Quoted 2 lines
and then remove all the other 'depends on
BR2_PACKAGE_GSTREAMER' from the sourced Configs?
Exactly.
Quoted 3 lines
While I think it is a good idea, I think it's outside of the scope of this patch.
Indeed - one of the reasons that I acked it :-)
Regards,
Arnout
[snip]
Signature · 6 lines
Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286500 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F