blob: 64db0b3164fde17f16555b57989b06410e72d19e [file] [log] [blame]
Patrick Georgiae570d52015-09-16 16:34:15 +02001top ?= $(abspath ../..)
2objutil ?= $(top)/util
Patrick Georgiae570d52015-09-16 16:34:15 +02003
4CONFIG_FMD_GENPARSER := y
Peter Stuge1d862de2009-04-14 00:08:34 +00005
Alexandru Gagniuc4a7b1152014-01-27 17:17:29 -06006HOSTCC ?= $(CC)
Sol Boucher0e539312015-03-05 15:38:03 -08007
Sol Boucher0e539312015-03-05 15:38:03 -08008.PHONY: all
Patrick Georgiae570d52015-09-16 16:34:15 +02009all: $(objutil)/cbfstool/cbfstool \
10 $(objutil)/cbfstool/fmaptool \
11 $(objutil)/cbfstool/rmodtool \
Peter Stuge1d862de2009-04-14 00:08:34 +000012
Sol Boucher0e539312015-03-05 15:38:03 -080013.PHONY: clean
Patrick Georgib7b56dd82009-09-14 13:29:27 +000014clean:
Nico Huber37743a92015-10-22 13:34:06 +020015 $(RM) fmd_parser.c fmd_parser.h fmd_scanner.c fmd_scanner.h
Patrick Georgiae570d52015-09-16 16:34:15 +020016 $(RM) $(objutil)/cbfstool/cbfstool $(cbfsobj)
17 $(RM) $(objutil)/cbfstool/fmaptool $(fmapobj)
18 $(RM) $(objutil)/cbfstool/rmodtool $(rmodobj)
Peter Stuge1d862de2009-04-14 00:08:34 +000019
Patrick Georgiae570d52015-09-16 16:34:15 +020020include Makefile.inc