b4f2b15f05
- Fix clean target to pass if output doesn't exist - Make sure $(RM) is actually defined Change-Id: Ibcdb0e329084f58b27c3f53213a237d02c922a51 Signed-off-by: Martin Roth <gaumless@gmail.com> Reviewed-on: https://review.coreboot.org/18998 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Paul Kocialkowski <contact@paulk.fr> Tested-by: build bot (Jenkins) Reviewed-by: Philippe Mathieu-Daudé <philippe.mathieu.daude@gmail.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
24 lines
347 B
Makefile
24 lines
347 B
Makefile
top ?= $(abspath ../..)
|
|
objutil ?= $(top)/util
|
|
RM ?= rm
|
|
|
|
HOSTCC ?= $(CC)
|
|
VBOOT_SOURCE ?= $(top)/3rdparty/vboot
|
|
|
|
.PHONY: all
|
|
all: $(objutil)/futility/futility
|
|
|
|
.PHONY: clean
|
|
clean:
|
|
$(RM) -f $(objutil)/futility/futility
|
|
$(RM) -rf $(objutil)/futility/build
|
|
|
|
distclean: clean
|
|
|
|
ifneq ($(V),1)
|
|
ifneq ($(Q),)
|
|
.SILENT:
|
|
endif
|
|
endif
|
|
|
|
include Makefile.inc
|