Skip to content

Commit ce9dd9a

Browse files
lz4: host install support added (#488)
1 parent 62d605b commit ce9dd9a

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

package/lz4/lz4.mk

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,13 @@ define LZ4_BUILD_CMDS
2828
-C $(@D) lz4
2929
endef
3030

31+
define HOST_LZ4_INSTALL_CMDS
32+
$(RM) -f $(HOST_DIR)/bin/lz4c*
33+
$(RM) -f $(HOST_DIR)/bin/unlz4*
34+
$(HOST_MAKE_ENV) $(HOST_CONFIGURE_OPTS) $(MAKE) DESTDIR=$(HOST_DIR) \
35+
PREFIX=/usr $(LZ4_MAKE_OPTS) install -C $(@D)
36+
endef
37+
3138
define LZ4_INSTALL_STAGING_CMDS
3239
$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) DESTDIR=$(STAGING_DIR) \
3340
PREFIX=/usr $(LZ4_MAKE_OPTS) install -C $(@D)

0 commit comments

Comments
 (0)