summaryrefslogtreecommitdiff
path: root/util/futility/Makefile.inc
blob: 782953e649d96a4a95a30dbda8ff27ef5e2f7ee9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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 $@