Skip to content

Commit

Permalink
echoto.bat: correct batch file for all parameters blank
Browse files Browse the repository at this point in the history
  • Loading branch information
jmalak authored and PerditionC committed Jul 14, 2024
1 parent a5b516d commit c0009eb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kernel/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ production: ../bin/$(TARGET).sys
$(CP) kernel.sys ..$(DIRSEP)bin$(DIRSEP)$(TARGET).sys
$(CP) kernel.map ..$(DIRSEP)bin$(DIRSEP)$(TARGET).map

# -S to avoid showing expected relocations
# 0x10 & 0x78 or 0x79 depending on compilation options
kernel.sys: kernel.exe ../utils/exeflat.exe ../utils/upxentry.bin ../utils/upxdevic.bin exeflat.rsp
..$(DIRSEP)utils$(DIRSEP)exeflat.exe kernel.exe kernel.sys $(LOADSEG) @exeflat.rsp

Expand All @@ -51,6 +49,8 @@ clean:
# XXX: This is a very ugly way of linking the kernel, forced upon us by the
# inability of Turbo `make' 2.0 to perform command line redirection. -- ror4

# -S to avoid showing expected relocations
# 0x10 & 0x78 or 0x79 depending on compilation options
exeflat.rsp: makefile
-$(RM) exeflat.rsp
$(ECHOTO) exeflat.rsp -S0x10
Expand Down
2 changes: 2 additions & 0 deletions utils/echoto.bat
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
@echo off
if "%2%3%4%5%6%7%8%9" == "" goto nothing
echo %2 %3 %4 %5 %6 %7 %8 %9 >>%1
:nothing

0 comments on commit c0009eb

Please sign in to comment.