[Buildroot] [RFC, PATCH 5/8] package/kexec-lite: Add a package for the kexec-lite tools
Jeremy Kerr
jk at ozlabs.org
Fri Feb 28 07:11:24 UTC 2014
Hi Thomas,
>>> + select BR2_PACKAGE_LIBELF
>>> + select BR2_PACKAGE_DTC
>>> + select BR2_PACKAGE_DTC_PROGRAMS
>>
>> I have no idea how kexec-lite works, but I'm a bit surprised by the
>> dependency on dtc. Does it builds the Device Tree source at runtime on
>> the target?
>
> Yes; if no device-tree blob is provided on the command-line, it will
> invoke dtc to generate one from the current system (ie, from
> /proc/device-tree).
OK, I'm slightly incorrect here - kexec-lite requires the dtc libraries
at build-time (we need to manipulate the device tree to update the
reserved memory map), and may also call dtc at runtime too.
So, I'd propose a:
select BR2_PACKAGE_DTC
# run-time dependency only
select BR2_PACKAGE_DTC_PROGRAMS
- is that sensible?
Cheers,
Jeremy
More information about the buildroot
mailing list