mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 14:01:57 -09:00
package/zstd: Simplify host-build
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> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
committed by
Arnout Vandecappelle (Essensium/Mind)
parent
aad8bbf588
commit
51cc28485e
@@ -78,21 +78,16 @@ define ZSTD_INSTALL_TARGET_CMDS
|
|||||||
DESTDIR=$(TARGET_DIR) PREFIX=/usr -C $(@D)/lib $(ZSTD_INSTALL_LIBS)
|
DESTDIR=$(TARGET_DIR) PREFIX=/usr -C $(@D)/lib $(ZSTD_INSTALL_LIBS)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
# note: only limited 'HAVE_...' options for host library build only
|
HOST_ZSTD_OPTS += PREFIX=$(HOST_DIR)
|
||||||
HOST_ZSTD_OPTS = HAVE_THREAD=1
|
|
||||||
|
|
||||||
define HOST_ZSTD_BUILD_CMDS
|
define HOST_ZSTD_BUILD_CMDS
|
||||||
$(HOST_MAKE_ENV) $(HOST_CONFIGURE_OPTS) $(MAKE) $(HOST_ZSTD_OPTS) \
|
$(HOST_MAKE_ENV) $(HOST_CONFIGURE_OPTS) $(MAKE) $(HOST_ZSTD_OPTS) \
|
||||||
-C $(@D)/lib libzstd.a-mt libzstd-mt
|
-C $(@D) zstd-release lib-release
|
||||||
$(HOST_MAKE_ENV) $(HOST_CONFIGURE_OPTS) $(MAKE) $(HOST_ZSTD_OPTS) \
|
|
||||||
-C $(@D) zstd
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define HOST_ZSTD_INSTALL_CMDS
|
define HOST_ZSTD_INSTALL_CMDS
|
||||||
$(HOST_MAKE_ENV) $(HOST_CONFIGURE_OPTS) $(MAKE) $(HOST_ZSTD_OPTS) \
|
$(HOST_MAKE_ENV) $(HOST_CONFIGURE_OPTS) $(MAKE) $(HOST_ZSTD_OPTS) \
|
||||||
DESTDIR=$(HOST_DIR) PREFIX=/usr -C $(@D)/lib install
|
-C $(@D) install
|
||||||
$(HOST_MAKE_ENV) $(HOST_CONFIGURE_OPTS) $(MAKE) $(HOST_ZSTD_OPTS) \
|
|
||||||
DESTDIR=$(HOST_DIR) PREFIX=/usr -C $(@D)/programs install
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(generic-package))
|
$(eval $(generic-package))
|
||||||
|
|||||||
Reference in New Issue
Block a user