mirror of
https://github.com/FDOS/kernel.git
synced 2025-04-08 17:15:17 +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
|
||||
#
|
||||
# $Id$
|
||||
# Makefile for kernel.sys (originally for Borland C/C++ 3.1)
|
||||
#
|
||||
|
||||
!include "../mkfiles/generic.mak"
|
||||
@ -29,7 +27,7 @@ OBJS=$(OBJS1) $(OBJS2) $(OBJS3) $(OBJS4) $(OBJS5) $(OBJS6) $(OBJS7)
|
||||
|
||||
# *Explicit Rules*
|
||||
|
||||
production: ../bin/$(TARGET).sys
|
||||
production: ../bin/$(TARGET).sys ..\bin\country.sys
|
||||
|
||||
../bin/$(TARGET).sys: kernel.sys
|
||||
$(CP) kernel.sys ..$(DIRSEP)bin
|
||||
@ -39,11 +37,14 @@ production: ../bin/$(TARGET).sys
|
||||
# -S to avoid showing expected relocations
|
||||
# 0x10 & 0x74 for non-fat32 kernel, 0x10 & 0x73 for fat32 enabled kernel
|
||||
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)
|
||||
$(LINK) @$(TARGET).lnk;
|
||||
|
||||
..\bin\country.sys: country.asm
|
||||
$(NASM) -o $*.sys country.asm
|
||||
|
||||
clobber: clean
|
||||
-$(RM) kernel.exe kernel.sys status.me
|
||||
|
||||
|
@ -31,6 +31,10 @@ CP=copy
|
||||
ECHOTO=..\utils\echoto
|
||||
CLDEF=0
|
||||
|
||||
!if $(LOADSEG)0 == 0
|
||||
LOADSEG=0x60
|
||||
!endif
|
||||
|
||||
!include "../mkfiles/$(COMPILER).mak"
|
||||
|
||||
!if $(CLDEF) == 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user