Bug 3589 - defconfig & option order in Makefile.in
Summary: defconfig & option order in Makefile.in
Status: RESOLVED FIXED
Alias: None
Product: uClibc
Classification: Unclassified
Component: Other (show other bugs)
Version: 0.9.31
Hardware: PC Other
: P5 minor
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-11 02:10 UTC by Thomas Suckow
Modified: 2011-06-14 16:59 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Suckow 2011-04-11 02:10:06 UTC
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?).

The following change worked for me:

defconfig: $(top_builddir)extra/config/conf
    $(Q)$(top_builddir)extra/config/conf -d extra/Configs/Config.in \
        -D extra/Configs/defconfigs/$(ARCH)

should read:

defconfig: $(top_builddir)extra/config/conf
    $(Q)$(top_builddir)extra/config/conf -D extra/Configs/defconfigs/$(ARCH) \
        extra/Configs/Config.in
Comment 1 Bernhard Reutner-Fischer 2011-06-14 16:59:17 UTC
Fixed in 97c3c5f634379ff7b16dcaeff34b7f3eeea2b3f1, will backport to 0.9.32.1

Thanks!