|
|
@ -39,21 +39,17 @@ define Host/Compile |
|
|
|
$(MAKE) -C $(HOST_BUILD_DIR)/ubi-utils \
|
|
|
|
$(MAKE) -C $(HOST_BUILD_DIR)/ubi-utils \
|
|
|
|
$(MTD_MAKEOPTS) \
|
|
|
|
$(MTD_MAKEOPTS) \
|
|
|
|
TARGETS=ubinize
|
|
|
|
TARGETS=ubinize
|
|
|
|
$(MAKE) -C $(HOST_BUILD_DIR)/mkfs.ubifs \
|
|
|
|
|
|
|
|
$(MTD_MAKEOPTS) \
|
|
|
|
|
|
|
|
BUILDDIR="$(HOST_BUILD_DIR)/mkfs.ubifs"
|
|
|
|
|
|
|
|
endef |
|
|
|
endef |
|
|
|
|
|
|
|
|
|
|
|
define Host/Install |
|
|
|
define Host/Install |
|
|
|
$(CP) \
|
|
|
|
$(CP) \
|
|
|
|
$(HOST_BUILD_DIR)/mkfs.jffs2 \
|
|
|
|
$(HOST_BUILD_DIR)/mkfs.jffs2 \
|
|
|
|
$(HOST_BUILD_DIR)/mkfs.ubifs/mkfs.ubifs \
|
|
|
|
|
|
|
|
$(HOST_BUILD_DIR)/ubinize \
|
|
|
|
$(HOST_BUILD_DIR)/ubinize \
|
|
|
|
$(STAGING_DIR_HOST)/bin/
|
|
|
|
$(STAGING_DIR_HOST)/bin/
|
|
|
|
endef |
|
|
|
endef |
|
|
|
|
|
|
|
|
|
|
|
define Host/Clean |
|
|
|
define Host/Clean |
|
|
|
rm -f $(STAGING_DIR_HOST)/bin/{mkfs.jffs2,mkfs.ubifs,ubinize}
|
|
|
|
rm -f $(STAGING_DIR_HOST)/bin/{mkfs.jffs2,ubinize}
|
|
|
|
endef |
|
|
|
endef |
|
|
|
|
|
|
|
|
|
|
|
$(eval $(call HostBuild)) |
|
|
|
$(eval $(call HostBuild)) |
|
|
|