Commit 4ee9d569 authored by Peter Korsgaard's avatar Peter Korsgaard
Browse files

uClibc: drop BR2_PROGRAM_INVOCATION option



Remove the BR option and enable the configuration setting in the
uClibc defconfigs.

The BR2_PROGRAM_INVOCATION option only adds very little overhead to
uClibc, and we have a number of packages needing it, so simply always
enable it - Simplifying the kconfig logic and the number of choices
users have to make.

Signed-off-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
parent 213bbe9a
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
config BR2_PACKAGE_COREUTILS
	bool "coreutils"
	depends on BR2_USE_WCHAR && BR2_PROGRAM_INVOCATION
	depends on BR2_USE_WCHAR
	help
	  All of the basic file/text/shell utilities.  These are the
	  core utilities which are expected to exist on every system.
@@ -13,5 +13,5 @@ config BR2_PACKAGE_COREUTILS

	  http://www.gnu.org/software/coreutils/

comment "coreutils requires a toolchain with WCHAR and PROGRAM_INVOCATION support"
	depends on !(BR2_USE_WCHAR && BR2_PROGRAM_INVOCATION)
comment "coreutils requires a toolchain with WCHAR support"
	depends on !BR2_USE_WCHAR
+3 −3
Original line number Diff line number Diff line
config BR2_PACKAGE_TAR
	bool "tar"
	depends on BR2_USE_WCHAR && BR2_PROGRAM_INVOCATION
	depends on BR2_USE_WCHAR
	help
	  A program that saves many files together into a single tape or disk
	  archive, and can restore individual files from the archive.

	  http://www.gnu.org/software/tar/

comment "tar requires a toolchain with WCHAR and PROGRAM_INVOCATION support"
	depends on !(BR2_USE_WCHAR && BR2_PROGRAM_INVOCATION)
comment "tar requires a toolchain with WCHAR support"
	depends on !BR2_USE_WCHAR
+2 −3
Original line number Diff line number Diff line
@@ -11,7 +11,6 @@ config BR2_PACKAGE_UDEV_ALL_EXTRAS
	bool "enable all extras"
	depends on BR2_LARGEFILE # acl
	depends on BR2_USE_WCHAR # libglib2
	depends on BR2_PROGRAM_INVOCATION # usbutils
	select BR2_PACKAGE_ACL
	select BR2_PACKAGE_LIBUSB
	select BR2_PACKAGE_LIBUSB_COMPAT
@@ -22,7 +21,7 @@ config BR2_PACKAGE_UDEV_ALL_EXTRAS
	  Enable all extras with external dependencies like
	  libacl, libusb, libusb-compat, usbutils, hwdata

comment "udev extras requires a toolchain with LARGEFILE/WCHAR/PROGRAM_INVOCATION support"
	depends on !(BR2_LARGEFILE && BR2_USE_WCHAR && BR2_PROGRAM_INVOCATION)
comment "udev extras requires a toolchain with LARGEFILE + WCHAR support"
	depends on !(BR2_LARGEFILE && BR2_USE_WCHAR)

endif
+0 −4
Original line number Diff line number Diff line
comment "usbutils requires a toolchain with PROGRAM_INVOCATION support"
	depends on !BR2_PROGRAM_INVOCATION

config BR2_PACKAGE_USBUTILS
	bool "usbutils"
	depends on BR2_PROGRAM_INVOCATION
	select BR2_PACKAGE_LIBUSB
	help
	  USB enumeration utilities
+2 −3
Original line number Diff line number Diff line
@@ -2,7 +2,6 @@ config BR2_PACKAGE_UTIL_LINUX
	bool "util-linux"
	depends on BR2_LARGEFILE
	depends on BR2_USE_WCHAR
	depends on BR2_PROGRAM_INVOCATION
	help
	  Various useful/essential Linux utilities.

@@ -119,5 +118,5 @@ config BR2_PACKAGE_UTIL_LINUX_WRITE

endif

comment "util-linux requires a toolchain with LARGEFILE/WCHAR/PROGRAM_INVOCATION support"
	depends on !(BR2_LARGEFILE && BR2_USE_WCHAR && BR2_PROGRAM_INVOCATION)
comment "util-linux requires a toolchain with LARGEFILE + WCHAR support"
	depends on !(BR2_LARGEFILE && BR2_USE_WCHAR)
Loading