MTD_UTIL_DIR := $(BASE_DIR)/../fusiv_src/user/mtd-utils



mtd-utils:
	(cd $(MTD_UTIL_DIR); make -f Makefile.myx26) || exit 1;
	(cd $(MTD_UTIL_DIR); make -f Makefile.myx26 TARGET_DIR=$(TARGET_DIR) romfs) || exit 1;

mtd-utils-clean:
	(cd $(MTD_UTIL_DIR); make -f Makefile.myx26 clean) || exit 1;



#############################################################
#
# Toplevel Makefile options
#
#############################################################
ifeq ($(strip $(CONFIG_FUSIV_USER_MTD_UTIL)),y)
TARGETS+=mtd-utils
endif



