diff options
Diffstat (limited to 'utils/nwztools/scripts/Makefile')
-rw-r--r-- | utils/nwztools/scripts/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/utils/nwztools/scripts/Makefile b/utils/nwztools/scripts/Makefile index 207534a006..345fd0f4cb 100644 --- a/utils/nwztools/scripts/Makefile +++ b/utils/nwztools/scripts/Makefile | |||
@@ -11,6 +11,7 @@ all: | |||
11 | @echo "- exec_file: craft an upgrade that embeds and execute a file" | 11 | @echo "- exec_file: craft an upgrade that embeds and execute a file" |
12 | @echo "- exec_file_extern: craft an upgrade that execute a file on the user partition" | 12 | @echo "- exec_file_extern: craft an upgrade that execute a file on the user partition" |
13 | @echo "- list_targets: produce of list of available targets" | 13 | @echo "- list_targets: produce of list of available targets" |
14 | @echo "- install_dualboot" | ||
14 | 15 | ||
15 | ifndef UPG | 16 | ifndef UPG |
16 | want_upg: | 17 | want_upg: |
@@ -33,7 +34,7 @@ endif | |||
33 | ifndef NWZ_TARGET | 34 | ifndef NWZ_TARGET |
34 | want_target: | 35 | want_target: |
35 | $(info Please set NWZ_TARGET to your target. For example:) | 36 | $(info Please set NWZ_TARGET to your target. For example:) |
36 | $(info make dump_rootfs NWZ_TARGET=nwz-e463) | 37 | $(info make dump_rootfs NWZ_TARGET=nwz-e460) |
37 | $(info Run 'make list_targets' to get a list of all targets) | 38 | $(info Run 'make list_targets' to get a list of all targets) |
38 | $(error "") | 39 | $(error "") |
39 | else | 40 | else |
@@ -72,6 +73,9 @@ UPGPACK=$(upgtool) -c -m $(NWZ_TARGET) $(UPG) $(1) | |||
72 | exec_file: want_target want_exec want_upg | 73 | exec_file: want_target want_exec want_upg |
73 | $(call UPGPACK, exec_file.sh $(EXEC)) | 74 | $(call UPGPACK, exec_file.sh $(EXEC)) |
74 | 75 | ||
76 | install_dualboot: want_target want_exec want_upg | ||
77 | $(call UPGPACK, install_dualboot.sh $(EXEC)) | ||
78 | |||
75 | exec_file_extern.tmp: want_exec want_upg want_log | 79 | exec_file_extern.tmp: want_exec want_upg want_log |
76 | cat exec_file_extern.sh.in | sed "s|NWZ_EXEC_THIS|$(EXEC)|" |\ | 80 | cat exec_file_extern.sh.in | sed "s|NWZ_EXEC_THIS|$(EXEC)|" |\ |
77 | sed "s|NWZ_LOG_THIS|$(LOG)|" > $@ | 81 | sed "s|NWZ_LOG_THIS|$(LOG)|" > $@ |