mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-28 13:46:32 +00:00
zstd: add host libzstd support
For the host only the libzstd library is built (no need for host-lz4 host-xz host-zlib dependencies because they affect only the cmdline tool). Signed-off-by: Peter Seiderer <ps.report@gmx.net> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> [Thomas: use '-C $(@D)/lib' instead of '-C $(@D) lib' at build time, to be consistent with what is done at install time, as suggested by Yann E. Morin.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
10d4c1222a
commit
ce2a065afe
@ -46,4 +46,16 @@ define ZSTD_INSTALL_TARGET_CMDS
|
||||
DESTDIR=$(TARGET_DIR) PREFIX=/usr -C $(@D)/programs install
|
||||
endef
|
||||
|
||||
# note: no 'HAVE_...' options for host library build only
|
||||
define HOST_ZSTD_BUILD_CMDS
|
||||
$(HOST_MAKE_ENV) $(HOST_CONFIGURE_OPTS) $(MAKE) \
|
||||
-C $(@D)/lib
|
||||
endef
|
||||
|
||||
define HOST_ZSTD_INSTALL_CMDS
|
||||
$(HOST_MAKE_ENV) $(HOST_CONFIGURE_OPTS) $(MAKE) \
|
||||
DESTDIR=$(HOST_DIR) PREFIX=/usr -C $(@D)/lib install
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
$(eval $(host-generic-package))
|
||||
|
Loading…
x
Reference in New Issue
Block a user