Skip to content

Commit

Permalink
lz4: host install support added (#488)
Browse files Browse the repository at this point in the history
  • Loading branch information
HaseenaSainul committed Dec 29, 2022
1 parent 62d605b commit ce9dd9a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions package/lz4/lz4.mk
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,13 @@ define LZ4_BUILD_CMDS
-C $(@D) lz4
endef

define HOST_LZ4_INSTALL_CMDS
$(RM) -f $(HOST_DIR)/bin/lz4c*
$(RM) -f $(HOST_DIR)/bin/unlz4*
$(HOST_MAKE_ENV) $(HOST_CONFIGURE_OPTS) $(MAKE) DESTDIR=$(HOST_DIR) \
PREFIX=/usr $(LZ4_MAKE_OPTS) install -C $(@D)
endef

define LZ4_INSTALL_STAGING_CMDS
$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) DESTDIR=$(STAGING_DIR) \
PREFIX=/usr $(LZ4_MAKE_OPTS) install -C $(@D)
Expand Down

0 comments on commit ce9dd9a

Please sign in to comment.