Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(44)

Side by Side Diff: GNUmakefile

Issue 6677007: Expose and augment parser enum and field name tables to bct_dump. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/cbootimage.git@master
Patch Set: Address Vincent's comments. Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | bct_dump.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 TARGETS = cbootimage bct_dump 1 TARGETS = cbootimage bct_dump
2 CC = gcc 2 CC = gcc
3 CFLAGS = -Wall -O -lm 3 CFLAGS = -Wall -O -lm
4 4
5 all: $(TARGETS) 5 all: $(TARGETS)
6 6
7 # 7 #
8 # Build the cbootimage tool. 8 # Build the cbootimage tool.
9 # 9 #
10 CBOOTIMAGE_C_FILES := cbootimage.c 10 CBOOTIMAGE_C_FILES := cbootimage.c
(...skipping 10 matching lines...) Expand all
21 cbootimage: $(CBOOTIMAGE_OBJS) 21 cbootimage: $(CBOOTIMAGE_OBJS)
22 $(CC) -o $@ $^ $(CFLAGS) 22 $(CC) -o $@ $^ $(CFLAGS)
23 23
24 # 24 #
25 # Build the bct_dump tool. This tool generates a human readable version of 25 # Build the bct_dump tool. This tool generates a human readable version of
26 # the given BCT file. 26 # the given BCT file.
27 # 27 #
28 BCT_DUMP_C_FILES := bct_dump.c 28 BCT_DUMP_C_FILES := bct_dump.c
29 BCT_DUMP_C_FILES += nvbctlib_ap20.c 29 BCT_DUMP_C_FILES += nvbctlib_ap20.c
30 BCT_DUMP_C_FILES += data_layout.c 30 BCT_DUMP_C_FILES += data_layout.c
31 BCT_DUMP_C_FILES += parse.c
31 BCT_DUMP_C_FILES += set.c 32 BCT_DUMP_C_FILES += set.c
32 BCT_DUMP_C_FILES += crypto.c 33 BCT_DUMP_C_FILES += crypto.c
33 BCT_DUMP_C_FILES += aes_ref.c 34 BCT_DUMP_C_FILES += aes_ref.c
34 BCT_DUMP_C_FILES += context.c 35 BCT_DUMP_C_FILES += context.c
35 36
36 BCT_DUMP_OBJS := $(patsubst %.c,%.o,$(notdir $(BCT_DUMP_C_FILES))) 37 BCT_DUMP_OBJS := $(patsubst %.c,%.o,$(notdir $(BCT_DUMP_C_FILES)))
37 38
38 bct_dump: $(BCT_DUMP_OBJS) 39 bct_dump: $(BCT_DUMP_OBJS)
39 $(CC) -o $@ $^ $(CFLAGS) 40 $(CC) -o $@ $^ $(CFLAGS)
40 41
41 # 42 #
42 # Remove built targets, object files and temporary editor files. 43 # Remove built targets, object files and temporary editor files.
43 # 44 #
44 clean: 45 clean:
45 rm -rf *.o *~ $(TARGETS) 46 rm -rf *.o *~ $(TARGETS)
OLDNEW
« no previous file with comments | « no previous file | bct_dump.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698