Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Alexander Mukhin <alexander.i.mukhin@gmail.com>
To: "José Luis Salvador Rufo" <salvador.joseluis@gmail.com>
Cc: Michael Zimmermann <sigmaepsilon92@gmail.com>,
	"Yann E . MORIN" <yann.morin.1998@free.fr>,
	buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH] package/zfs: fix autotools crosscompilations
Date: Fri, 9 Jun 2023 22:05:02 +0300	[thread overview]
Message-ID: <ZIN33i5P-uTd5O3M@hs> (raw)
In-Reply-To: <20230608175538.1347170-1-salvador.joseluis@gmail.com>

José,

I am glad to confirm that your patch fixes the issue. Tested on:

Host:
Debian 11.7 x86-64

Toolchains:
x86-64--glibc--bleeding-edge-2022.08
armv6-eabihf--glibc--bleeding-edge-2022.08

Thank you!

-- 
Alexander.

On Thu, Jun 08, 2023 at 07:55:38PM +0200, José Luis Salvador Rufo wrote:
> Signed-off-by: José Luis Salvador Rufo <salvador.joseluis@gmail.com>
> ---
>  package/zfs/zfs.mk | 8 ++++++++
>  1 file changed, 8 insertions(+)
> 
> diff --git a/package/zfs/zfs.mk b/package/zfs/zfs.mk
> index 97e9442cf8..e99413e611 100644
> --- a/package/zfs/zfs.mk
> +++ b/package/zfs/zfs.mk
> @@ -58,6 +58,14 @@ else
>  ZFS_CONF_OPTS += --disable-pam
>  endif
>  
> +# Sets the environment for the `make` that will be run ZFS autotools checks.
> +ZFS_CONF_ENV += \
> +	ARCH=$(KERNEL_ARCH) \
> +	CROSS_COMPILE="$(TARGET_CROSS)"
> +ZFS_MAKE_ENV += \
> +	ARCH=$(KERNEL_ARCH) \
> +	CROSS_COMPILE="$(TARGET_CROSS)"
> +
>  # ZFS userland tools are unfunctional without the Linux kernel modules.
>  ZFS_MODULE_SUBDIRS = \
>  	module/avl \
> -- 
> 2.41.0
> 
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2023-06-09 19:05 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-08 17:55 [Buildroot] [PATCH] package/zfs: fix autotools crosscompilations José Luis Salvador Rufo
2023-06-09 19:05 ` Alexander Mukhin [this message]
2023-06-12 17:57   ` Arnout Vandecappelle via buildroot
2023-07-26 21:30 ` Thomas Petazzoni via buildroot
2023-11-12 22:11   ` [Buildroot] [PATCH] package/zfs: fix zfs autotools cross-compilation José Luis Salvador Rufo
2023-11-26 16:21     ` Yann E. MORIN
2023-11-30  8:17     ` Peter Korsgaard
2023-11-12 22:17   ` [Buildroot] [PATCH] package/zfs: fix autotools crosscompilations José Luis Salvador Rufo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZIN33i5P-uTd5O3M@hs \
    --to=alexander.i.mukhin@gmail.com \
    --cc=buildroot@buildroot.org \
    --cc=salvador.joseluis@gmail.com \
    --cc=sigmaepsilon92@gmail.com \
    --cc=yann.morin.1998@free.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox