mirror of
https://github.com/FDOS/kernel.git
synced 2025-07-27 07:44:09 +02:00
update build process to include country.sys
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@1467 6ac86273-5f31-0410-b378-82cca8765d1b
This commit is contained in:
parent
3482128410
commit
70851fff0a
@ -1,7 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Makefile for Borland C++ 3.1 for kernel.sys
|
# Makefile for kernel.sys (originally for Borland C/C++ 3.1)
|
||||||
#
|
|
||||||
# $Id$
|
|
||||||
#
|
#
|
||||||
|
|
||||||
!include "../mkfiles/generic.mak"
|
!include "../mkfiles/generic.mak"
|
||||||
@ -29,7 +27,7 @@ OBJS=$(OBJS1) $(OBJS2) $(OBJS3) $(OBJS4) $(OBJS5) $(OBJS6) $(OBJS7)
|
|||||||
|
|
||||||
# *Explicit Rules*
|
# *Explicit Rules*
|
||||||
|
|
||||||
production: ../bin/$(TARGET).sys
|
production: ../bin/$(TARGET).sys ..\bin\country.sys
|
||||||
|
|
||||||
../bin/$(TARGET).sys: kernel.sys
|
../bin/$(TARGET).sys: kernel.sys
|
||||||
$(CP) kernel.sys ..$(DIRSEP)bin
|
$(CP) kernel.sys ..$(DIRSEP)bin
|
||||||
@ -39,11 +37,14 @@ production: ../bin/$(TARGET).sys
|
|||||||
# -S to avoid showing expected relocations
|
# -S to avoid showing expected relocations
|
||||||
# 0x10 & 0x74 for non-fat32 kernel, 0x10 & 0x73 for fat32 enabled kernel
|
# 0x10 & 0x74 for non-fat32 kernel, 0x10 & 0x73 for fat32 enabled kernel
|
||||||
kernel.sys: kernel.exe ../utils/exeflat.exe
|
kernel.sys: kernel.exe ../utils/exeflat.exe
|
||||||
..$(DIRSEP)utils$(DIRSEP)exeflat.exe kernel.exe kernel.sys 0x60 -S0x10 -S0x73 -S0x74 $(UPXOPT) $(XUPX)
|
..$(DIRSEP)utils$(DIRSEP)exeflat.exe kernel.exe kernel.sys $(LOADSEG) -S0x10 -S0x73 -S0x74 $(UPXOPT) $(XUPX)
|
||||||
|
|
||||||
kernel.exe: $(TARGET).lnk $(OBJS) $(LIBS)
|
kernel.exe: $(TARGET).lnk $(OBJS) $(LIBS)
|
||||||
$(LINK) @$(TARGET).lnk;
|
$(LINK) @$(TARGET).lnk;
|
||||||
|
|
||||||
|
..\bin\country.sys: country.asm
|
||||||
|
$(NASM) -o $*.sys country.asm
|
||||||
|
|
||||||
clobber: clean
|
clobber: clean
|
||||||
-$(RM) kernel.exe kernel.sys status.me
|
-$(RM) kernel.exe kernel.sys status.me
|
||||||
|
|
||||||
|
@ -31,6 +31,10 @@ CP=copy
|
|||||||
ECHOTO=..\utils\echoto
|
ECHOTO=..\utils\echoto
|
||||||
CLDEF=0
|
CLDEF=0
|
||||||
|
|
||||||
|
!if $(LOADSEG)0 == 0
|
||||||
|
LOADSEG=0x60
|
||||||
|
!endif
|
||||||
|
|
||||||
!include "../mkfiles/$(COMPILER).mak"
|
!include "../mkfiles/$(COMPILER).mak"
|
||||||
|
|
||||||
!if $(CLDEF) == 0
|
!if $(CLDEF) == 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user