浏览代码

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 <[email protected]>
Christian Marangi 1 年之前
父节点
当前提交
01048c7456
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      tools/padjffs2/Makefile

+ 1 - 2
tools/padjffs2/Makefile

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