@@ -502,6 +502,7 @@ ifeq ($(TARGET),win32)
502
502
bootstrap_setup : check_recreate_primary_bootstrap bootstrap_setup_target
503
503
@rm -f $(BOOTSTRAP_ROOT ) /bootstrap/bin/erl.exe \
504
504
$(BOOTSTRAP_ROOT ) /bootstrap/bin/erlc.exe \
505
+ $(BOOTSTRAP_ROOT ) /bootstrap/bin/escript.exe \
505
506
$(BOOTSTRAP_ROOT ) /bootstrap/bin/erl.ini \
506
507
$(BOOTSTRAP_ROOT ) /bootstrap/bin/beam.dll
507
508
make_bootstrap_ini.sh $(BOOTSTRAP_ROOT ) /bootstrap \
@@ -510,8 +511,10 @@ bootstrap_setup: check_recreate_primary_bootstrap bootstrap_setup_target
510
511
$(BOOTSTRAP_ROOT ) /bootstrap/bin/erlc.exe
511
512
@cp $(ERL_TOP ) /bin/$(TARGET ) /erl.exe \
512
513
$(BOOTSTRAP_ROOT ) /bootstrap/bin/erl.exe
514
+ @cp $(ERL_TOP ) /bin/$(TARGET ) /escript.exe \
515
+ $(BOOTSTRAP_ROOT ) /bootstrap/bin/escript.exe
513
516
else
514
- bootstrap_setup : check_recreate_primary_bootstrap bootstrap_setup_target $(BOOTSTRAP_ROOT ) /bootstrap/bin/erl $(BOOTSTRAP_ROOT ) /bootstrap/bin/erlc
517
+ bootstrap_setup : check_recreate_primary_bootstrap bootstrap_setup_target $(BOOTSTRAP_ROOT ) /bootstrap/bin/erl $(BOOTSTRAP_ROOT ) /bootstrap/bin/erlc $( BOOTSTRAP_ROOT ) /bootstrap/bin/escript
515
518
516
519
$(BOOTSTRAP_ROOT ) /bootstrap/bin/erl : $(ERL_TOP ) /erts/etc/unix/erl.src.src $(BOOTSTRAP_ROOT ) /bootstrap/target
517
520
@rm -f $(BOOTSTRAP_ROOT ) /bootstrap/bin/erl
@@ -526,6 +529,11 @@ $(BOOTSTRAP_ROOT)/bootstrap/bin/erlc: $(ERL_TOP)/bin/$(TARGET)/erlc $(BOOTSTRAP_
526
529
@rm -f $(BOOTSTRAP_ROOT ) /bootstrap/bin/erlc
527
530
@cp $(ERL_TOP ) /bin/$(TARGET ) /erlc $(BOOTSTRAP_ROOT ) /bootstrap/bin/erlc
528
531
@chmod 755 $(BOOTSTRAP_ROOT ) /bootstrap/bin/erlc
532
+
533
+ $(BOOTSTRAP_ROOT ) /bootstrap/bin/escript : $(ERL_TOP ) /bin/$(TARGET ) /escript $(BOOTSTRAP_ROOT ) /bootstrap/target
534
+ @rm -f $(BOOTSTRAP_ROOT ) /bootstrap/bin/escript
535
+ @cp $(ERL_TOP ) /bin/$(TARGET ) /escript $(BOOTSTRAP_ROOT ) /bootstrap/bin/escript
536
+ @chmod 755 $(BOOTSTRAP_ROOT ) /bootstrap/bin/escript
529
537
endif
530
538
531
539
bootstrap_setup_target :
0 commit comments