summaryrefslogtreecommitdiffstats
path: root/toolchain/uClibc/uclibc.mk
diff options
context:
space:
mode:
authorUlf Samuelsson <ulf.samuelsson@atmel.com>2007-08-15 22:35:26 +0000
committerUlf Samuelsson <ulf.samuelsson@atmel.com>2007-08-15 22:35:26 +0000
commit406eeeeeb7483b2ca02415e4e77db92fd4b39a09 (patch)
tree6d994d009b07ac34ff729922aab86229df8342ad /toolchain/uClibc/uclibc.mk
parente4bbaa38c30f9284f66c18203708a32dcfa27c3f (diff)
downloadbuildroot-novena-406eeeeeb7483b2ca02415e4e77db92fd4b39a09.tar.gz
buildroot-novena-406eeeeeb7483b2ca02415e4e77db92fd4b39a09.zip
Allow user to configure PROGRAM_INVOCATION_NAME
Diffstat (limited to 'toolchain/uClibc/uclibc.mk')
-rw-r--r--toolchain/uClibc/uclibc.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/toolchain/uClibc/uclibc.mk b/toolchain/uClibc/uclibc.mk
index ebcc56862..395558f9b 100644
--- a/toolchain/uClibc/uclibc.mk
+++ b/toolchain/uClibc/uclibc.mk
@@ -229,6 +229,11 @@ ifeq ($(BR2_USE_WCHAR),y)
else
$(SED) 's,^.*UCLIBC_HAS_WCHAR.*,UCLIBC_HAS_WCHAR=n,g' $(UCLIBC_DIR)/.oldconfig
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")
/bin/echo "# CONFIG_GENERIC_386 is not set" >> $(UCLIBC_DIR)/.oldconfig
/bin/echo "# CONFIG_386 is not set" >> $(UCLIBC_DIR)/.oldconfig