Re: [PATCHv2] Kbuild: kconfig: Verbose version of --listnewconfig

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

 



Hi,

On Sat, Dec 4, 2010 at 1:30 PM, Ben Hutchings <ben@xxxxxxxxxxxxxxx> wrote:
> [...]
>> > +       sym = menu->sym;
>> > +       if (sym && (sym->flags & SYMBOL_NEW) &&
>> > +           sym_is_changable(sym) && sym->name && !sym_is_choice_value(sym)) {
>> > +               if (verbose)
>> > +                       conf_write_symbol(sym, sym->type, stdout, true);
>> > +               else
>> > +                       printf("CONFIG_%s\n", sym->name);
>> Please don't hardcode the prefix string. This should be:
>>
>>                        printf("%s%s\n", CONFIG_, sym->name);
>
> OK, but I don't understand why it would change.
>
the Linux kernel is not the only user of kconfig.

 - Arnaud
--
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