Skip to content
Browse files

config: Fix passing defconfig args

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@gmail.com>
  • Loading branch information...
1 parent 4cf580d commit 97c3c5f634379ff7b16dcaeff34b7f3eeea2b3f1 @aldot aldot committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 Makefile.in
View
4 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

0 comments on commit 97c3c5f

Please sign in to comment.
Something went wrong with that request. Please try again.