additional-dirs += $(objutil)/futility

$(objutil)/futility/build/futility/futility:
	@printf "    MAKE       $(subst $(objutil)/,,$(@))\n"
	unset CFLAGS LDFLAGS; $(MAKE) -C $(VBOOT_SOURCE) \
		BUILD=$(abspath $@/../..) \
		CC="$(HOSTCC)" \
		V=$(V) \
		$(abspath $@)

$(objutil)/futility/futility: $(objutil)/futility/build/futility/futility
	cp $< $@.tmp
	mv $@.tmp $@