Re: [BUG] savedefconfig results in different .config

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Wed, Apr 18, 2012 at 6:12 AM, James Hogan <james.hogan@xxxxxxxxxx> wrote:
> Hi,
>
> Is it a bug in kbuild if I have a .config produced by make menuconfig,
> use savedefconfig to create a compact config file, and the defconfig
> produces a different .config to the original .config file?
>
> I've attached a simple Kconfig patch based on v3.4-rc3 to help reproduce
> it (easier than finding another example of it), and an initial .config:
>
> $ git apply defconfig_problem.patch
> $ cp defconfig_problem_in.config .config
> $ make oldconfig
> $ make savedefconfig
> $ cp defconfig arch/x86/configs/my_defconfig
> $ make my_defconfig
>
> finally:
>
> $ diff -U0 .config defconfig_problem_in.config
> --- .config     2012-04-18 11:04:59.631964466 +0100
> +++ defconfig_problem_in.config 2012-04-18 10:43:44.423896052 +0100
> @@ -1685 +1685 @@
> -CONFIG_USB_GADGET_DWC_OTG=m
> +CONFIG_USB_GADGET_DWC_OTG=y
>
I would assume there is something wrong with kconfig. That would not
surprise me. That said, for the sake of asking, which tree are you
playing with ? There is no such USB_GADGET_DWC_OTG in Linus' tree:

% git describe
v3.4-rc3
% git grep USB_GADGET_DWC_OTG
%

Thanks,
 - Arnaud

> CONFIG_USB_GADGET_DWC_OTG is part of a tristate choice, and it doesn't
> happen if CONFIG_USB_DWC_OTG=n (which depends on CONFIG_USB_GADGET_DWC_OTG).
>
> Is it a bug or is something wrong with the dependencies in the Kconfig
> files?
>
> Thanks
> James
--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux