mirror of https://github.com/FDOS/kernel.git
fix and enable i386 support
This gives ~5K size reduction with bc3.1. Today no one uses pre-i386 CPUs so there is no good reason against having an extra optimization.
This commit is contained in:
parent
8187fd8153
commit
44cf0a17a1
4
config.b
4
config.b
|
@ -105,9 +105,9 @@ set XUPX=upx --8086 --best
|
|||
:* select your default target: required CPU and what FAT system to support
|
||||
:**********************************************************************
|
||||
|
||||
set XCPU=86
|
||||
:- set XCPU=86
|
||||
:- set XCPU=186
|
||||
:- set XCPU=386
|
||||
set XCPU=386
|
||||
|
||||
:- set XFAT=16
|
||||
set XFAT=32
|
||||
|
|
10
config.m
10
config.m
|
@ -15,8 +15,8 @@ XNASM=nasm
|
|||
#**********************************************************************
|
||||
#- where is the BASE dir of your compiler(s) ??
|
||||
#**********************************************************************
|
||||
|
||||
# if WATCOM maybe you need to set your WATCOM environment variables
|
||||
|
||||
# if WATCOM maybe you need to set your WATCOM environment variables
|
||||
# and path
|
||||
ifndef WATCOM
|
||||
WATCOM=$(HOME)/watcom
|
||||
|
@ -28,7 +28,7 @@ endif
|
|||
#**********************************************************************
|
||||
XUPX=upx --8086 --best
|
||||
|
||||
# or use
|
||||
# or use
|
||||
#unexport XUPX
|
||||
# without the # if you don't want to use it
|
||||
|
||||
|
@ -52,9 +52,9 @@ XUPX=upx --8086 --best
|
|||
# select your default target: required CPU and what FAT system to support
|
||||
#*********************************************************************
|
||||
|
||||
XCPU=86
|
||||
# XCPU=86
|
||||
# XCPU=186
|
||||
# XCPU=386
|
||||
XCPU=386
|
||||
|
||||
# XFAT=16
|
||||
XFAT=32
|
||||
|
|
|
@ -9,9 +9,11 @@ TARGETOPT=-1-
|
|||
|
||||
!if $(XCPU) == 186
|
||||
TARGETOPT=-1
|
||||
ALLCFLAGS=$(ALLCFLAGS) -DI186
|
||||
!endif
|
||||
!if $(XCPU) == 386
|
||||
TARGETOPT=-3
|
||||
ALLCFLAGS=$(ALLCFLAGS) -DI386
|
||||
!endif
|
||||
|
||||
!if $(XFAT) == 32
|
||||
|
|
Loading…
Reference in New Issue