diff options
Diffstat (limited to 'utils/nwztools/plattools/Makefile')
-rw-r--r-- | utils/nwztools/plattools/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/utils/nwztools/plattools/Makefile b/utils/nwztools/plattools/Makefile index 8251afaf0a..f4e88cd778 100644 --- a/utils/nwztools/plattools/Makefile +++ b/utils/nwztools/plattools/Makefile | |||
@@ -7,7 +7,7 @@ INCLUDES=-I. | |||
7 | LIB_FILES=nwz_lib.c nwz_lib_devlist.c | 7 | LIB_FILES=nwz_lib.c nwz_lib_devlist.c |
8 | TOOL_FILES=dest_tool.c test_adc.c test_adc.c test_bl.c test_display.c \ | 8 | TOOL_FILES=dest_tool.c test_adc.c test_adc.c test_bl.c test_display.c \ |
9 | test_keys.c test_power.c test_ts.c | 9 | test_keys.c test_power.c test_ts.c |
10 | ALL_ELF=$(patsubst %.c,%.elf,$(TOOL_FILES)) all_tools.elf | 10 | ALL_ELF=$(patsubst %.c,%.elf,$(TOOL_FILES)) all_tools.elf dualboot.elf |
11 | 11 | ||
12 | all: $(ALL_ELF) | 12 | all: $(ALL_ELF) |
13 | 13 | ||
@@ -17,5 +17,8 @@ all: $(ALL_ELF) | |||
17 | all_tools.elf: all_tools.c $(TOOL_FILES) $(LIB_FILES) | 17 | all_tools.elf: all_tools.c $(TOOL_FILES) $(LIB_FILES) |
18 | $(CC) $(CFLAGS) -DNWZ_EMBED_TOOLS $(INCLUDES) -o $@ $^ | 18 | $(CC) $(CFLAGS) -DNWZ_EMBED_TOOLS $(INCLUDES) -o $@ $^ |
19 | 19 | ||
20 | dualboot.elf: dualboot.c all_tools.c $(TOOL_FILES) $(LIB_FILES) | ||
21 | $(CC) $(CFLAGS) -DNWZ_DUALBOOT -DNWZ_EMBED_TOOLS $(INCLUDES) -o $@ $^ | ||
22 | |||
20 | clean: | 23 | clean: |
21 | rm -rf $(ALL_ELF) | 24 | rm -rf $(ALL_ELF) |