Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Arnout Vandecappelle <arnout@mind.be>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2 2/5] package/zstd: Simplify host-build
Date: Mon, 14 Jun 2021 22:20:54 +0200	[thread overview]
Message-ID: <2170d782-e4a1-00a1-2780-ce28fa98d32a@mind.be> (raw)
In-Reply-To: <20210525172652.821351-2-nolange79@gmail.com>



On 25/05/2021 19:26, Norbert Lange wrote:
> 1.5.0 uses Threads by default for cli tool and DSO,
> should not be necessary to do anything special.
> 
> Signed-off-by: Norbert Lange <nolange79@gmail.com>

 Applied to master, thanks.

 Regards,
 Arnout

> ---
>  package/zstd/zstd.mk | 11 +++--------
>  1 file changed, 3 insertions(+), 8 deletions(-)
> 
> diff --git a/package/zstd/zstd.mk b/package/zstd/zstd.mk
> index 194974147c..2a876376a2 100644
> --- a/package/zstd/zstd.mk
> +++ b/package/zstd/zstd.mk
> @@ -78,21 +78,16 @@ define ZSTD_INSTALL_TARGET_CMDS
>  		DESTDIR=$(TARGET_DIR) PREFIX=/usr -C $(@D)/lib $(ZSTD_INSTALL_LIBS)
>  endef
>  
> -# note: only limited 'HAVE_...' options for host library build only
> -HOST_ZSTD_OPTS = HAVE_THREAD=1
> +HOST_ZSTD_OPTS += PREFIX=$(HOST_DIR)
>  
>  define HOST_ZSTD_BUILD_CMDS
>  	$(HOST_MAKE_ENV) $(HOST_CONFIGURE_OPTS) $(MAKE) $(HOST_ZSTD_OPTS) \
> -		-C $(@D)/lib libzstd.a-mt libzstd-mt
> -	$(HOST_MAKE_ENV) $(HOST_CONFIGURE_OPTS) $(MAKE) $(HOST_ZSTD_OPTS) \
> -		-C $(@D) zstd
> +		-C $(@D) zstd-release lib-release
>  endef
>  
>  define HOST_ZSTD_INSTALL_CMDS
>  	$(HOST_MAKE_ENV) $(HOST_CONFIGURE_OPTS) $(MAKE) $(HOST_ZSTD_OPTS) \
> -		DESTDIR=$(HOST_DIR) PREFIX=/usr -C $(@D)/lib install
> -	$(HOST_MAKE_ENV) $(HOST_CONFIGURE_OPTS) $(MAKE) $(HOST_ZSTD_OPTS) \
> -		DESTDIR=$(HOST_DIR) PREFIX=/usr -C $(@D)/programs install
> +		-C $(@D) install
>  endef
>  
>  $(eval $(generic-package))
> 

  reply	other threads:[~2021-06-14 20:20 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-25 17:26 [Buildroot] [PATCH v2 1/5] package/zstd: bump to version 1.5.0 Norbert Lange
2021-05-25 17:26 ` [Buildroot] [PATCH v2 2/5] package/zstd: Simplify host-build Norbert Lange
2021-06-14 20:20   ` Arnout Vandecappelle [this message]
2021-05-25 17:26 ` [Buildroot] [PATCH v2 3/5] package/zstd: rework build and install Norbert Lange
2021-06-14 19:50   ` Arnout Vandecappelle
2021-06-14 21:04     ` Norbert Lange
2021-06-15 20:31       ` Arnout Vandecappelle
2021-05-25 17:26 ` [Buildroot] [PATCH v2 4/5] package/zstd: Change Build options Norbert Lange
2021-06-14 19:56   ` Arnout Vandecappelle
2021-06-14 21:19     ` Norbert Lange
2021-05-25 17:26 ` [Buildroot] [PATCH v2 5/5] package/zstd: Add option for cli binary Norbert Lange
2021-05-31 15:02   ` Thomas De Schampheleire
2021-06-01  9:20     ` Norbert Lange
2021-06-14 20:20       ` Arnout Vandecappelle
2021-06-14 21:47         ` Norbert Lange
2021-06-15 21:15           ` Arnout Vandecappelle
2021-06-14 20:20 ` [Buildroot] [PATCH v2 1/5] package/zstd: bump to version 1.5.0 Arnout Vandecappelle

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=2170d782-e4a1-00a1-2780-ce28fa98d32a@mind.be \
    --to=arnout@mind.be \
    --cc=buildroot@busybox.net \
    /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