summaryrefslogtreecommitdiff
path: root/utils/nwztools/scripts/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'utils/nwztools/scripts/Makefile')
-rw-r--r--utils/nwztools/scripts/Makefile6
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
15ifndef UPG 16ifndef UPG
16want_upg: 17want_upg:
@@ -33,7 +34,7 @@ endif
33ifndef NWZ_TARGET 34ifndef NWZ_TARGET
34want_target: 35want_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 "")
39else 40else
@@ -72,6 +73,9 @@ UPGPACK=$(upgtool) -c -m $(NWZ_TARGET) $(UPG) $(1)
72exec_file: want_target want_exec want_upg 73exec_file: want_target want_exec want_upg
73 $(call UPGPACK, exec_file.sh $(EXEC)) 74 $(call UPGPACK, exec_file.sh $(EXEC))
74 75
76install_dualboot: want_target want_exec want_upg
77 $(call UPGPACK, install_dualboot.sh $(EXEC))
78
75exec_file_extern.tmp: want_exec want_upg want_log 79exec_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)|" > $@