2016-02-01 12:03:04 +01:00
|
|
|
additional-dirs += $(objutil)/futility
|
|
|
|
|
2020-03-09 03:58:37 +01:00
|
|
|
VBOOT_FUTILITY = $(VBOOT_HOST_BUILD)/futility/futility
|
|
|
|
|
|
|
|
$(VBOOT_FUTILITY):
|
2016-02-01 12:03:04 +01:00
|
|
|
@printf " MAKE $(subst $(objutil)/,,$(@))\n"
|
2016-07-24 12:10:38 +02:00
|
|
|
unset CFLAGS LDFLAGS; $(MAKE) -C $(VBOOT_SOURCE) \
|
2020-03-09 03:58:37 +01:00
|
|
|
BUILD=$(VBOOT_HOST_BUILD) \
|
2016-02-01 12:03:04 +01:00
|
|
|
CC="$(HOSTCC)" \
|
2019-09-07 11:44:52 +02:00
|
|
|
$(if $(HOSTPKGCONFIG), PKG_CONFIG="$(HOSTPKGCONFIG)") \
|
2016-02-01 12:03:04 +01:00
|
|
|
V=$(V) \
|
2020-03-09 03:58:37 +01:00
|
|
|
$@
|
2016-02-01 12:03:04 +01:00
|
|
|
|
2020-03-09 03:58:37 +01:00
|
|
|
$(objutil)/futility/futility: $(VBOOT_FUTILITY)
|
|
|
|
mkdir -p $(dir $@)
|
2016-02-01 12:03:04 +01:00
|
|
|
cp $< $@.tmp
|
|
|
|
mv $@.tmp $@
|