Re: [PATCH v2 1/2] initramfs: add gen_init_cpio to hostprogs unconditionally
From: Simon Glass
Date: Tue Nov 25 2025 - 17:16:00 EST
On Tue, 25 Nov 2025 at 06:18, Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx> wrote:
>
> gen_init_cpio is currently only needed when an initramfs cpio archive is
> to be created out of CONFIG_INITRAMFS_SOURCE's contents. In other cases,
> it's not added to hostprogs and no make target is available.
>
> In preparation to use the host program from Makefile.package, define it
> unconditionally. The program will still only be built as needed.
>
> Signed-off-by: Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx>
> ---
> usr/Makefile | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Reviewed-by: Simon Glass <sjg@xxxxxxxxxxxx>