mirror of
https://github.com/FDOS/kernel.git
synced 2025-07-25 23:04:57 +02:00
Build system adjustments from the FD1.0 kernel. Shuts up dos4g and some
other stuff. git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@1305 6ac86273-5f31-0410-b378-82cca8765d1b
This commit is contained in:
parent
56d8008672
commit
599278eeae
@ -1,4 +1,5 @@
|
|||||||
@echo off
|
@echo off
|
||||||
|
rem IF NOTHING COMPILES, CHECK IF YOUR CVS CHECKOUT USES CORRECT DOS LINEBREAKS
|
||||||
|
|
||||||
:- batch file to build everything
|
:- batch file to build everything
|
||||||
:- $Id$
|
:- $Id$
|
||||||
@ -15,6 +16,7 @@ if not exist config.bat echo You must copy CONFIG.B to CONFIG.BAT and edit it to
|
|||||||
if not exist config.bat goto abort
|
if not exist config.bat goto abort
|
||||||
|
|
||||||
call config.bat
|
call config.bat
|
||||||
|
set dos4g=quiet
|
||||||
|
|
||||||
:-----------------------------------------------------------------------
|
:-----------------------------------------------------------------------
|
||||||
:- following is command line handling
|
:- following is command line handling
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
@echo off
|
@echo off
|
||||||
|
rem IF NOTHING COMPILES, CHECK IF YOUR CVS CHECKOUT USES CORRECT DOS LINEBREAKS
|
||||||
|
|
||||||
:- $Id$
|
:- $Id$
|
||||||
|
|
||||||
@ -14,6 +15,7 @@ set onerror=if not "%XERROR%" == "" goto daswarwohlnix
|
|||||||
:***** MSCL kernels
|
:***** MSCL kernels
|
||||||
|
|
||||||
call config.bat
|
call config.bat
|
||||||
|
set dos4g=quiet
|
||||||
|
|
||||||
if "%MS_BASE%" == "" goto no_ms
|
if "%MS_BASE%" == "" goto no_ms
|
||||||
call build -r msc 386 fat16
|
call build -r msc 386 fat16
|
||||||
|
@ -1,7 +1,9 @@
|
|||||||
@echo off
|
@echo off
|
||||||
|
|
||||||
:- $Id$
|
:- $Id$
|
||||||
|
|
||||||
|
:- with option clearset, clears all config.bat-made environment variables
|
||||||
|
:- without options, MAKE / LINK / ... are set to defaults based on COMPILER ...
|
||||||
|
|
||||||
if "%1" == "clearset" goto clearset
|
if "%1" == "clearset" goto clearset
|
||||||
|
|
||||||
:-----------------------------------------------------------------------
|
:-----------------------------------------------------------------------
|
||||||
|
3
filelist
3
filelist
@ -6,9 +6,6 @@
|
|||||||
*/*/filelist
|
*/*/filelist
|
||||||
*/*/default.bat
|
*/*/default.bat
|
||||||
*/*/makefile
|
*/*/makefile
|
||||||
*/*/bin/autoexec.bat
|
|
||||||
*/*/bin/config.sys
|
|
||||||
*/*/bin/install.bat
|
|
||||||
*/*/boot/boot.asm
|
*/*/boot/boot.asm
|
||||||
*/*/boot/boot32.asm
|
*/*/boot/boot32.asm
|
||||||
*/*/boot/boot32lb.asm
|
*/*/boot/boot32lb.asm
|
||||||
|
@ -45,7 +45,7 @@ static BYTE *date_hRcsId =
|
|||||||
#define REVISION_SEQ 36 /* returned in BL by int 21 function 30 */
|
#define REVISION_SEQ 36 /* returned in BL by int 21 function 30 */
|
||||||
#define OEM_ID 0xfd /* FreeDOS, returned in BH by int 21 30 */
|
#define OEM_ID 0xfd /* FreeDOS, returned in BH by int 21 30 */
|
||||||
|
|
||||||
#define SOURCE_DATE_STRING "Sep 09 2005" /* DATE OF THE NEWEST SOURCE FILE */
|
#define SOURCE_DATE_STRING "Aug 18 2006" /* DATE OF THE NEWEST SOURCE FILE */
|
||||||
/* #define KERNEL_VERSION_STRING "1.1.35" formerly used in os_release text */
|
/* #define KERNEL_VERSION_STRING "1.1.35" formerly used in os_release text */
|
||||||
#define KERNEL_BUILD_STRING "2036 cvs" /* used in os_release string */
|
#define KERNEL_BUILD_STRING "2036 cvs" /* used in os_release string */
|
||||||
|
|
||||||
|
53
makefile
53
makefile
@ -1,4 +1,8 @@
|
|||||||
#just in case somebody likes make better than build...
|
# IF NOTHING COMPILES, CHECK IF YOUR CVS CHECKOUT USES CORRECT DOS LINEBREAKS
|
||||||
|
|
||||||
|
# What you WANT is: EDIT CONFIG.B, COPY CONFIG.B to CONFIG.BAT, RUN BUILD.BAT
|
||||||
|
# THIS file is provided only for people who have a habit of typing MAKE ALL...
|
||||||
|
|
||||||
all:
|
all:
|
||||||
build
|
build
|
||||||
|
|
||||||
@ -8,41 +12,44 @@ bin\kwc8616.sys:
|
|||||||
bin\kwc8632.sys:
|
bin\kwc8632.sys:
|
||||||
build -r wc 86 fat32
|
build -r wc 86 fat32
|
||||||
|
|
||||||
#use as follows: wmake -ms zip VERSION=2029
|
# use as follows: wmake -ms zip VERSION=2029
|
||||||
zip_src:
|
zip_src:
|
||||||
cd ..\..
|
cd ..\..
|
||||||
zip -9 -r -k source/ke$(VERSION)src.zip source/ke$(VERSION) -i@source/ke$(VERSION)/filelist
|
zip -9 -r -k source/ke$(VERSION)s.zip source/ke$(VERSION) -i@source/ke$(VERSION)/filelist
|
||||||
cd source\ke$(VERSION)
|
cd source\ke$(VERSION)
|
||||||
|
|
||||||
BINLIST1 = doc bin/kernel.sys bin/sys.com bin/command.com bin/config.sys
|
BINLIST1 = doc bin/kernel.sys bin/sys.com
|
||||||
BINLIST2 = bin/autoexec.bat bin/command.com bin/install.bat
|
# removed - as the 2nd zip -r line to add those to the zip:
|
||||||
|
# BINLIST2 = bin/config.sys bin/autoexec.bat bin/command.com bin/install.bat
|
||||||
|
|
||||||
zipfat16: bin\kwc8616.sys
|
zipfat16: bin\kwc8616.sys
|
||||||
mkdir doc
|
mkdir doc
|
||||||
copy docs\*.txt doc
|
mkdir doc\kernel
|
||||||
copy docs\*.cvs doc
|
copy docs\*.txt doc\kernel
|
||||||
copy docs\copying doc
|
copy docs\*.cvs doc\kernel
|
||||||
copy docs\*.lsm doc
|
copy docs\copying doc\kernel
|
||||||
del doc\build.txt
|
copy docs\*.lsm doc\kernel
|
||||||
del doc\lfnapi.txt
|
del doc\kernel\build.txt
|
||||||
|
del doc\kernel\lfnapi.txt
|
||||||
copy bin\kwc8616.sys bin\kernel.sys
|
copy bin\kwc8616.sys bin\kernel.sys
|
||||||
zip -9 -r -k ../ke$(VERSION)_16.zip $(BINLIST1)
|
zip -r -k ../ke$(VERSION)16.zip $(BINLIST)
|
||||||
zip -9 -r -k ../ke$(VERSION)_16.zip $(BINLIST2)
|
utils\rmfiles doc\kernel\*.txt doc\kernel\*.cvs doc\kernel\*.lsm doc\kernel\copying
|
||||||
utils\rmfiles doc\*.txt doc\*.cvs doc\*.lsm doc\copying
|
rmdir doc\kernel
|
||||||
rmdir doc
|
rmdir doc
|
||||||
|
|
||||||
zipfat32: bin\kwc8632.sys
|
zipfat32: bin\kwc8632.sys
|
||||||
mkdir doc
|
mkdir doc
|
||||||
copy docs\*.txt doc
|
mkdir doc\kernel
|
||||||
copy docs\*.cvs doc
|
copy docs\*.txt doc\kernel
|
||||||
copy docs\copying doc
|
copy docs\*.cvs doc\kernel
|
||||||
copy docs\*.lsm doc
|
copy docs\copying doc\kernel
|
||||||
del doc\build.txt
|
copy docs\*.lsm doc\kernel
|
||||||
del doc\lfnapi.txt
|
del doc\kernel\build.txt
|
||||||
|
del doc\kernel\lfnapi.txt
|
||||||
copy bin\kwc8632.sys bin\kernel.sys
|
copy bin\kwc8632.sys bin\kernel.sys
|
||||||
zip -9 -r -k ../ke$(VERSION)_32.zip $(BINLIST1)
|
zip -r -k ../ke$(VERSION)32.zip $(BINLIST)
|
||||||
zip -9 -r -k ../ke$(VERSION)_32.zip $(BINLIST2)
|
utils\rmfiles doc\kernel\*.txt doc\kernel\*.cvs doc\kernel\*.lsm doc\kernel\copying
|
||||||
utils\rmfiles doc\*.txt doc\*.cvs doc\*.lsm doc\copying
|
rmdir doc\kernel
|
||||||
rmdir doc
|
rmdir doc
|
||||||
|
|
||||||
zip: zip_src zipfat16 zipfat32
|
zip: zip_src zipfat16 zipfat32
|
||||||
|
Loading…
x
Reference in New Issue
Block a user