[Letux-kernel] found something interesting: dt_to_config

Andreas Kemnade andreas at kemnade.info
Mon Jan 7 17:02:01 CET 2019


Hi,

something I just stumbled upon:

scripts/dtc/dt_to_config

It can generate kernel config fragments to support devices with a given
devicetree.
That brings up the following idea:
reduce letux_defconfig
by using make savedefconfig

generate for each device to be supported a config fragment using mentioned tool.
concatenate that and filter duplicates ( cat configs | sort | uniq )

combine that with the (probably reduced by hw-specific stuff) defconfig mentioned above.

just some ideas. maybe these ideas might be helpful. 

Regards,
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.goldelico.com/pipermail/letux-kernel/attachments/20190107/b01ecf67/attachment.asc>


More information about the Letux-kernel mailing list