Skip to content

Commit c0009eb

Browse files
jmalakPerditionC
authored andcommitted
echoto.bat: correct batch file for all parameters blank
1 parent a5b516d commit c0009eb

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

kernel/makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@ production: ../bin/$(TARGET).sys
3434
$(CP) kernel.sys ..$(DIRSEP)bin$(DIRSEP)$(TARGET).sys
3535
$(CP) kernel.map ..$(DIRSEP)bin$(DIRSEP)$(TARGET).map
3636

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

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

52+
# -S to avoid showing expected relocations
53+
# 0x10 & 0x78 or 0x79 depending on compilation options
5454
exeflat.rsp: makefile
5555
-$(RM) exeflat.rsp
5656
$(ECHOTO) exeflat.rsp -S0x10

utils/echoto.bat

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
@echo off
2+
if "%2%3%4%5%6%7%8%9" == "" goto nothing
23
echo %2 %3 %4 %5 %6 %7 %8 %9 >>%1
4+
:nothing

0 commit comments

Comments
 (0)