summaryrefslogtreecommitdiff
path: root/util/futility/Makefile.inc
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@chromium.org>2016-02-01 12:03:04 +0100
committerMartin Roth <martinroth@google.com>2016-02-02 14:35:38 +0100
commitbda8a04b0105f2b097b07fa336891af6981541cb (patch)
tree9596901ce90f802b0f7e501a06f9c70da22b6f68 /util/futility/Makefile.inc
parentf92068d9c24f295983e4904d327f342ae39cb9ed (diff)
build system: add Chrome OS futility to tools
Change-Id: I08925d110c6faa9e37107d63bfa75d0ab677d379 Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Reviewed-on: https://review.coreboot.org/13545 Tested-by: build bot (Jenkins) Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'util/futility/Makefile.inc')
-rw-r--r--util/futility/Makefile.inc13
1 files changed, 13 insertions, 0 deletions
diff --git a/util/futility/Makefile.inc b/util/futility/Makefile.inc
new file mode 100644
index 0000000000..26b218d742
--- /dev/null
+++ b/util/futility/Makefile.inc
@@ -0,0 +1,13 @@
+additional-dirs += $(objutil)/futility
+
+$(objutil)/futility/build/futility/futility:
+ @printf " MAKE $(subst $(objutil)/,,$(@))\n"
+ $(MAKE) -C $(VB_SOURCE) \
+ BUILD=$(abspath $@/../..) \
+ CC="$(HOSTCC)" \
+ V=$(V) \
+ $(abspath $@)
+
+$(objutil)/futility/futility: $(objutil)/futility/build/futility/futility
+ cp $< $@.tmp
+ mv $@.tmp $@