tools/padjffs2: use Host/Prepare/Default instead of raw commands

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 <ansuelsmth@gmail.com>
(cherry picked from commit 01048c7456)
This commit is contained in:
Christian Marangi 2024-05-22 11:56:45 +02:00
parent 9897724ada
commit aa77c796fe
No known key found for this signature in database
GPG Key ID: AC001D09ADBFEAD7

View File

@ -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