Martin Roth | adaab4a | 2022-10-28 22:38:44 -0600 | [diff] [blame] | 1 | ## SPDX-License-Identifier: GPL-2.0-only |
Patrick Georgi | bda8a04b | 2016-02-01 12:03:04 +0100 | [diff] [blame] | 2 | top ?= $(abspath ../..) |
3 | objutil ?= $(top)/util | ||||
Martin Roth | b4f2b15 | 2017-03-26 18:37:51 -0600 | [diff] [blame] | 4 | RM ?= rm |
Patrick Georgi | bda8a04b | 2016-02-01 12:03:04 +0100 | [diff] [blame] | 5 | |
6 | HOSTCC ?= $(CC) | ||||
Paul Kocialkowski | 4611451 | 2016-07-24 12:10:38 +0200 | [diff] [blame] | 7 | VBOOT_SOURCE ?= $(top)/3rdparty/vboot |
Yu-Ping Wu | 0beddb5 | 2020-03-09 10:58:37 +0800 | [diff] [blame] | 8 | VBOOT_HOST_BUILD ?= $(abspath $(objutil)/vboot_lib) |
Patrick Georgi | bda8a04b | 2016-02-01 12:03:04 +0100 | [diff] [blame] | 9 | |
10 | .PHONY: all | ||||
11 | all: $(objutil)/futility/futility | ||||
12 | |||||
13 | .PHONY: clean | ||||
14 | clean: | ||||
Martin Roth | b4f2b15 | 2017-03-26 18:37:51 -0600 | [diff] [blame] | 15 | $(RM) -f $(objutil)/futility/futility |
16 | $(RM) -rf $(objutil)/futility/build | ||||
Patrick Georgi | bda8a04b | 2016-02-01 12:03:04 +0100 | [diff] [blame] | 17 | |
Martin Roth | ca55f0a | 2016-03-03 12:11:47 -0700 | [diff] [blame] | 18 | distclean: clean |
19 | |||||
Patrick Georgi | bda8a04b | 2016-02-01 12:03:04 +0100 | [diff] [blame] | 20 | ifneq ($(V),1) |
21 | ifneq ($(Q),) | ||||
22 | .SILENT: | ||||
23 | endif | ||||
24 | endif | ||||
25 | |||||
Martin Roth | 1f30b24 | 2024-01-18 18:46:58 -0700 | [diff] [blame] | 26 | include Makefile.mk |