mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-04 08:57:44 +00:00
toolchain/ct-ng: use program_invocation_name option from BR config
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
0be744e495
commit
5ad3621259
@ -301,6 +301,13 @@ else
|
|||||||
CTNG_FIX_DOT_CONFIG_LIBC_SED += s:^(UCLIBC_HAS_RPC)=.*:\# \1 is not set:;
|
CTNG_FIX_DOT_CONFIG_LIBC_SED += s:^(UCLIBC_HAS_RPC)=.*:\# \1 is not set:;
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# Handle the program_invocation_name option
|
||||||
|
ifneq ($(call qstrip,$(BR2_PROGRAM_INVOCATION)),)
|
||||||
|
CTNG_FIX_DOT_CONFIG_LIBC_SED += s:^\# (UCLIBC_HAS_PROGRAM_INVOCATION_NAME) is not set:\1=y:;
|
||||||
|
else
|
||||||
|
CTNG_FIX_DOT_CONFIG_LIBC_SED += s:^(UCLIBC_HAS_PROGRAM_INVOCATION_NAME)=y:\# \1 is not set:;
|
||||||
|
endif
|
||||||
|
|
||||||
# Instruct CT-NG's .config where to find the uClibc's .config
|
# Instruct CT-NG's .config where to find the uClibc's .config
|
||||||
CTNG_FIX_DOT_CONFIG_PATHS_SED += s:^(CT_LIBC_UCLIBC_CONFIG_FILE)=.*:\1="$(CTNG_DIR)/libc.config":;
|
CTNG_FIX_DOT_CONFIG_PATHS_SED += s:^(CT_LIBC_UCLIBC_CONFIG_FILE)=.*:\1="$(CTNG_DIR)/libc.config":;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user