[git commit 0.9.32] config: Fix passing defconfig args

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Wed Jun 29 09:34:38 UTC 2011


commit: http://git.uclibc.org/uClibc/commit/?id=13b1676e5d89ae7fbac4fc4d26c3ac26cb6e2439
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/0.9.32

Don't rely on argument-shuffling but use correct arguments in
the first place.

In bug#3589 Thomas Suckow writes:

The modified kconfig defines -D to be the same function as -d. In
addition -d does not take an argument and Config.in should be passed as
a non-option argument. The existing argument order appears to work on
distributions such as Fedora but chokes on Cygwin (newlib?).

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
 Makefile.in |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile.in b/Makefile.in
index 90a78db..ad9e629 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -448,8 +448,8 @@ allnoconfig: $(top_builddir)extra/config/conf
 	$(Q)$(top_builddir)extra/config/conf -n extra/Configs/Config.in
 
 defconfig: $(top_builddir)extra/config/conf
-	$(Q)$(top_builddir)extra/config/conf -d extra/Configs/Config.in \
-		-D extra/Configs/defconfigs/$(ARCH)
+	$(Q)$(top_builddir)extra/config/conf \
+		-D extra/Configs/defconfigs/$(ARCH) extra/Configs/Config.in
 
 menuconfig-clean-y:
 	$(Q)$(MAKE) -C extra/config CLEAN_extra/config
-- 
1.7.3.4



More information about the uClibc-cvs mailing list