30ff36249c
This makes the make process look like the one inside of coreboot's build system. Change-Id: I48be2df39cad47644e16ce583b27c33a1da81fc3 Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Reviewed-on: https://review.coreboot.org/12509 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <pgeorgi@google.com>
22 lines
460 B
Makefile
22 lines
460 B
Makefile
top ?= $(abspath ../..)
|
|
objutil ?= $(top)/util
|
|
|
|
CONFIG_FMD_GENPARSER := y
|
|
|
|
HOSTCC ?= $(CC)
|
|
|
|
.PHONY: all
|
|
all: $(objutil)/cbfstool/cbfstool \
|
|
$(objutil)/cbfstool/fmaptool \
|
|
$(objutil)/cbfstool/rmodtool \
|
|
|
|
.PHONY: clean
|
|
clean:
|
|
$(RM) fmd_parser.c fmd_parser.h fmd_scanner.c fmd_scanner.h
|
|
$(RM) $(objutil)/cbfstool/cbfstool $(cbfsobj)
|
|
$(RM) $(objutil)/cbfstool/fmaptool $(fmapobj)
|
|
$(RM) $(objutil)/cbfstool/rmodtool $(rmodobj)
|
|
|
|
.SILENT:
|
|
|
|
include Makefile.inc
|