[Buildroot] [PATCH] package/cpio: add host version
Arnout Vandecappelle
arnout at mind.be
Sun Jul 14 12:19:24 UTC 2019
On 14/07/2019 11:03, Yann E. MORIN wrote:
> The latest cpio has a --reproducible option, which may come handy when
> we try to, well, be reproducible...
>
> Reported-by: Arnout Vandecappelle <arnout at mind.be>
> Signed-off-by: Yann E. MORIN <yann.morin.1998 at free.fr>
> Cc: Arnout Vandecappelle <arnout at mind.be>
> Cc: Atharva Lele <itsatharva at gmail.com>
> ---
> package/cpio/cpio.mk | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/package/cpio/cpio.mk b/package/cpio/cpio.mk
> index 9a09279572..d2814b87a5 100644
> --- a/package/cpio/cpio.mk
> +++ b/package/cpio/cpio.mk
> @@ -16,4 +16,7 @@ ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y)
> CPIO_DEPENDENCIES += argp-standalone
> endif
>
> +HOST_CPIO_CONF_OPTS = --bindir=$(HOST_DIR)/bin
Why is this needed? For target it is needed because --prefix is set to /usr so
it would end up in /usr/bin and we want it in /bin. But for hsot, --prefix is
$(HOST_DIR).
Regards,
Arnout
> +
> $(eval $(autotools-package))
> +$(eval $(host-autotools-package))
>
More information about the buildroot
mailing list