[git commit nptl] config: support make defconfig O=/f/o/o

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Fri Apr 2 16:01:41 UTC 2010


commit: http://git.uclibc.org/uClibc/commit/?id=f35fc19fdb34dd925ba144992acb1ceaec79666e
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/nptl

previously wanted to create the temporary cfg file in the srcdir (which
failed on a RO srcdir)

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
 extra/config/confdata.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/extra/config/confdata.c b/extra/config/confdata.c
index 281dd00..2b848d5 100644
--- a/extra/config/confdata.c
+++ b/extra/config/confdata.c
@@ -402,6 +402,8 @@ int conf_write(const char *name)
 	char *env;
 
 	dirname[0] = 0;
+	if (name == NULL)
+		name = conf_get_configname();
 	if (name && name[0]) {
 		struct stat st;
 		char *slash;
-- 
1.6.3.3



More information about the uClibc-cvs mailing list