diff --git a/kernel/makefile b/kernel/makefile index 6d53129..8768820 100644 --- a/kernel/makefile +++ b/kernel/makefile @@ -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 @@ -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 diff --git a/utils/echoto.bat b/utils/echoto.bat index 2607a23..d792a4c 100644 --- a/utils/echoto.bat +++ b/utils/echoto.bat @@ -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