mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 22:26:31 +00:00
Allow user to configure PROGRAM_INVOCATION_NAME
This commit is contained in:
parent
e4bbaa38c3
commit
406eeeeeb7
@ -2,6 +2,7 @@ config BR2_PACKAGE_COREUTILS
|
|||||||
bool "coreutils"
|
bool "coreutils"
|
||||||
default n
|
default n
|
||||||
depends on BR2_USE_WCHAR
|
depends on BR2_USE_WCHAR
|
||||||
|
select BR2_UCLIBC_PROGRAM_INVOCATION
|
||||||
help
|
help
|
||||||
All of the basic file/text/shell utilities. These are the
|
All of the basic file/text/shell utilities. These are the
|
||||||
core utilities which are expected to exist on every system.
|
core utilities which are expected to exist on every system.
|
||||||
|
@ -2,6 +2,7 @@ config BR2_PACKAGE_TAR
|
|||||||
bool "tar"
|
bool "tar"
|
||||||
default n
|
default n
|
||||||
depends on BR2_USE_WCHAR
|
depends on BR2_USE_WCHAR
|
||||||
|
select BR2_UCLIBC_PROGRAM_INVOCATION
|
||||||
help
|
help
|
||||||
A program that saves many files together into a single tape or disk
|
A program that saves many files together into a single tape or disk
|
||||||
archive, and can restore individual files from the archive.
|
archive, and can restore individual files from the archive.
|
||||||
|
@ -82,3 +82,12 @@ config BR2_PTHREAD_DEBUG
|
|||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
Build the thread library with debugging enabled.
|
Build the thread library with debugging enabled.
|
||||||
|
|
||||||
|
config BR2_UCLIBC_PROGRAM_INVOCATION
|
||||||
|
bool "Enable 'program invocation name'"
|
||||||
|
default n
|
||||||
|
help
|
||||||
|
Support for the GNU-specific program_invocation_name and
|
||||||
|
program_invocation_short_name strings. Some GNU packages
|
||||||
|
(like tar and coreutils) utilize these for extra useful
|
||||||
|
output, but in general are not required.
|
||||||
|
@ -229,6 +229,11 @@ ifeq ($(BR2_USE_WCHAR),y)
|
|||||||
else
|
else
|
||||||
$(SED) 's,^.*UCLIBC_HAS_WCHAR.*,UCLIBC_HAS_WCHAR=n,g' $(UCLIBC_DIR)/.oldconfig
|
$(SED) 's,^.*UCLIBC_HAS_WCHAR.*,UCLIBC_HAS_WCHAR=n,g' $(UCLIBC_DIR)/.oldconfig
|
||||||
endif
|
endif
|
||||||
|
ifeq ($(BR2_UCLIBC_PROGRAM_INVOCATION),y)
|
||||||
|
echo "UCLIBC_HAS_PROGRAM_INVOCATION_NAME=y" >> $(UCLIBC_DIR)/.oldconfig
|
||||||
|
else
|
||||||
|
echo "# UCLIBC_HAS_PROGRAM_INVOCATION_NAME is not set" >> $(UCLIBC_DIR)/.oldconfig
|
||||||
|
endif
|
||||||
ifeq ("$(KERNEL_ARCH)","i386")
|
ifeq ("$(KERNEL_ARCH)","i386")
|
||||||
/bin/echo "# CONFIG_GENERIC_386 is not set" >> $(UCLIBC_DIR)/.oldconfig
|
/bin/echo "# CONFIG_GENERIC_386 is not set" >> $(UCLIBC_DIR)/.oldconfig
|
||||||
/bin/echo "# CONFIG_386 is not set" >> $(UCLIBC_DIR)/.oldconfig
|
/bin/echo "# CONFIG_386 is not set" >> $(UCLIBC_DIR)/.oldconfig
|
||||||
|
Loading…
x
Reference in New Issue
Block a user