Skip to content

Commit

Permalink
tools/padjffs2: use Host/Prepare/Default instead of raw commands
Browse files Browse the repository at this point in the history
Now that Host/Prepare/Default is always defined, we can use that instead
of using raw commands to move files from the src directory to
HOST_BUILD_DIR.

Signed-off-by: Christian Marangi <[email protected]>
(cherry picked from commit 01048c7)
  • Loading branch information
Ansuel committed May 22, 2024
1 parent 9897724 commit aa77c79
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tools/padjffs2/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ PKG_RELEASE:=1
include $(INCLUDE_DIR)/host-build.mk

define Host/Prepare
mkdir -p $(HOST_BUILD_DIR)
$(CP) ./src/* $(HOST_BUILD_DIR)/
$(call Host/Prepare/Default)
find $(HOST_BUILD_DIR) -name .svn | $(XARGS) rm -rf
endef

Expand Down

0 comments on commit aa77c79

Please sign in to comment.