mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
Merge git://www.denx.de/git/u-boot
Conflicts: CREDITS
This commit is contained in:
commit
b8685affe6
1944 changed files with 128927 additions and 151236 deletions
|
@ -438,6 +438,20 @@ Changes for U-Boot 1.1.5:
|
|||
|
||||
* Call serial_initialize() before first debug() is used.
|
||||
|
||||
* Code cleanup
|
||||
|
||||
* Various USB related patches
|
||||
- Add support for mpc8xx USB device.
|
||||
- Add support for Common Device Class - Abstract Control Model USB console.
|
||||
- Add support for flow control in USB slave devices.
|
||||
- Add support for switching between gserial and cdc_acm using environment.
|
||||
- Minor changes to usbdcore_omap1510.c usbdcore_omap1510.h
|
||||
- Update usbcore slightly to ease host enumeration.
|
||||
- Fix non-portable endian problems in usbdcore and usbdcore_ep0.
|
||||
- Add AdderUSB_config as a defconfig to enable usage of the USB console
|
||||
by default with the Adder87x U-Boot port.
|
||||
Patch by Bryan O'Donoghue <bodonoghue@codehermit.ie>, 29 May 2006
|
||||
|
||||
* Cleanup trab board for GCC-4.x
|
||||
|
||||
* VoiceBlue update: use new MTD flash partitioning methods, use more
|
||||
|
|
64
CREDITS
64
CREDITS
|
@ -117,7 +117,7 @@ N: Arun Dharankar
|
|||
E: ADharankar@ATTBI.Com
|
||||
D: threads / scheduler example code
|
||||
|
||||
N: Kári Davíðsson
|
||||
N: K?ri Dav??sson
|
||||
E: kd@flaga.is
|
||||
D: FLAGA DM Support
|
||||
|
||||
|
@ -143,10 +143,15 @@ E: info@elste.org
|
|||
D: Port for the ModNET50 Board, NET+50 CPU Port
|
||||
W: http://www.imms.de
|
||||
|
||||
N: Daniel Engström
|
||||
N: Daniel Engstr?m
|
||||
E: daniel@omicron.se
|
||||
D: x86 port, Support for sc520_cdp board
|
||||
|
||||
N: Hayden Fraser
|
||||
E: Hayden.Fraser@freescale.com
|
||||
D: Support for ColdFire MCF5253
|
||||
W: www.freescale.com
|
||||
|
||||
N: Dr. Wolfgang Grandegger
|
||||
E: wg@denx.de
|
||||
D: Support for Interphase 4539 T1/E1/J1 PMC, PN62, CCM, SCM boards
|
||||
|
@ -160,6 +165,11 @@ N: Thomas Frieden
|
|||
E: ThomasF@hyperion-entertainment.com
|
||||
D: Support for AmigaOne
|
||||
|
||||
N: Niklaus Giger
|
||||
E: niklaus.giger@netstal.com
|
||||
D: Support for HCU(x) boards
|
||||
W: www.netstal.com
|
||||
|
||||
N: Paul Gortmaker
|
||||
E: paul.gortmaker@windriver.com
|
||||
D: Support for WRS SBC8347/8349 boards
|
||||
|
@ -252,6 +262,10 @@ E: Raghu.Krishnaprasad@fci.com
|
|||
D: Support for Adder-II MPC852T evaluation board
|
||||
W: http://www.forcecomputers.com
|
||||
|
||||
N: Sergey Kubushyn
|
||||
E: ksi@koi8.net
|
||||
D: Support for various TI DaVinci based boards.
|
||||
|
||||
N: Bernhard Kuhn
|
||||
E: bkuhn@metrowerks.com
|
||||
D Support for Coldfire CPU; Support for Motorola M5272C3 and M5282EVB boards
|
||||
|
@ -274,6 +288,11 @@ E: team@leox.org
|
|||
D: Support for LEOX boards, DS164x RTC
|
||||
W: http://www.leox.org
|
||||
|
||||
N: TsiChung Liew
|
||||
E: Tsi-Chung.Liew@freescale.com
|
||||
D: Support for ColdFire MCF523x, MCF532x, MCF5445x
|
||||
W: www.freescale.com
|
||||
|
||||
N: Leif Lindholm
|
||||
E: leif.lindholm@i3micro.com
|
||||
D: Support for AMD dbau1550 board.
|
||||
|
@ -288,6 +307,11 @@ N: Raymond Lo
|
|||
E: lo@routefree.com
|
||||
D: Support for DOS partitions
|
||||
|
||||
N: James MacAulay
|
||||
E: james.macaulay@amirix.com
|
||||
D: Suppport for Amirix AP1000
|
||||
W: www.amirix.com
|
||||
|
||||
N: Dan Malek
|
||||
E: dan@embeddedalley.com
|
||||
D: FADSROM, the grandfather of all of this
|
||||
|
@ -310,7 +334,7 @@ N: Frank Morauf
|
|||
E: frank.morauf@salzbrenner.com
|
||||
D: Support for Embedded Planet RPX Super Board
|
||||
|
||||
N: David Müller
|
||||
N: David M?ller
|
||||
E: d.mueller@elsoft.ch
|
||||
D: Support for Samsung ARM920T SMDK2410 eval board
|
||||
|
||||
|
@ -363,8 +387,9 @@ D: Support for the Wind River sbc405, sbc8240 board
|
|||
W: http://www.windriver.com
|
||||
|
||||
N: Stefan Roese
|
||||
E: stefan.roese@esd-electronics.com
|
||||
D: AMCC PPC401/403/405GP Support; Windows environment support
|
||||
E: sr@denx.de
|
||||
D: AMCC PPC4xx Support
|
||||
W: http://www.denx.de
|
||||
|
||||
N: Erwin Rol
|
||||
E: erwin@muffin.org
|
||||
|
@ -398,6 +423,11 @@ N: Art Shipkowski
|
|||
E: art@videon-central.com
|
||||
D: Support for NetSilicon NS7520
|
||||
|
||||
N: Michal Simek
|
||||
E: monstr@monstr.eu
|
||||
D: Support for Microblaze, ML401, XUPV2P board
|
||||
W: www.monstr.eu
|
||||
|
||||
N: Yasushi Shoji
|
||||
E: yashi@atmark-techno.com
|
||||
D: Support for Xilinx MicroBlaze, for Atmark Techno SUZAKU FPGA board
|
||||
|
@ -411,6 +441,11 @@ E: andrea.scian@dave-tech.it
|
|||
D: Port to B2 board
|
||||
W: www.dave-tech.it
|
||||
|
||||
N: Timur Tabi
|
||||
E: timur@freescale.com
|
||||
D: Support for MPC8349E-mITX
|
||||
W: www.freescale.com
|
||||
|
||||
N: Rob Taylor
|
||||
E: robt@flyingpig.com
|
||||
D: Port to MBX860T and Sandpoint8240
|
||||
|
@ -465,22 +500,7 @@ E: azu@sysgo.de
|
|||
D: Overall improvements on StrongARM, ARM720TDMI; Support for Tuxscreen; initial PCMCIA support for ARM
|
||||
W: www.elinos.com
|
||||
|
||||
N: James MacAulay
|
||||
E: james.macaulay@amirix.com
|
||||
D: Suppport for Amirix AP1000
|
||||
W: www.amirix.com
|
||||
|
||||
N: Timur Tabi
|
||||
E: timur@freescale.com
|
||||
D: Support for MPC8349E-mITX
|
||||
W: www.freescale.com
|
||||
|
||||
N: Michal Simek
|
||||
E: monstr@monstr.eu
|
||||
D: Support for Microblaze, ML401, XUPV2P board
|
||||
W: www.monstr.eu
|
||||
|
||||
N: Nobuhiro Iwamatsu
|
||||
E: iwamatsu@nigauri.org
|
||||
D: Support for SuperH, MS7750SE01 , MS7780SE03 board
|
||||
W: www.nigauri.org
|
||||
D: Support for SuperH, MS7750SE01 and MS7722SE01 boards.
|
||||
W: http://www.nigauri.org/~iwamatsu/
|
||||
|
|
61
MAINTAINERS
61
MAINTAINERS
|
@ -42,6 +42,10 @@ Yuli Barcohen <yuli@arabellasw.com>
|
|||
Rattler MPC8248
|
||||
ZPC1900 MPC8265
|
||||
|
||||
Michael Barkowski <michael.barkowski@freescale.com>
|
||||
|
||||
MPC8323ERDB MPC8323
|
||||
|
||||
Jerry Van Baren <gerald.vanbaren@smiths-aerospace.com>
|
||||
|
||||
sacsng MPC8260
|
||||
|
@ -158,7 +162,12 @@ Matthias Fuchs <matthias.fuchs@esd-electronics.com>
|
|||
VOH405 PPC405EP
|
||||
VOM405 PPC405EP
|
||||
WUH405 PPC405EP
|
||||
CMS700 PPC405EP
|
||||
CMS700 PPC405EP
|
||||
|
||||
Niklaus Giger <niklaus.giger@netstal.com>
|
||||
|
||||
HCU4 PPC405GPr
|
||||
HCU5 PPC440EPx
|
||||
|
||||
Frank Gottschling <fgottschling@eltec.de>
|
||||
|
||||
|
@ -179,6 +188,10 @@ Howard Gray <mvsensor@matrix-vision.de>
|
|||
|
||||
MVS1 MPC823
|
||||
|
||||
Joe Hamman <joe.hamman@embeddedspecialties.com>
|
||||
|
||||
sbc8641d MPC8641D
|
||||
|
||||
Klaus Heydeck <heydeck@kieback-peter.de>
|
||||
|
||||
KUP4K MPC855
|
||||
|
@ -208,6 +221,10 @@ The LEOX team <team@leox.org>
|
|||
|
||||
ELPT860 MPC860T
|
||||
|
||||
Dave Liu <daveliu@freescale.com>
|
||||
|
||||
MPC8360EMDS MPC8360
|
||||
|
||||
Nye Liu <nyet@zumanetworks.com>
|
||||
|
||||
ZUMA MPC7xx_74xx
|
||||
|
@ -248,6 +265,7 @@ Tolunay Orkun <torkun@nextio.com>
|
|||
John Otken <jotken@softadvances.com>
|
||||
|
||||
luan PPC440SP
|
||||
taihu PPC405EP
|
||||
|
||||
Keith Outwater <Keith_Outwater@mvis.com>
|
||||
|
||||
|
@ -263,6 +281,10 @@ Denis Peter <d.peter@mpl.ch>
|
|||
MIP405 PPC4xx
|
||||
PIP405 PPC4xx
|
||||
|
||||
Kim Phillips <kim.phillips@freescale.com>
|
||||
|
||||
MPC8349EMDS MPC8349
|
||||
|
||||
Daniel Poirot <dan.poirot@windriver.com>
|
||||
|
||||
sbc8240 MPC8240
|
||||
|
@ -282,15 +304,18 @@ Stefan Roese <sr@denx.de>
|
|||
bunbinga PPC405EP
|
||||
ebony PPC440GP
|
||||
katmai PPC440SPe
|
||||
lwmon5 PPC440EPx
|
||||
ocotea PPC440GX
|
||||
p3p440 PPC440GP
|
||||
pcs440ep PPC440EP
|
||||
rainier PPC440GRx
|
||||
sequoia PPC440EPx
|
||||
sycamore PPC405GPr
|
||||
taishan PPC440GX
|
||||
walnut PPC405GP
|
||||
yellowstone PPC440GR
|
||||
yosemite PPC440EP
|
||||
zeus PPC405EP
|
||||
|
||||
P3M750 PPC750FX/GX/GL
|
||||
|
||||
|
@ -308,6 +333,11 @@ Peter De Schrijver <p2@mind.be>
|
|||
|
||||
ML2 PPC4xx
|
||||
|
||||
Timur Tabi <timur@freescale.com>
|
||||
|
||||
MPC8349E-mITX MPC8349
|
||||
MPC8349E-mITX-GP MPC8349
|
||||
|
||||
Erik Theisen <etheisen@mindspring.com>
|
||||
|
||||
W7OLMC PPC4xx
|
||||
|
@ -340,19 +370,6 @@ John Zhan <zhanz@sinovee.com>
|
|||
|
||||
svm_sc8xx MPC8xx
|
||||
|
||||
Timur Tabi <timur@freescale.com>
|
||||
|
||||
MPC8349E-mITX MPC8349
|
||||
MPC8349E-mITX-GP MPC8349
|
||||
|
||||
Kim Phillips <kim.phillips@freescale.com>
|
||||
|
||||
MPC8349EMDS MPC8349
|
||||
|
||||
Dave Liu <daveliu@freescale.com>
|
||||
|
||||
MPC8360EMDS MPC8360
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
Unknown / orphaned boards:
|
||||
|
@ -443,6 +460,12 @@ Nishant Kamat <nskamat@ti.com>
|
|||
|
||||
omap1610h2 ARM926EJS
|
||||
|
||||
Sergey Kubushyn <ksi@koi8.net>
|
||||
|
||||
DV-EVM ARM926EJS
|
||||
SONATA ARM926EJS
|
||||
SCHMOOGIE ARM926EJS
|
||||
|
||||
Prakash Kumar <prakash@embedx.com>
|
||||
|
||||
cerf250 xscale
|
||||
|
@ -588,6 +611,16 @@ Zachary P. Landau <zachary.landau@labxtechnologies.com>
|
|||
|
||||
r5200 mcf52x2
|
||||
|
||||
TsiChung Liew <Tsi-Chung.Liew@freescale.com>
|
||||
|
||||
M5235EVB mcf52x2
|
||||
M5329EVB mcf532x
|
||||
M54455EVB mcf5445x
|
||||
|
||||
Hayden Fraser <Hayden.Fraser@freescale.com>
|
||||
|
||||
M5253EVBE mcf52x2
|
||||
|
||||
#########################################################################
|
||||
# AVR32 Systems: #
|
||||
# #
|
||||
|
|
613
MAKEALL
613
MAKEALL
|
@ -26,114 +26,287 @@ LIST=""
|
|||
## MPC5xx Systems
|
||||
#########################################################################
|
||||
|
||||
LIST_5xx=" \
|
||||
cmi_mpc5xx \
|
||||
LIST_5xx=" \
|
||||
cmi_mpc5xx \
|
||||
"
|
||||
|
||||
#########################################################################
|
||||
## MPC5xxx Systems
|
||||
#########################################################################
|
||||
|
||||
LIST_5xxx=" \
|
||||
BC3450 cpci5200 EVAL5200 fo300 \
|
||||
icecube_5100 icecube_5200 lite5200b mcc200 \
|
||||
mecp5200 motionpro o2dnt pf5200 \
|
||||
PM520 TB5200 Total5100 Total5200 \
|
||||
Total5200_Rev2 TQM5200 TQM5200_B TQM5200S \
|
||||
v38b \
|
||||
LIST_5xxx=" \
|
||||
BC3450 \
|
||||
cm5200 \
|
||||
cpci5200 \
|
||||
EVAL5200 \
|
||||
fo300 \
|
||||
icecube_5100 \
|
||||
icecube_5200 \
|
||||
lite5200b \
|
||||
mcc200 \
|
||||
mecp5200 \
|
||||
motionpro \
|
||||
o2dnt \
|
||||
pf5200 \
|
||||
PM520 \
|
||||
TB5200 \
|
||||
Total5100 \
|
||||
Total5200 \
|
||||
Total5200_Rev2 \
|
||||
TQM5200 \
|
||||
TQM5200_B \
|
||||
TQM5200S \
|
||||
v38b \
|
||||
"
|
||||
|
||||
#########################################################################
|
||||
## MPC512x Systems
|
||||
#########################################################################
|
||||
|
||||
LIST_512x=" \
|
||||
ads5121 \
|
||||
"
|
||||
|
||||
#########################################################################
|
||||
## MPC8xx Systems
|
||||
#########################################################################
|
||||
LIST_8xx=" \
|
||||
Adder87x GENIETV MBX860T R360MPI \
|
||||
AdderII GTH MHPC RBC823 \
|
||||
ADS860 hermes MPC86xADS rmu \
|
||||
AMX860 IAD210 MPC885ADS RPXClassic \
|
||||
c2mon ICU862_100MHz MVS1 RPXlite \
|
||||
CCM IP860 NETPHONE RPXlite_DW \
|
||||
cogent_mpc8xx IVML24 NETTA RRvision \
|
||||
ELPT860 IVML24_128 NETTA2 SM850 \
|
||||
EP88x IVML24_256 NETTA_ISDN spc1920 \
|
||||
ESTEEM192E IVMS8 NETVIA SPD823TS \
|
||||
ETX094 IVMS8_128 NETVIA_V2 svm_sc8xx \
|
||||
FADS823 IVMS8_256 NX823 SXNI855T \
|
||||
FADS850SAR KUP4K pcu_e TOP860 \
|
||||
FADS860T KUP4X QS823 TQM823L \
|
||||
FLAGADM LANTEC QS850 TQM823L_LCD \
|
||||
FPS850L lwmon QS860T TQM850L \
|
||||
GEN860T MBX quantum TQM855L \
|
||||
GEN860T_SC TQM860L \
|
||||
TQM885D \
|
||||
uc100 \
|
||||
v37 \
|
||||
LIST_8xx=" \
|
||||
Adder87x \
|
||||
AdderII \
|
||||
ADS860 \
|
||||
AMX860 \
|
||||
c2mon \
|
||||
CCM \
|
||||
cogent_mpc8xx \
|
||||
ELPT860 \
|
||||
EP88x \
|
||||
ESTEEM192E \
|
||||
ETX094 \
|
||||
FADS823 \
|
||||
FADS850SAR \
|
||||
FADS860T \
|
||||
FLAGADM \
|
||||
FPS850L \
|
||||
GEN860T \
|
||||
GEN860T_SC \
|
||||
GENIETV \
|
||||
GTH \
|
||||
hermes \
|
||||
IAD210 \
|
||||
ICU862_100MHz \
|
||||
IP860 \
|
||||
IVML24 \
|
||||
IVML24_128 \
|
||||
IVML24_256 \
|
||||
IVMS8 \
|
||||
IVMS8_128 \
|
||||
IVMS8_256 \
|
||||
KUP4K \
|
||||
KUP4X \
|
||||
LANTEC \
|
||||
lwmon \
|
||||
MBX \
|
||||
MBX860T \
|
||||
MHPC \
|
||||
MPC86xADS \
|
||||
MPC885ADS \
|
||||
MVS1 \
|
||||
NETPHONE \
|
||||
NETTA \
|
||||
NETTA2 \
|
||||
NETTA_ISDN \
|
||||
NETVIA \
|
||||
NETVIA_V2 \
|
||||
NX823 \
|
||||
pcu_e \
|
||||
QS823 \
|
||||
QS850 \
|
||||
QS860T \
|
||||
quantum \
|
||||
R360MPI \
|
||||
RBC823 \
|
||||
rmu \
|
||||
RPXClassic \
|
||||
RPXlite \
|
||||
RPXlite_DW \
|
||||
RRvision \
|
||||
SM850 \
|
||||
spc1920 \
|
||||
SPD823TS \
|
||||
svm_sc8xx \
|
||||
SXNI855T \
|
||||
TOP860 \
|
||||
TQM823L \
|
||||
TQM823L_LCD \
|
||||
TQM850L \
|
||||
TQM855L \
|
||||
TQM860L \
|
||||
TQM885D \
|
||||
uc100 \
|
||||
v37 \
|
||||
"
|
||||
|
||||
#########################################################################
|
||||
## PPC4xx Systems
|
||||
#########################################################################
|
||||
|
||||
LIST_4xx=" \
|
||||
acadia ADCIOP alpr AP1000 \
|
||||
AR405 ASH405 bamboo bubinga \
|
||||
CANBT CMS700 CPCI2DP CPCI405 \
|
||||
CPCI4052 CPCI405AB CPCI405DT CPCI440 \
|
||||
CPCIISER4 CRAYL1 csb272 csb472 \
|
||||
DASA_SIM DP405 DU405 ebony \
|
||||
ERIC EXBITGEN G2000 HH405 \
|
||||
HUB405 JSE KAREF katmai \
|
||||
luan METROBOX MIP405 MIP405T \
|
||||
ML2 ml300 ocotea OCRTC \
|
||||
ORSG p3p440 PCI405 pcs440ep \
|
||||
PIP405 PLU405 PMC405 PPChameleonEVB \
|
||||
sbc405 sc3 sequoia sequoia_nand \
|
||||
taishan VOH405 VOM405 W7OLMC \
|
||||
W7OLMG walnut WUH405 XPEDITE1K \
|
||||
yellowstone yosemite yucca \
|
||||
LIST_4xx=" \
|
||||
acadia \
|
||||
acadia_nand \
|
||||
ADCIOP \
|
||||
alpr \
|
||||
AP1000 \
|
||||
AR405 \
|
||||
ASH405 \
|
||||
bamboo \
|
||||
bamboo_nand \
|
||||
bubinga \
|
||||
CANBT \
|
||||
CMS700 \
|
||||
CPCI2DP \
|
||||
CPCI405 \
|
||||
CPCI4052 \
|
||||
CPCI405AB \
|
||||
CPCI405DT \
|
||||
CPCI440 \
|
||||
CPCIISER4 \
|
||||
CRAYL1 \
|
||||
csb272 \
|
||||
csb472 \
|
||||
DASA_SIM \
|
||||
DP405 \
|
||||
DU405 \
|
||||
ebony \
|
||||
ERIC \
|
||||
EXBITGEN \
|
||||
G2000 \
|
||||
hcu4 \
|
||||
hcu5 \
|
||||
HH405 \
|
||||
HUB405 \
|
||||
JSE \
|
||||
KAREF \
|
||||
katmai \
|
||||
luan \
|
||||
lwmon5 \
|
||||
METROBOX \
|
||||
MIP405 \
|
||||
MIP405T \
|
||||
ML2 \
|
||||
ml300 \
|
||||
ocotea \
|
||||
OCRTC \
|
||||
ORSG \
|
||||
p3p440 \
|
||||
PCI405 \
|
||||
pcs440ep \
|
||||
PIP405 \
|
||||
PLU405 \
|
||||
PMC405 \
|
||||
PPChameleonEVB \
|
||||
rainier \
|
||||
sbc405 \
|
||||
sc3 \
|
||||
sequoia \
|
||||
sequoia_nand \
|
||||
taihu \
|
||||
taishan \
|
||||
VOH405 \
|
||||
VOM405 \
|
||||
W7OLMC \
|
||||
W7OLMG \
|
||||
walnut \
|
||||
WUH405 \
|
||||
XPEDITE1K \
|
||||
yellowstone \
|
||||
yosemite \
|
||||
yucca \
|
||||
zeus \
|
||||
"
|
||||
|
||||
#########################################################################
|
||||
## MPC8220 Systems
|
||||
#########################################################################
|
||||
|
||||
LIST_8220=" \
|
||||
Alaska8220 Yukon8220 \
|
||||
LIST_8220=" \
|
||||
Alaska8220 \
|
||||
Yukon8220 \
|
||||
"
|
||||
|
||||
#########################################################################
|
||||
## MPC824x Systems
|
||||
#########################################################################
|
||||
|
||||
LIST_824x=" \
|
||||
A3000 barco BMW CPC45 \
|
||||
CU824 debris eXalion HIDDEN_DRAGON \
|
||||
MOUSSE MUSENKI MVBLUE \
|
||||
OXC PN62 Sandpoint8240 Sandpoint8245 \
|
||||
sbc8240 SL8245 utx8245 \
|
||||
LIST_824x=" \
|
||||
A3000 \
|
||||
barco \
|
||||
BMW \
|
||||
CPC45 \
|
||||
CU824 \
|
||||
debris \
|
||||
eXalion \
|
||||
HIDDEN_DRAGON \
|
||||
MOUSSE \
|
||||
MUSENKI \
|
||||
MVBLUE \
|
||||
OXC \
|
||||
PN62 \
|
||||
Sandpoint8240 \
|
||||
Sandpoint8245 \
|
||||
sbc8240 \
|
||||
SL8245 \
|
||||
utx8245 \
|
||||
"
|
||||
|
||||
#########################################################################
|
||||
## MPC8260 Systems (includes 8250, 8255 etc.)
|
||||
#########################################################################
|
||||
|
||||
LIST_8260=" \
|
||||
atc cogent_mpc8260 CPU86 CPU87 \
|
||||
ep8248 ep8260 ep82xxm gw8260 \
|
||||
hymod IPHASE4539 ISPAN MPC8260ADS \
|
||||
MPC8266ADS MPC8272ADS PM826 PM828 \
|
||||
ppmc8260 Rattler8248 RPXsuper rsdproto \
|
||||
sacsng sbc8260 SCM TQM8260_AC \
|
||||
TQM8260_AD TQM8260_AE ZPC1900 \
|
||||
LIST_8260=" \
|
||||
atc \
|
||||
cogent_mpc8260 \
|
||||
CPU86 \
|
||||
CPU87 \
|
||||
ep8248 \
|
||||
ep8260 \
|
||||
ep82xxm \
|
||||
gw8260 \
|
||||
hymod \
|
||||
IPHASE4539 \
|
||||
ISPAN \
|
||||
MPC8260ADS \
|
||||
MPC8266ADS \
|
||||
MPC8272ADS \
|
||||
PM826 \
|
||||
PM828 \
|
||||
ppmc8260 \
|
||||
Rattler8248 \
|
||||
RPXsuper \
|
||||
rsdproto \
|
||||
sacsng \
|
||||
sbc8260 \
|
||||
SCM \
|
||||
TQM8260_AC \
|
||||
TQM8260_AD \
|
||||
TQM8260_AE \
|
||||
ZPC1900 \
|
||||
"
|
||||
|
||||
#########################################################################
|
||||
## MPC83xx Systems (includes 8349, etc.)
|
||||
#########################################################################
|
||||
|
||||
LIST_83xx=" \
|
||||
MPC832XEMDS MPC8349EMDS MPC8349ITX MPC8349ITXGP \
|
||||
MPC8360EMDS sbc8349 TQM834x \
|
||||
LIST_83xx=" \
|
||||
MPC8313ERDB_33 \
|
||||
MPC8313ERDB_66 \
|
||||
MPC8323ERDB \
|
||||
MPC832XEMDS \
|
||||
MPC8349EMDS \
|
||||
MPC8349ITX \
|
||||
MPC8349ITXGP \
|
||||
MPC8360EMDS \
|
||||
sbc8349 \
|
||||
TQM834x \
|
||||
"
|
||||
|
||||
|
||||
|
@ -141,114 +314,233 @@ LIST_83xx=" \
|
|||
## MPC85xx Systems (includes 8540, 8560 etc.)
|
||||
#########################################################################
|
||||
|
||||
LIST_85xx=" \
|
||||
MPC8540ADS MPC8540EVAL MPC8541CDS MPC8544DS \
|
||||
MPC8548CDS MPC8555CDS MPC8560ADS PM854 \
|
||||
PM856 sbc8540 sbc8560 stxgp3 \
|
||||
stxssa TQM8540 TQM8541 TQM8555 \
|
||||
TQM8560 \
|
||||
LIST_85xx=" \
|
||||
MPC8540ADS \
|
||||
MPC8540EVAL \
|
||||
MPC8541CDS \
|
||||
MPC8544DS \
|
||||
MPC8548CDS \
|
||||
MPC8555CDS \
|
||||
MPC8560ADS \
|
||||
MPC8568MDS \
|
||||
PM854 \
|
||||
PM856 \
|
||||
sbc8540 \
|
||||
sbc8560 \
|
||||
stxgp3 \
|
||||
stxssa \
|
||||
TQM8540 \
|
||||
TQM8541 \
|
||||
TQM8555 \
|
||||
TQM8560 \
|
||||
"
|
||||
|
||||
#########################################################################
|
||||
## MPC86xx Systems
|
||||
#########################################################################
|
||||
|
||||
LIST_86xx=" \
|
||||
MPC8641HPCN \
|
||||
sbc8641d \
|
||||
"
|
||||
|
||||
#########################################################################
|
||||
## 74xx/7xx Systems
|
||||
#########################################################################
|
||||
|
||||
LIST_74xx=" \
|
||||
DB64360 DB64460 EVB64260 P3G4 \
|
||||
p3m7448 PCIPPC2 PCIPPC6 ZUMA \
|
||||
mpc7448hpc2
|
||||
LIST_74xx=" \
|
||||
DB64360 \
|
||||
DB64460 \
|
||||
EVB64260 \
|
||||
mpc7448hpc2 \
|
||||
P3G4 \
|
||||
p3m7448 \
|
||||
PCIPPC2 \
|
||||
PCIPPC6 \
|
||||
ZUMA \
|
||||
"
|
||||
|
||||
LIST_7xx=" \
|
||||
BAB7xx CPCI750 ELPPC p3m750 \
|
||||
ppmc7xx \
|
||||
LIST_TSEC=" \
|
||||
${LIST_85xx} \
|
||||
${LIST_86xx} \
|
||||
${LIST_83xx} \
|
||||
"
|
||||
|
||||
LIST_ppc="${LIST_5xx} ${LIST_5xxx} \
|
||||
${LIST_8xx} \
|
||||
${LIST_8220} ${LIST_824x} ${LIST_8260} \
|
||||
${LIST_83xx} \
|
||||
${LIST_85xx} \
|
||||
${LIST_4xx} \
|
||||
${LIST_74xx} ${LIST_7xx}"
|
||||
LIST_7xx=" \
|
||||
BAB7xx \
|
||||
CPCI750 \
|
||||
ELPPC \
|
||||
p3m750 \
|
||||
ppmc7xx \
|
||||
"
|
||||
|
||||
LIST_ppc=" \
|
||||
${LIST_5xx} \
|
||||
${LIST_5xxx} \
|
||||
${LIST_8xx} \
|
||||
${LIST_8220} \
|
||||
${LIST_824x} \
|
||||
${LIST_8260} \
|
||||
${LIST_83xx} \
|
||||
${LIST_85xx} \
|
||||
${LIST_86xx} \
|
||||
${LIST_4xx} \
|
||||
${LIST_74xx} \
|
||||
${LIST_7xx} \
|
||||
"
|
||||
|
||||
#########################################################################
|
||||
## StrongARM Systems
|
||||
#########################################################################
|
||||
|
||||
LIST_SA="assabet dnp1110 gcplus lart shannon"
|
||||
LIST_SA=" \
|
||||
assabet \
|
||||
dnp1110 \
|
||||
gcplus \
|
||||
lart \
|
||||
shannon \
|
||||
"
|
||||
|
||||
#########################################################################
|
||||
## ARM7 Systems
|
||||
#########################################################################
|
||||
|
||||
LIST_ARM7=" \
|
||||
armadillo B2 ep7312 evb4510 \
|
||||
impa7 integratorap ap7 ap720t \
|
||||
lpc2292sodimm modnet50 \
|
||||
LIST_ARM7=" \
|
||||
ap7 \
|
||||
ap720t \
|
||||
armadillo \
|
||||
B2 \
|
||||
ep7312 \
|
||||
evb4510 \
|
||||
impa7 \
|
||||
integratorap \
|
||||
lpc2292sodimm \
|
||||
modnet50 \
|
||||
SMN42 \
|
||||
"
|
||||
|
||||
#########################################################################
|
||||
## ARM9 Systems
|
||||
#########################################################################
|
||||
|
||||
LIST_ARM9=" \
|
||||
at91rm9200dk cmc_pu2 \
|
||||
ap920t ap922_XA10 ap926ejs ap946es \
|
||||
ap966 cp920t cp922_XA10 cp926ejs \
|
||||
cp946es cp966 lpd7a400 mp2usb \
|
||||
mx1ads mx1fs2 netstar omap1510inn \
|
||||
omap1610h2 omap1610inn omap730p2 sbc2410x \
|
||||
scb9328 smdk2400 smdk2410 trab \
|
||||
VCMA9 versatile versatileab versatilepb \
|
||||
voiceblue \
|
||||
LIST_ARM9=" \
|
||||
at91rm9200dk \
|
||||
cmc_pu2 \
|
||||
ap920t \
|
||||
ap922_XA10 \
|
||||
ap926ejs \
|
||||
ap946es \
|
||||
ap966 \
|
||||
cp920t \
|
||||
cp922_XA10 \
|
||||
cp926ejs \
|
||||
cp946es \
|
||||
cp966 \
|
||||
lpd7a400 \
|
||||
mp2usb \
|
||||
mx1ads \
|
||||
mx1fs2 \
|
||||
netstar \
|
||||
omap1510inn \
|
||||
omap1610h2 \
|
||||
omap1610inn \
|
||||
omap730p2 \
|
||||
sbc2410x \
|
||||
scb9328 \
|
||||
smdk2400 \
|
||||
smdk2410 \
|
||||
trab \
|
||||
VCMA9 \
|
||||
versatile \
|
||||
versatileab \
|
||||
versatilepb \
|
||||
voiceblue \
|
||||
davinci_dvevm \
|
||||
davinci_schmoogie \
|
||||
davinci_sonata \
|
||||
"
|
||||
|
||||
#########################################################################
|
||||
## ARM10 Systems
|
||||
#########################################################################
|
||||
LIST_ARM10=" \
|
||||
integratorcp cp1026 \
|
||||
LIST_ARM10=" \
|
||||
integratorcp \
|
||||
cp1026 \
|
||||
"
|
||||
|
||||
#########################################################################
|
||||
## ARM11 Systems
|
||||
#########################################################################
|
||||
LIST_ARM11=" \
|
||||
cp1136 omap2420h4 \
|
||||
LIST_ARM11=" \
|
||||
cp1136 \
|
||||
omap2420h4 \
|
||||
"
|
||||
|
||||
#########################################################################
|
||||
## Xscale Systems
|
||||
#########################################################################
|
||||
|
||||
LIST_pxa=" \
|
||||
adsvix cerf250 cradle csb226 \
|
||||
delta innokom lubbock pleb2 \
|
||||
pxa255_idp wepep250 xaeniax xm250 \
|
||||
xsengine zylonite \
|
||||
LIST_pxa=" \
|
||||
adsvix \
|
||||
cerf250 \
|
||||
cradle \
|
||||
csb226 \
|
||||
delta \
|
||||
innokom \
|
||||
lubbock \
|
||||
pleb2 \
|
||||
pxa255_idp \
|
||||
wepep250 \
|
||||
xaeniax \
|
||||
xm250 \
|
||||
xsengine \
|
||||
zylonite \
|
||||
"
|
||||
|
||||
LIST_ixp="ixdp425 ixdpg425 pdnb3 scpu"
|
||||
LIST_ixp=" \
|
||||
ixdp425 \
|
||||
ixdpg425 \
|
||||
pdnb3 \
|
||||
scpu \
|
||||
"
|
||||
|
||||
|
||||
LIST_arm=" \
|
||||
${LIST_SA} \
|
||||
${LIST_ARM7} ${LIST_ARM9} ${LIST_ARM10} ${LIST_ARM11} \
|
||||
${LIST_pxa} ${LIST_ixp} \
|
||||
LIST_arm=" \
|
||||
${LIST_SA} \
|
||||
${LIST_ARM7} \
|
||||
${LIST_ARM9} \
|
||||
${LIST_ARM10} \
|
||||
${LIST_ARM11} \
|
||||
${LIST_pxa} \
|
||||
${LIST_ixp} \
|
||||
"
|
||||
|
||||
#########################################################################
|
||||
## MIPS Systems (default = big endian)
|
||||
#########################################################################
|
||||
|
||||
LIST_mips4kc="incaip"
|
||||
LIST_mips4kc=" \
|
||||
incaip \
|
||||
"
|
||||
|
||||
LIST_mips5kc="purple"
|
||||
LIST_mips5kc=" \
|
||||
purple \
|
||||
"
|
||||
|
||||
LIST_au1xx0="dbau1000 dbau1100 dbau1500 dbau1550 dbau1550_el gth2"
|
||||
LIST_au1xx0=" \
|
||||
dbau1000 \
|
||||
dbau1100 \
|
||||
dbau1500 \
|
||||
dbau1550 \
|
||||
dbau1550_el \
|
||||
gth2 \
|
||||
"
|
||||
|
||||
LIST_mips="${LIST_mips4kc} ${LIST_mips5kc} ${LIST_au1xx0}"
|
||||
LIST_mips=" \
|
||||
${LIST_mips4kc} \
|
||||
${LIST_mips5kc} \
|
||||
${LIST_au1xx0} \
|
||||
"
|
||||
|
||||
#########################################################################
|
||||
## MIPS Systems (little endian)
|
||||
|
@ -258,36 +550,55 @@ LIST_mips4kc_el=""
|
|||
|
||||
LIST_mips5kc_el=""
|
||||
|
||||
LIST_au1xx0_el="dbau1550_el"
|
||||
LIST_au1xx0_el=" \
|
||||
dbau1550_el \
|
||||
"
|
||||
|
||||
LIST_mips_el="${LIST_mips4kc_el} ${LIST_mips5kc_el} ${LIST_au1xx0_el}"
|
||||
LIST_mips_el=" \
|
||||
${LIST_mips4kc_el} \
|
||||
${LIST_mips5kc_el} \
|
||||
${LIST_au1xx0_el} \
|
||||
"
|
||||
|
||||
#########################################################################
|
||||
## i386 Systems
|
||||
#########################################################################
|
||||
|
||||
LIST_I486="sc520_cdp sc520_spunk sc520_spunk_rel"
|
||||
LIST_I486=" \
|
||||
sc520_cdp \
|
||||
sc520_spunk \
|
||||
sc520_spunk_rel \
|
||||
"
|
||||
|
||||
LIST_x86="${LIST_I486}"
|
||||
LIST_x86=" \
|
||||
${LIST_I486} \
|
||||
"
|
||||
|
||||
#########################################################################
|
||||
## NIOS Systems
|
||||
#########################################################################
|
||||
|
||||
LIST_nios=" \
|
||||
ADNPESC1 ADNPESC1_base_32 \
|
||||
ADNPESC1_DNPEVA2_base_32 \
|
||||
DK1C20 DK1C20_standard_32 \
|
||||
DK1S10 DK1S10_standard_32 DK1S10_mtx_ldk_20 \
|
||||
LIST_nios=" \
|
||||
ADNPESC1 \
|
||||
ADNPESC1_base_32 \
|
||||
ADNPESC1_DNPEVA2_base_32\
|
||||
DK1C20 \
|
||||
DK1C20_standard_32 \
|
||||
DK1S10 \
|
||||
DK1S10_standard_32 \
|
||||
DK1S10_mtx_ldk_20 \
|
||||
"
|
||||
|
||||
#########################################################################
|
||||
## Nios-II Systems
|
||||
#########################################################################
|
||||
|
||||
LIST_nios2=" \
|
||||
EP1C20 EP1S10 EP1S40 \
|
||||
PCI5441 PK1C20 \
|
||||
LIST_nios2=" \
|
||||
EP1C20 \
|
||||
EP1S10 \
|
||||
EP1S40 \
|
||||
PCI5441 \
|
||||
PK1C20 \
|
||||
"
|
||||
|
||||
#########################################################################
|
||||
|
@ -295,31 +606,49 @@ LIST_nios2=" \
|
|||
#########################################################################
|
||||
|
||||
LIST_microblaze=" \
|
||||
suzaku ml401 xupv2p
|
||||
suzaku \
|
||||
ml401 \
|
||||
xupv2p \
|
||||
"
|
||||
|
||||
#########################################################################
|
||||
## ColdFire Systems
|
||||
#########################################################################
|
||||
|
||||
LIST_coldfire=" \
|
||||
cobra5272 EB+MCF-EV123 EB+MCF-EV123_internal \
|
||||
idmr M5271EVB M5272C3 M5282EVB \
|
||||
TASREG r5200 M5271EVB \
|
||||
LIST_coldfire=" \
|
||||
cobra5272 \
|
||||
EB+MCF-EV123 \
|
||||
EB+MCF-EV123_internal \
|
||||
idmr \
|
||||
M5235EVB \
|
||||
M5249EVB \
|
||||
M5253EVB \
|
||||
M5271EVB \
|
||||
M5272C3 \
|
||||
M5282EVB \
|
||||
M5329EVB \
|
||||
M54455EVB \
|
||||
r5200 \
|
||||
TASREG \
|
||||
"
|
||||
|
||||
#########################################################################
|
||||
## AVR32 Systems
|
||||
#########################################################################
|
||||
|
||||
LIST_avr32="atstk1002"
|
||||
LIST_avr32=" \
|
||||
atstk1002 \
|
||||
"
|
||||
|
||||
#########################################################################
|
||||
## Blackfin Systems
|
||||
#########################################################################
|
||||
|
||||
LIST_blackfin=" \
|
||||
bf533-ezkit bf533-stamp bf537-stamp bf561-ezkit \
|
||||
LIST_blackfin=" \
|
||||
bf533-ezkit \
|
||||
bf533-stamp \
|
||||
bf537-stamp \
|
||||
bf561-ezkit \
|
||||
"
|
||||
|
||||
#-----------------------------------------------------------------------
|
||||
|
@ -355,8 +684,8 @@ do
|
|||
microblaze| \
|
||||
mips|mips_el| \
|
||||
nios|nios2| \
|
||||
ppc|5xx|5xxx|8xx|8220|824x|8260|83xx|85xx|4xx|7xx|74xx| \
|
||||
x86|I486)
|
||||
ppc|5xx|5xxx|512x|8xx|8220|824x|8260|83xx|85xx|86xx|4xx|7xx|74xx| \
|
||||
x86|I486|TSEC)
|
||||
for target in `eval echo '$LIST_'${arg}`
|
||||
do
|
||||
build_target ${target}
|
||||
|
|
303
Makefile
303
Makefile
|
@ -22,9 +22,9 @@
|
|||
#
|
||||
|
||||
VERSION = 1
|
||||
PATCHLEVEL = 2
|
||||
PATCHLEVEL = 3
|
||||
SUBLEVEL = 0
|
||||
EXTRAVERSION =
|
||||
EXTRAVERSION = -rc2
|
||||
U_BOOT_VERSION = $(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)
|
||||
VERSION_FILE = $(obj)include/version_autogenerated.h
|
||||
|
||||
|
@ -34,6 +34,7 @@ HOSTARCH := $(shell uname -m | \
|
|||
-e s/arm.*/arm/ \
|
||||
-e s/sa110/arm/ \
|
||||
-e s/powerpc/ppc/ \
|
||||
-e s/ppc64/ppc/ \
|
||||
-e s/macppc/ppc/)
|
||||
|
||||
HOSTOS := $(shell uname -s | tr '[:upper:]' '[:lower:]' | \
|
||||
|
@ -122,7 +123,7 @@ ifeq ($(HOSTARCH),$(ARCH))
|
|||
CROSS_COMPILE =
|
||||
else
|
||||
ifeq ($(ARCH),ppc)
|
||||
CROSS_COMPILE = powerpc-linux-
|
||||
CROSS_COMPILE = ppc_8xx-
|
||||
endif
|
||||
ifeq ($(ARCH),arm)
|
||||
CROSS_COMPILE = arm-linux-
|
||||
|
@ -176,9 +177,6 @@ endif
|
|||
ifeq ($(CPU),mpc85xx)
|
||||
OBJS += cpu/$(CPU)/resetvec.o
|
||||
endif
|
||||
ifeq ($(CPU),mpc86xx)
|
||||
OBJS += cpu/$(CPU)/resetvec.o
|
||||
endif
|
||||
ifeq ($(CPU),bf533)
|
||||
OBJS += cpu/$(CPU)/start1.o cpu/$(CPU)/interrupt.o cpu/$(CPU)/cache.o
|
||||
OBJS += cpu/$(CPU)/flush.o cpu/$(CPU)/init_sdram.o
|
||||
|
@ -195,6 +193,8 @@ endif
|
|||
OBJS := $(addprefix $(obj),$(OBJS))
|
||||
|
||||
LIBS = lib_generic/libgeneric.a
|
||||
LIBS += $(shell if [ -f board/$(VENDOR)/common/Makefile ]; then echo \
|
||||
"board/$(VENDOR)/common/lib$(VENDOR).a"; fi)
|
||||
LIBS += board/$(BOARDDIR)/lib$(BOARD).a
|
||||
LIBS += cpu/$(CPU)/lib$(CPU).a
|
||||
ifdef SOC
|
||||
|
@ -211,15 +211,23 @@ LIBS += disk/libdisk.a
|
|||
LIBS += rtc/librtc.a
|
||||
LIBS += dtt/libdtt.a
|
||||
LIBS += drivers/libdrivers.a
|
||||
LIBS += drivers/bios_emulator/libatibiosemu.a
|
||||
LIBS += drivers/nand/libnand.a
|
||||
LIBS += drivers/nand_legacy/libnand_legacy.a
|
||||
LIBS += drivers/net/libnet.a
|
||||
ifeq ($(CPU),mpc83xx)
|
||||
LIBS += drivers/qe/qe.a
|
||||
endif
|
||||
ifeq ($(CPU),mpc85xx)
|
||||
LIBS += drivers/qe/qe.a
|
||||
endif
|
||||
LIBS += drivers/serial/libserial.a
|
||||
LIBS += drivers/sk98lin/libsk98lin.a
|
||||
LIBS += post/libpost.a post/drivers/libpostdrivers.a
|
||||
LIBS += $(shell if [ -d post/lib_$(ARCH) ]; then echo \
|
||||
"post/lib_$(ARCH)/libpost$(ARCH).a"; fi)
|
||||
LIBS += $(shell if [ -d post/lib_$(ARCH)/fpu ]; then echo \
|
||||
"post/lib_$(ARCH)/fpu/libpost$(ARCH)fpu.a"; fi)
|
||||
LIBS += $(shell if [ -d post/cpu/$(CPU) ]; then echo \
|
||||
"post/cpu/$(CPU)/libpost$(CPU).a"; fi)
|
||||
LIBS += $(shell if [ -d post/board/$(BOARDDIR) ]; then echo \
|
||||
|
@ -251,7 +259,7 @@ __LIBS := $(subst $(obj),,$(LIBS))
|
|||
#########################################################################
|
||||
#########################################################################
|
||||
|
||||
ALL = $(obj)u-boot.srec $(obj)u-boot.bin $(obj)System.map $(U_BOOT_NAND)
|
||||
ALL += $(obj)u-boot.srec $(obj)u-boot.bin $(obj)System.map $(U_BOOT_NAND)
|
||||
|
||||
all: $(ALL)
|
||||
|
||||
|
@ -271,6 +279,9 @@ $(obj)u-boot.img: $(obj)u-boot.bin
|
|||
sed -e 's/"[ ]*$$/ for $(BOARD) board"/') \
|
||||
-d $< $@
|
||||
|
||||
$(obj)u-boot.sha1: $(obj)u-boot.bin
|
||||
$(obj)tools/ubsha1 $(obj)u-boot.bin
|
||||
|
||||
$(obj)u-boot.dis: $(obj)u-boot
|
||||
$(OBJDUMP) -d $< > $@
|
||||
|
||||
|
@ -311,7 +322,7 @@ updater:
|
|||
env:
|
||||
$(MAKE) -C tools/env all || exit 1
|
||||
|
||||
depend dep:
|
||||
depend dep: version
|
||||
for dir in $(SUBDIRS) ; do $(MAKE) -C $$dir _depend ; done
|
||||
|
||||
tags ctags:
|
||||
|
@ -430,7 +441,7 @@ jupiter_config: unconfig
|
|||
@$(MKCONFIG) jupiter ppc mpc5xxx jupiter
|
||||
|
||||
v38b_config: unconfig
|
||||
@./mkconfig -a v38b ppc mpc5xxx v38b
|
||||
@$(MKCONFIG) -a v38b ppc mpc5xxx v38b
|
||||
|
||||
inka4x0_config: unconfig
|
||||
@$(MKCONFIG) inka4x0 ppc mpc5xxx inka4x0
|
||||
|
@ -533,6 +544,9 @@ PM520_ROMBOOT_DDR_config: unconfig
|
|||
smmaco4_config: unconfig
|
||||
@$(MKCONFIG) -a smmaco4 ppc mpc5xxx tqm5200
|
||||
|
||||
cm5200_config: unconfig
|
||||
@./mkconfig -a cm5200 ppc mpc5xxx cm5200
|
||||
|
||||
spieval_config: unconfig
|
||||
@$(MKCONFIG) -a spieval ppc mpc5xxx tqm5200
|
||||
|
||||
|
@ -634,6 +648,13 @@ motionpro_config: unconfig
|
|||
@$(MKCONFIG) motionpro ppc mpc5xxx motionpro
|
||||
|
||||
|
||||
#########################################################################
|
||||
## MPC512x Systems
|
||||
#########################################################################
|
||||
ads5121_config: unconfig
|
||||
@$(MKCONFIG) ads5121 ppc mpc512x ads5121
|
||||
|
||||
|
||||
#########################################################################
|
||||
## MPC8xx Systems
|
||||
#########################################################################
|
||||
|
@ -647,6 +668,9 @@ AdderII_config \
|
|||
@echo "#define CONFIG_MPC852T" > $(obj)include/config.h)
|
||||
@$(MKCONFIG) -a Adder ppc mpc8xx adder
|
||||
|
||||
AdderUSB_config: unconfig
|
||||
@./mkconfig -a AdderUSB ppc mpc8xx adder
|
||||
|
||||
ADS860_config \
|
||||
FADS823_config \
|
||||
FADS850SAR_config \
|
||||
|
@ -1020,11 +1044,19 @@ xtract_4xx = $(subst _25,,$(subst _33,,$(subst _BA,,$(subst _ME,,$(subst _HI,,$(
|
|||
acadia_config: unconfig
|
||||
@$(MKCONFIG) $(@:_config=) ppc ppc4xx acadia amcc
|
||||
|
||||
acadia_nand_config: unconfig
|
||||
@mkdir -p $(obj)include $(obj)board/amcc/acadia
|
||||
@mkdir -p $(obj)nand_spl/board/amcc/acadia
|
||||
@echo "#define CONFIG_NAND_U_BOOT" > $(obj)include/config.h
|
||||
@$(MKCONFIG) -n $@ -a acadia ppc ppc4xx acadia amcc
|
||||
@echo "TEXT_BASE = 0x01000000" > $(obj)board/amcc/acadia/config.tmp
|
||||
@echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk
|
||||
|
||||
ADCIOP_config: unconfig
|
||||
@$(MKCONFIG) $(@:_config=) ppc ppc4xx adciop esd
|
||||
|
||||
alpr_config: unconfig
|
||||
@./mkconfig $(@:_config=) ppc ppc4xx alpr prodrive
|
||||
@$(MKCONFIG) $(@:_config=) ppc ppc4xx alpr prodrive
|
||||
|
||||
AP1000_config:unconfig
|
||||
@$(MKCONFIG) $(@:_config=) ppc ppc4xx ap1000 amirix
|
||||
|
@ -1041,6 +1073,14 @@ ASH405_config: unconfig
|
|||
bamboo_config: unconfig
|
||||
@$(MKCONFIG) $(@:_config=) ppc ppc4xx bamboo amcc
|
||||
|
||||
bamboo_nand_config: unconfig
|
||||
@mkdir -p $(obj)include $(obj)board/amcc/bamboo
|
||||
@mkdir -p $(obj)nand_spl/board/amcc/bamboo
|
||||
@echo "#define CONFIG_NAND_U_BOOT" > $(obj)include/config.h
|
||||
@$(MKCONFIG) -n $@ -a bamboo ppc ppc4xx bamboo amcc
|
||||
@echo "TEXT_BASE = 0x01000000" > $(obj)board/amcc/bamboo/config.tmp
|
||||
@echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk
|
||||
|
||||
bubinga_config: unconfig
|
||||
@$(MKCONFIG) $(@:_config=) ppc ppc4xx bubinga amcc
|
||||
|
||||
|
@ -1109,6 +1149,12 @@ EXBITGEN_config: unconfig
|
|||
G2000_config: unconfig
|
||||
@$(MKCONFIG) $(@:_config=) ppc ppc4xx g2000
|
||||
|
||||
hcu4_config: unconfig
|
||||
@$(MKCONFIG) $(@:_config=) ppc ppc4xx hcu4 netstal
|
||||
|
||||
hcu5_config: unconfig
|
||||
@$(MKCONFIG) $(@:_config=) ppc ppc4xx hcu5 netstal
|
||||
|
||||
HH405_config: unconfig
|
||||
@$(MKCONFIG) $(@:_config=) ppc ppc4xx hh405 esd
|
||||
|
||||
|
@ -1127,6 +1173,9 @@ katmai_config: unconfig
|
|||
luan_config: unconfig
|
||||
@$(MKCONFIG) $(@:_config=) ppc ppc4xx luan amcc
|
||||
|
||||
lwmon5_config: unconfig
|
||||
@$(MKCONFIG) $(@:_config=) ppc ppc4xx lwmon5
|
||||
|
||||
METROBOX_config: unconfig
|
||||
@$(MKCONFIG) $(@:_config=) ppc ppc4xx metrobox sandburst
|
||||
|
||||
|
@ -1213,9 +1262,8 @@ rainier_config: unconfig
|
|||
|
||||
sequoia_nand_config \
|
||||
rainier_nand_config: unconfig
|
||||
@mkdir -p $(obj)include
|
||||
@mkdir -p $(obj)nand_spl
|
||||
@mkdir -p $(obj)board/amcc/sequoia
|
||||
@mkdir -p $(obj)include $(obj)board/amcc/sequoia
|
||||
@mkdir -p $(obj)nand_spl/board/amcc/sequoia
|
||||
@echo "#define CONFIG_NAND_U_BOOT" > $(obj)include/config.h
|
||||
@echo "#define CONFIG_$$(echo $(subst ,,$(@:_config=)) | \
|
||||
tr '[:lower:]' '[:upper:]')" >> $(obj)include/config.h
|
||||
|
@ -1224,7 +1272,10 @@ rainier_nand_config: unconfig
|
|||
@echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk
|
||||
|
||||
sc3_config:unconfig
|
||||
@./mkconfig $(@:_config=) ppc ppc4xx sc3
|
||||
@$(MKCONFIG) $(@:_config=) ppc ppc4xx sc3
|
||||
|
||||
taihu_config: unconfig
|
||||
@$(MKCONFIG) $(@:_config=) ppc ppc4xx taihu amcc
|
||||
|
||||
taishan_config: unconfig
|
||||
@$(MKCONFIG) $(@:_config=) ppc ppc4xx taishan amcc
|
||||
|
@ -1263,6 +1314,9 @@ yellowstone_config: unconfig
|
|||
yucca_config: unconfig
|
||||
@$(MKCONFIG) $(@:_config=) ppc ppc4xx yucca amcc
|
||||
|
||||
zeus_config: unconfig
|
||||
@$(MKCONFIG) $(@:_config=) ppc ppc4xx zeus
|
||||
|
||||
#########################################################################
|
||||
## MPC8220 Systems
|
||||
#########################################################################
|
||||
|
@ -1390,7 +1444,7 @@ ep8260_config: unconfig
|
|||
@$(MKCONFIG) $(@:_config=) ppc mpc8260 ep8260
|
||||
|
||||
ep82xxm_config: unconfig
|
||||
@./mkconfig $(@:_config=) ppc mpc8260 ep82xxm
|
||||
@$(MKCONFIG) $(@:_config=) ppc mpc8260 ep82xxm
|
||||
|
||||
gw8260_config: unconfig
|
||||
@$(MKCONFIG) $(@:_config=) ppc mpc8260 gw8260
|
||||
|
@ -1590,6 +1644,31 @@ ZPC1900_config: unconfig
|
|||
## Coldfire
|
||||
#########################################################################
|
||||
|
||||
M5235EVB_config \
|
||||
M5235EVB_Flash16_config \
|
||||
M5235EVB_Flash32_config: unconfig
|
||||
@case "$@" in \
|
||||
M5235EVB_config) FLASH=16;; \
|
||||
M5235EVB_Flash16_config) FLASH=16;; \
|
||||
M5235EVB_Flash32_config) FLASH=32;; \
|
||||
esac; \
|
||||
>include/config.h ; \
|
||||
if [ "$${FLASH}" != "16" ] ; then \
|
||||
echo "#define NORFLASH_PS32BIT 1" >> include/config.h ; \
|
||||
echo "TEXT_BASE = 0xFFC00000" > $(obj)board/freescale/m5235evb/config.tmp ; \
|
||||
cp $(obj)board/freescale/m5235evb/u-boot.32 $(obj)board/freescale/m5235evb/u-boot.lds ; \
|
||||
else \
|
||||
echo "TEXT_BASE = 0xFFE00000" > $(obj)board/freescale/m5235evb/config.tmp ; \
|
||||
cp $(obj)board/freescale/m5235evb/u-boot.16 $(obj)board/freescale/m5235evb/u-boot.lds ; \
|
||||
fi
|
||||
@$(MKCONFIG) -a M5235EVB m68k mcf523x m5235evb freescale
|
||||
|
||||
M5249EVB_config : unconfig
|
||||
@$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5249evb freescale
|
||||
|
||||
M5253EVBE_config : unconfig
|
||||
@$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5253evbe freescale
|
||||
|
||||
cobra5272_config : unconfig
|
||||
@$(MKCONFIG) $(@:_config=) m68k mcf52x2 cobra5272
|
||||
|
||||
|
@ -1625,74 +1704,133 @@ TASREG_config : unconfig
|
|||
r5200_config : unconfig
|
||||
@$(MKCONFIG) $(@:_config=) m68k mcf52x2 r5200
|
||||
|
||||
M5329AFEE_config \
|
||||
M5329BFEE_config : unconfig
|
||||
@case "$@" in \
|
||||
M5329AFEE_config) NAND=0;; \
|
||||
M5329BFEE_config) NAND=16;; \
|
||||
esac; \
|
||||
>include/config.h ; \
|
||||
if [ "$${NAND}" != "0" ] ; then \
|
||||
echo "#define NANDFLASH_SIZE $${NAND}" > $(obj)include/config.h ; \
|
||||
fi
|
||||
@$(MKCONFIG) -a M5329EVB m68k mcf532x m5329evb freescale
|
||||
|
||||
M54455EVB_config \
|
||||
M54455EVB_atmel_config \
|
||||
M54455EVB_intel_config \
|
||||
M54455EVB_a33_config \
|
||||
M54455EVB_a66_config \
|
||||
M54455EVB_i33_config \
|
||||
M54455EVB_i66_config : unconfig
|
||||
@case "$@" in \
|
||||
M54455EVB_config) FLASH=ATMEL; FREQ=33333333;; \
|
||||
M54455EVB_atmel_config) FLASH=ATMEL; FREQ=33333333;; \
|
||||
M54455EVB_intel_config) FLASH=INTEL; FREQ=33333333;; \
|
||||
M54455EVB_a33_config) FLASH=ATMEL; FREQ=33333333;; \
|
||||
M54455EVB_a66_config) FLASH=ATMEL; FREQ=66666666;; \
|
||||
M54455EVB_i33_config) FLASH=INTEL; FREQ=33333333;; \
|
||||
M54455EVB_i66_config) FLASH=INTEL; FREQ=66666666;; \
|
||||
esac; \
|
||||
>include/config.h ; \
|
||||
if [ "$${FLASH}" == "INTEL" ] ; then \
|
||||
echo "#undef CFG_ATMEL_BOOT" >> $(obj)include/config.h ; \
|
||||
echo "... with INTEL boot..." ; \
|
||||
else \
|
||||
echo "#define CFG_ATMEL_BOOT" >> $(obj)include/config.h ; \
|
||||
echo "... with ATMEL boot..." ; \
|
||||
fi; \
|
||||
echo "#define CFG_INPUT_CLKSRC $${FREQ}" >> $(obj)include/config.h ; \
|
||||
echo "... with $${FREQ}Hz input clock"
|
||||
@$(MKCONFIG) -a M54455EVB m68k mcf5445x m54455evb freescale
|
||||
|
||||
#########################################################################
|
||||
## MPC83xx Systems
|
||||
#########################################################################
|
||||
|
||||
MPC8313ERDB_33_config \
|
||||
MPC8313ERDB_66_config: unconfig
|
||||
@mkdir -p $(obj)include
|
||||
@echo "" >$(obj)include/config.h ; \
|
||||
if [ "$(findstring _33_,$@)" ] ; then \
|
||||
echo -n "...33M ..." ; \
|
||||
echo "#define CFG_33MHZ" >>$(obj)include/config.h ; \
|
||||
fi ; \
|
||||
if [ "$(findstring _66_,$@)" ] ; then \
|
||||
echo -n "...66M..." ; \
|
||||
echo "#define CFG_66MHZ" >>$(obj)include/config.h ; \
|
||||
fi ;
|
||||
@$(MKCONFIG) -a MPC8313ERDB ppc mpc83xx mpc8313erdb freescale
|
||||
|
||||
MPC8323ERDB_config: unconfig
|
||||
@$(MKCONFIG) -a MPC8323ERDB ppc mpc83xx mpc8323erdb freescale
|
||||
|
||||
MPC832XEMDS_config \
|
||||
MPC832XEMDS_HOST_33_config \
|
||||
MPC832XEMDS_HOST_66_config \
|
||||
MPC832XEMDS_SLAVE_config: unconfig
|
||||
@echo "" >include/config.h ; \
|
||||
@mkdir -p $(obj)include
|
||||
@echo "" >$(obj)include/config.h ; \
|
||||
if [ "$(findstring _HOST_,$@)" ] ; then \
|
||||
echo -n "... PCI HOST " ; \
|
||||
echo "#define CONFIG_PCI" >>include/config.h ; \
|
||||
echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \
|
||||
fi ; \
|
||||
if [ "$(findstring _SLAVE_,$@)" ] ; then \
|
||||
echo "...PCI SLAVE 66M" ; \
|
||||
echo "#define CONFIG_PCI" >>include/config.h ; \
|
||||
echo "#define CONFIG_PCISLAVE" >>include/config.h ; \
|
||||
echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \
|
||||
echo "#define CONFIG_PCISLAVE" >>$(obj)include/config.h ; \
|
||||
fi ; \
|
||||
if [ "$(findstring _33_,$@)" ] ; then \
|
||||
echo -n "...33M ..." ; \
|
||||
echo "#define PCI_33M" >>include/config.h ; \
|
||||
echo "#define PCI_33M" >>$(obj)include/config.h ; \
|
||||
fi ; \
|
||||
if [ "$(findstring _66_,$@)" ] ; then \
|
||||
echo -n "...66M..." ; \
|
||||
echo "#define PCI_66M" >>include/config.h ; \
|
||||
echo "#define PCI_66M" >>$(obj)include/config.h ; \
|
||||
fi ;
|
||||
@$(MKCONFIG) -a MPC832XEMDS ppc mpc83xx mpc832xemds
|
||||
@$(MKCONFIG) -a MPC832XEMDS ppc mpc83xx mpc832xemds freescale
|
||||
|
||||
MPC8349EMDS_config: unconfig
|
||||
@$(MKCONFIG) $(@:_config=) ppc mpc83xx mpc8349emds
|
||||
@$(MKCONFIG) $(@:_config=) ppc mpc83xx mpc8349emds freescale
|
||||
|
||||
MPC8349ITX_config \
|
||||
MPC8349ITX_LOWBOOT_config \
|
||||
MPC8349ITXGP_config: unconfig
|
||||
@mkdir -p $(obj)include
|
||||
@mkdir -p $(obj)board/mpc8349itx
|
||||
@mkdir -p $(obj)board/freescale/mpc8349itx
|
||||
@echo "#define CONFIG_$(subst _LOWBOOT,,$(@:_config=))" >> $(obj)include/config.h
|
||||
@if [ "$(findstring GP,$@)" ] ; then \
|
||||
echo "TEXT_BASE = 0xFE000000" >$(obj)board/mpc8349itx/config.tmp ; \
|
||||
echo "TEXT_BASE = 0xFE000000" >$(obj)board/freescale/mpc8349itx/config.tmp ; \
|
||||
fi
|
||||
@if [ "$(findstring LOWBOOT,$@)" ] ; then \
|
||||
echo "TEXT_BASE = 0xFE000000" >$(obj)board/mpc8349itx/config.tmp ; \
|
||||
echo "TEXT_BASE = 0xFE000000" >$(obj)board/freescale/mpc8349itx/config.tmp ; \
|
||||
fi
|
||||
@$(MKCONFIG) -a -n $(@:_config=) MPC8349ITX ppc mpc83xx mpc8349itx
|
||||
@$(MKCONFIG) -a -n $(@:_config=) MPC8349ITX ppc mpc83xx mpc8349itx freescale
|
||||
|
||||
MPC8360EMDS_config \
|
||||
MPC8360EMDS_HOST_33_config \
|
||||
MPC8360EMDS_HOST_66_config \
|
||||
MPC8360EMDS_SLAVE_config: unconfig
|
||||
@echo "" >include/config.h ; \
|
||||
@mkdir -p $(obj)include
|
||||
@echo "" >$(obj)include/config.h ; \
|
||||
if [ "$(findstring _HOST_,$@)" ] ; then \
|
||||
echo -n "... PCI HOST " ; \
|
||||
echo "#define CONFIG_PCI" >>include/config.h ; \
|
||||
echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \
|
||||
fi ; \
|
||||
if [ "$(findstring _SLAVE_,$@)" ] ; then \
|
||||
echo "...PCI SLAVE 66M" ; \
|
||||
echo "#define CONFIG_PCI" >>include/config.h ; \
|
||||
echo "#define CONFIG_PCISLAVE" >>include/config.h ; \
|
||||
echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \
|
||||
echo "#define CONFIG_PCISLAVE" >>$(obj)include/config.h ; \
|
||||
fi ; \
|
||||
if [ "$(findstring _33_,$@)" ] ; then \
|
||||
echo -n "...33M ..." ; \
|
||||
echo "#define PCI_33M" >>include/config.h ; \
|
||||
echo "#define PCI_33M" >>$(obj)include/config.h ; \
|
||||
fi ; \
|
||||
if [ "$(findstring _66_,$@)" ] ; then \
|
||||
echo -n "...66M..." ; \
|
||||
echo "#define PCI_66M" >>include/config.h ; \
|
||||
echo "#define PCI_66M" >>$(obj)include/config.h ; \
|
||||
fi ;
|
||||
@$(MKCONFIG) -a MPC8360EMDS ppc mpc83xx mpc8360emds
|
||||
@$(MKCONFIG) -a MPC8360EMDS ppc mpc83xx mpc8360emds freescale
|
||||
|
||||
sbc8349_config: unconfig
|
||||
@$(MKCONFIG) $(@:_config=) ppc mpc83xx sbc8349
|
||||
|
@ -1716,10 +1854,10 @@ MPC8540EVAL_66_slave_config: unconfig
|
|||
@mkdir -p $(obj)include
|
||||
@echo "" >$(obj)include/config.h ; \
|
||||
if [ "$(findstring _33_,$@)" ] ; then \
|
||||
echo -n "... 33 MHz PCI" ; \
|
||||
echo "... 33 MHz PCI" ; \
|
||||
else \
|
||||
echo "#define CONFIG_SYSCLK_66M" >>$(obj)include/config.h ; \
|
||||
echo -n "... 66 MHz PCI" ; \
|
||||
echo "... 66 MHz PCI" ; \
|
||||
fi ; \
|
||||
if [ "$(findstring _slave_,$@)" ] ; then \
|
||||
echo "#define CONFIG_PCI_SLAVE" >>$(obj)include/config.h ; \
|
||||
|
@ -1732,17 +1870,38 @@ MPC8540EVAL_66_slave_config: unconfig
|
|||
MPC8560ADS_config: unconfig
|
||||
@$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8560ads
|
||||
|
||||
MPC8541CDS_legacy_config \
|
||||
MPC8541CDS_config: unconfig
|
||||
@$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8541cds cds
|
||||
@mkdir -p $(obj)include
|
||||
@echo "" >$(obj)include/config.h ; \
|
||||
if [ "$(findstring _legacy_,$@)" ] ; then \
|
||||
echo "#define CONFIG_LEGACY" >>$(obj)include/config.h ; \
|
||||
echo "... legacy" ; \
|
||||
fi
|
||||
@$(MKCONFIG) -a MPC8541CDS ppc mpc85xx mpc8541cds cds
|
||||
|
||||
MPC8544DS_config: unconfig
|
||||
@$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8544ds freescale
|
||||
|
||||
MPC8548CDS_legacy_config \
|
||||
MPC8548CDS_config: unconfig
|
||||
@$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8548cds cds
|
||||
@mkdir -p $(obj)include
|
||||
@echo "" >$(obj)include/config.h ; \
|
||||
if [ "$(findstring _legacy_,$@)" ] ; then \
|
||||
echo "#define CONFIG_LEGACY" >>$(obj)include/config.h ; \
|
||||
echo "... legacy" ; \
|
||||
fi
|
||||
@$(MKCONFIG) -a MPC8548CDS ppc mpc85xx mpc8548cds cds
|
||||
|
||||
MPC8555CDS_legacy_config \
|
||||
MPC8555CDS_config: unconfig
|
||||
@$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8555cds cds
|
||||
@mkdir -p $(obj)include
|
||||
@echo "" >$(obj)include/config.h ; \
|
||||
if [ "$(findstring _legacy_,$@)" ] ; then \
|
||||
echo "#define CONFIG_LEGACY" >>$(obj)include/config.h ; \
|
||||
echo "... legacy" ; \
|
||||
fi
|
||||
@$(MKCONFIG) -a MPC8555CDS ppc mpc85xx mpc8555cds cds
|
||||
|
||||
MPC8568MDS_config: unconfig
|
||||
@$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8568mds
|
||||
|
@ -1782,8 +1941,16 @@ sbc8560_66_config: unconfig
|
|||
stxgp3_config: unconfig
|
||||
@$(MKCONFIG) $(@:_config=) ppc mpc85xx stxgp3
|
||||
|
||||
stxssa_config: unconfig
|
||||
@$(MKCONFIG) $(@:_config=) ppc mpc85xx stxssa
|
||||
stxssa_config \
|
||||
stxssa_4M_config: unconfig
|
||||
@mkdir -p $(obj)include
|
||||
@if [ "$(findstring _4M_,$@)" ] ; then \
|
||||
echo "#define CONFIG_STXSSA_4M" >>$(obj)include/config.h ; \
|
||||
echo "... with 4 MiB flash memory" ; \
|
||||
else \
|
||||
>$(obj)include/config.h ; \
|
||||
fi
|
||||
@$(MKCONFIG) -a stxssa ppc mpc85xx stxssa
|
||||
|
||||
TQM8540_config \
|
||||
TQM8541_config \
|
||||
|
@ -1797,7 +1964,7 @@ TQM8560_config: unconfig
|
|||
echo "#define CONFIG_TQM$${CTYPE}">>$(obj)include/config.h; \
|
||||
echo "#define CONFIG_HOSTNAME tqm$${CTYPE}">>$(obj)include/config.h; \
|
||||
echo "#define CONFIG_BOARDNAME \"TQM$${CTYPE}\"">>$(obj)include/config.h; \
|
||||
echo "#define CFG_BOOTFILE \"bootfile=/tftpboot/tqm$${CTYPE}/uImage\0\"">>$(obj)include/config.h
|
||||
echo "#define CFG_BOOTFILE_PATH \"/tftpboot/tqm$${CTYPE}/uImage\"">>$(obj)include/config.h
|
||||
@$(MKCONFIG) -a TQM85xx ppc mpc85xx tqm85xx
|
||||
|
||||
#########################################################################
|
||||
|
@ -1805,8 +1972,10 @@ TQM8560_config: unconfig
|
|||
#########################################################################
|
||||
|
||||
MPC8641HPCN_config: unconfig
|
||||
@./mkconfig $(@:_config=) ppc mpc86xx mpc8641hpcn
|
||||
@$(MKCONFIG) $(@:_config=) ppc mpc86xx mpc8641hpcn freescale
|
||||
|
||||
sbc8641d_config: unconfig
|
||||
@./mkconfig $(@:_config=) ppc mpc86xx sbc8641d
|
||||
|
||||
#########################################################################
|
||||
## 74xx/7xx Systems
|
||||
|
@ -1962,6 +2131,15 @@ omap1510inn_config : unconfig
|
|||
omap5912osk_config : unconfig
|
||||
@$(MKCONFIG) $(@:_config=) arm arm926ejs omap5912osk NULL omap
|
||||
|
||||
davinci_dvevm_config : unconfig
|
||||
@$(MKCONFIG) $(@:_config=) arm arm926ejs dv-evm davinci davinci
|
||||
|
||||
davinci_schmoogie_config : unconfig
|
||||
@$(MKCONFIG) $(@:_config=) arm arm926ejs schmoogie davinci davinci
|
||||
|
||||
davinci_sonata_config : unconfig
|
||||
@$(MKCONFIG) $(@:_config=) arm arm926ejs sonata davinci davinci
|
||||
|
||||
omap1610inn_config \
|
||||
omap1610inn_cs0boot_config \
|
||||
omap1610inn_cs3boot_config \
|
||||
|
@ -1972,13 +2150,13 @@ omap1610h2_cs3boot_config \
|
|||
omap1610h2_cs_autoboot_config: unconfig
|
||||
@mkdir -p $(obj)include
|
||||
@if [ "$(findstring _cs0boot_, $@)" ] ; then \
|
||||
echo "#define CONFIG_CS0_BOOT" >> .$(obj)/include/config.h ; \
|
||||
echo "#define CONFIG_CS0_BOOT" >> .$(obj)include/config.h ; \
|
||||
echo "... configured for CS0 boot"; \
|
||||
elif [ "$(findstring _cs_autoboot_, $@)" ] ; then \
|
||||
echo "#define CONFIG_CS_AUTOBOOT" >> $(obj)./include/config.h ; \
|
||||
echo "#define CONFIG_CS_AUTOBOOT" >> $(obj)include/config.h ; \
|
||||
echo "... configured for CS_AUTO boot"; \
|
||||
else \
|
||||
echo "#define CONFIG_CS3_BOOT" >> $(obj)./include/config.h ; \
|
||||
echo "#define CONFIG_CS3_BOOT" >> $(obj)include/config.h ; \
|
||||
echo "... configured for CS3 boot"; \
|
||||
fi;
|
||||
@$(MKCONFIG) -a $(call xtract_omap1610xxx,$@) arm arm926ejs omap1610inn NULL omap
|
||||
|
@ -2103,7 +2281,10 @@ evb4510_config : unconfig
|
|||
@$(MKCONFIG) $(@:_config=) arm arm720t evb4510
|
||||
|
||||
lpc2292sodimm_config: unconfig
|
||||
@$(MKCONFIG) $(@:_config=) arm arm720t lpc2292sodimm
|
||||
@$(MKCONFIG) $(@:_config=) arm arm720t lpc2292sodimm NULL lpc2292
|
||||
|
||||
SMN42_config : unconfig
|
||||
@$(MKCONFIG) $(@:_config=) arm arm720t SMN42 siemens lpc2292
|
||||
|
||||
#########################################################################
|
||||
## XScale Systems
|
||||
|
@ -2144,17 +2325,21 @@ logodl_config : unconfig
|
|||
|
||||
pdnb3_config \
|
||||
scpu_config: unconfig
|
||||
@mkdir -p $(obj)include
|
||||
@if [ "$(findstring scpu_,$@)" ] ; then \
|
||||
echo "#define CONFIG_SCPU" >>include/config.h ; \
|
||||
echo "#define CONFIG_SCPU" >>$(obj)include/config.h ; \
|
||||
echo "... on SCPU board variant" ; \
|
||||
else \
|
||||
>include/config.h ; \
|
||||
>$(obj)include/config.h ; \
|
||||
fi
|
||||
@$(MKCONFIG) -a pdnb3 arm ixp pdnb3 prodrive
|
||||
|
||||
pxa255_idp_config: unconfig
|
||||
@$(MKCONFIG) $(@:_config=) arm pxa pxa255_idp
|
||||
|
||||
trizepsiv_config : unconfig
|
||||
@$(MKCONFIG) $(@:_config=) arm pxa trizepsiv
|
||||
|
||||
wepep250_config : unconfig
|
||||
@$(MKCONFIG) $(@:_config=) arm pxa wepep250
|
||||
|
||||
|
@ -2370,14 +2555,16 @@ suzaku_config: unconfig
|
|||
@$(MKCONFIG) -a $(@:_config=) microblaze microblaze suzaku AtmarkTechno
|
||||
|
||||
ml401_config: unconfig
|
||||
@ >include/config.h
|
||||
@echo "#define CONFIG_ML401 1" >> include/config.h
|
||||
@./mkconfig -a $(@:_config=) microblaze microblaze ml401 xilinx
|
||||
@mkdir -p $(obj)include
|
||||
@ >$(obj)include/config.h
|
||||
@echo "#define CONFIG_ML401 1" >> $(obj)include/config.h
|
||||
@$(MKCONFIG) -a $(@:_config=) microblaze microblaze ml401 xilinx
|
||||
|
||||
xupv2p_config: unconfig
|
||||
@ >include/config.h
|
||||
@echo "#define CONFIG_XUPV2P 1" >> include/config.h
|
||||
@./mkconfig -a $(@:_config=) microblaze microblaze xupv2p xilinx
|
||||
@mkdir -p $(obj)include
|
||||
@ >$(obj)include/config.h
|
||||
@echo "#define CONFIG_XUPV2P 1" >> $(obj)include/config.h
|
||||
@$(MKCONFIG) -a $(@:_config=) microblaze microblaze xupv2p xilinx
|
||||
|
||||
#########################################################################
|
||||
## Blackfin
|
||||
|
@ -2402,7 +2589,7 @@ bf561-ezkit_config: unconfig
|
|||
#########################################################################
|
||||
|
||||
atstk1002_config : unconfig
|
||||
@./mkconfig $(@:_config=) avr32 at32ap atstk1000 atmel at32ap7000
|
||||
@$(MKCONFIG) $(@:_config=) avr32 at32ap atstk1000 atmel at32ap7000
|
||||
|
||||
#########################################################################
|
||||
#########################################################################
|
||||
|
@ -2431,7 +2618,7 @@ clean:
|
|||
$(obj)examples/smc91111_eeprom $(obj)examples/interrupt \
|
||||
$(obj)examples/test_burst
|
||||
rm -f $(obj)tools/img2srec $(obj)tools/mkimage $(obj)tools/envcrc \
|
||||
$(obj)tools/gen_eth_addr
|
||||
$(obj)tools/gen_eth_addr $(obj)tools/ubsha1
|
||||
rm -f $(obj)tools/mpc86x_clk $(obj)tools/ncb
|
||||
rm -f $(obj)tools/easylogo/easylogo $(obj)tools/bmp_logo
|
||||
rm -f $(obj)tools/gdb/astest $(obj)tools/gdb/gdbcont $(obj)tools/gdb/gdbsend
|
||||
|
@ -2454,7 +2641,7 @@ clobber: clean
|
|||
rm -f $(OBJS) $(obj)*.bak $(obj)ctags $(obj)etags $(obj)TAGS $(obj)include/version_autogenerated.h
|
||||
rm -fr $(obj)*.*~
|
||||
rm -f $(obj)u-boot $(obj)u-boot.map $(obj)u-boot.hex $(ALL)
|
||||
rm -f $(obj)tools/crc32.c $(obj)tools/environment.c $(obj)tools/env/crc32.c
|
||||
rm -f $(obj)tools/crc32.c $(obj)tools/environment.c $(obj)tools/env/crc32.c $(obj)tools/sha1.c
|
||||
rm -f $(obj)tools/inca-swap-bytes $(obj)cpu/mpc824x/bedbug_603e.c
|
||||
rm -f $(obj)include/asm/proc $(obj)include/asm/arch $(obj)include/asm
|
||||
[ ! -d $(OBJTREE)/nand_spl ] || find $(obj)nand_spl -lname "*" -print | xargs rm -f
|
||||
|
|
506
README
506
README
|
@ -136,6 +136,8 @@ Directory Hierarchy:
|
|||
- i386 Files specific to i386 CPUs
|
||||
- ixp Files specific to Intel XScale IXP CPUs
|
||||
- mcf52x2 Files specific to Freescale ColdFire MCF52x2 CPUs
|
||||
- mcf532x Files specific to Freescale ColdFire MCF5329 CPUs
|
||||
- mcf5445x Files specific to Freescale ColdFire MCF5445x CPUs
|
||||
- mips Files specific to MIPS CPUs
|
||||
- mpc5xx Files specific to Freescale MPC5xx CPUs
|
||||
- mpc5xxx Files specific to Freescale MPC5xxx CPUs
|
||||
|
@ -228,113 +230,9 @@ build a config tool - later.
|
|||
|
||||
The following options need to be configured:
|
||||
|
||||
- CPU Type: Define exactly one of
|
||||
- CPU Type: Define exactly one, e.g. CONFIG_MPC85XX.
|
||||
|
||||
PowerPC based CPUs:
|
||||
-------------------
|
||||
CONFIG_MPC823, CONFIG_MPC850, CONFIG_MPC855, CONFIG_MPC860
|
||||
or CONFIG_MPC5xx
|
||||
or CONFIG_MPC8220
|
||||
or CONFIG_MPC824X, CONFIG_MPC8260
|
||||
or CONFIG_MPC85xx
|
||||
or CONFIG_IOP480
|
||||
or CONFIG_405GP
|
||||
or CONFIG_405EP
|
||||
or CONFIG_440
|
||||
or CONFIG_MPC74xx
|
||||
or CONFIG_750FX
|
||||
|
||||
ARM based CPUs:
|
||||
---------------
|
||||
CONFIG_SA1110
|
||||
CONFIG_ARM7
|
||||
CONFIG_PXA250
|
||||
CONFIG_CPU_MONAHANS
|
||||
|
||||
MicroBlaze based CPUs:
|
||||
----------------------
|
||||
CONFIG_MICROBLAZE
|
||||
|
||||
Nios-2 based CPUs:
|
||||
----------------------
|
||||
CONFIG_NIOS2
|
||||
|
||||
AVR32 based CPUs:
|
||||
----------------------
|
||||
CONFIG_AT32AP
|
||||
|
||||
- Board Type: Define exactly one of
|
||||
|
||||
PowerPC based boards:
|
||||
---------------------
|
||||
|
||||
CONFIG_ADCIOP CONFIG_FPS860L CONFIG_OXC
|
||||
CONFIG_ADS860 CONFIG_GEN860T CONFIG_PCI405
|
||||
CONFIG_AMX860 CONFIG_GENIETV CONFIG_PCIPPC2
|
||||
CONFIG_AP1000 CONFIG_GTH CONFIG_PCIPPC6
|
||||
CONFIG_AR405 CONFIG_gw8260 CONFIG_pcu_e
|
||||
CONFIG_BAB7xx CONFIG_hermes CONFIG_PIP405
|
||||
CONFIG_BC3450 CONFIG_hymod CONFIG_PM826
|
||||
CONFIG_c2mon CONFIG_IAD210 CONFIG_ppmc8260
|
||||
CONFIG_CANBT CONFIG_ICU862 CONFIG_QS823
|
||||
CONFIG_CCM CONFIG_IP860 CONFIG_QS850
|
||||
CONFIG_CMI CONFIG_IPHASE4539 CONFIG_QS860T
|
||||
CONFIG_cogent_mpc8260 CONFIG_IVML24 CONFIG_RBC823
|
||||
CONFIG_cogent_mpc8xx CONFIG_IVML24_128 CONFIG_RPXClassic
|
||||
CONFIG_CPCI405 CONFIG_IVML24_256 CONFIG_RPXlite
|
||||
CONFIG_CPCI4052 CONFIG_IVMS8 CONFIG_RPXsuper
|
||||
CONFIG_CPCIISER4 CONFIG_IVMS8_128 CONFIG_rsdproto
|
||||
CONFIG_CPU86 CONFIG_IVMS8_256 CONFIG_sacsng
|
||||
CONFIG_CRAYL1 CONFIG_JSE CONFIG_Sandpoint8240
|
||||
CONFIG_CSB272 CONFIG_LANTEC CONFIG_Sandpoint8245
|
||||
CONFIG_CU824 CONFIG_LITE5200B CONFIG_sbc8260
|
||||
CONFIG_DASA_SIM CONFIG_lwmon CONFIG_sbc8560
|
||||
CONFIG_DB64360 CONFIG_MBX CONFIG_SM850
|
||||
CONFIG_DB64460 CONFIG_MBX860T CONFIG_SPD823TS
|
||||
CONFIG_DU405 CONFIG_MHPC CONFIG_STXGP3
|
||||
CONFIG_DUET_ADS CONFIG_MIP405 CONFIG_SXNI855T
|
||||
CONFIG_EBONY CONFIG_MOUSSE CONFIG_TQM823L
|
||||
CONFIG_ELPPC CONFIG_MPC8260ADS CONFIG_TQM8260
|
||||
CONFIG_ELPT860 CONFIG_MPC8540ADS CONFIG_TQM850L
|
||||
CONFIG_ep8260 CONFIG_MPC8540EVAL CONFIG_TQM855L
|
||||
CONFIG_ERIC CONFIG_MPC8560ADS CONFIG_TQM860L
|
||||
CONFIG_ESTEEM192E CONFIG_MUSENKI CONFIG_TTTech
|
||||
CONFIG_ETX094 CONFIG_MVS1 CONFIG_UTX8245
|
||||
CONFIG_EVB64260 CONFIG_NETPHONE CONFIG_V37
|
||||
CONFIG_FADS823 CONFIG_NETTA CONFIG_W7OLMC
|
||||
CONFIG_FADS850SAR CONFIG_NETVIA CONFIG_W7OLMG
|
||||
CONFIG_FADS860T CONFIG_NX823 CONFIG_WALNUT
|
||||
CONFIG_FLAGADM CONFIG_OCRTC CONFIG_ZPC1900
|
||||
CONFIG_FPS850L CONFIG_ORSG CONFIG_ZUMA
|
||||
|
||||
ARM based boards:
|
||||
-----------------
|
||||
|
||||
CONFIG_ARMADILLO, CONFIG_AT91RM9200DK, CONFIG_CERF250,
|
||||
CONFIG_CSB637, CONFIG_DELTA, CONFIG_DNP1110,
|
||||
CONFIG_EP7312, CONFIG_H2_OMAP1610, CONFIG_HHP_CRADLE,
|
||||
CONFIG_IMPA7, CONFIG_INNOVATOROMAP1510, CONFIG_INNOVATOROMAP1610,
|
||||
CONFIG_KB9202, CONFIG_LART, CONFIG_LPD7A400,
|
||||
CONFIG_LUBBOCK, CONFIG_OSK_OMAP5912, CONFIG_OMAP2420H4,
|
||||
CONFIG_PLEB2, CONFIG_SHANNON, CONFIG_P2_OMAP730,
|
||||
CONFIG_SMDK2400, CONFIG_SMDK2410, CONFIG_TRAB,
|
||||
CONFIG_VCMA9
|
||||
|
||||
MicroBlaze based boards:
|
||||
------------------------
|
||||
|
||||
CONFIG_SUZAKU
|
||||
|
||||
Nios-2 based boards:
|
||||
------------------------
|
||||
|
||||
CONFIG_PCI5441 CONFIG_PK1C20
|
||||
CONFIG_EP1C20 CONFIG_EP1S10 CONFIG_EP1S40
|
||||
|
||||
AVR32 based boards:
|
||||
-------------------
|
||||
|
||||
CONFIG_ATSTK1000
|
||||
- Board Type: Define exactly one, e.g. CONFIG_MPC8540ADS.
|
||||
|
||||
- CPU Daughterboard Type: (if CONFIG_ATSTK1000 is defined)
|
||||
Define exactly one of
|
||||
|
@ -440,7 +338,7 @@ The following options need to be configured:
|
|||
CONFIG_OF_LIBFDT
|
||||
* New libfdt-based support
|
||||
* Adds the "fdt" command
|
||||
* The bootm command does _not_ modify the fdt
|
||||
* The bootm command automatically updates the fdt
|
||||
|
||||
CONFIG_OF_FLAT_TREE
|
||||
* Deprecated, see CONFIG_OF_LIBFDT
|
||||
|
@ -449,15 +347,13 @@ The following options need to be configured:
|
|||
* The environment variable "disable_of", when set,
|
||||
disables this functionality.
|
||||
|
||||
CONFIG_OF_FLAT_TREE_MAX_SIZE
|
||||
|
||||
The maximum size of the constructed OF tree.
|
||||
|
||||
OF_CPU - The proper name of the cpus node.
|
||||
OF_SOC - The proper name of the soc node.
|
||||
OF_TBCLK - The timebase frequency.
|
||||
OF_STDOUT_PATH - The path to the console device
|
||||
|
||||
boards with QUICC Engines require OF_QE to set UCC mac addresses
|
||||
|
||||
CONFIG_OF_HAS_BD_T
|
||||
|
||||
* CONFIG_OF_LIBFDT - enables the "fdt bd_t" command
|
||||
|
@ -467,7 +363,7 @@ The following options need to be configured:
|
|||
|
||||
CONFIG_OF_HAS_UBOOT_ENV
|
||||
|
||||
* CONFIG_OF_LIBFDT - enables the "fdt bd_t" command
|
||||
* CONFIG_OF_LIBFDT - enables the "fdt env" command
|
||||
* CONFIG_OF_FLAT_TREE - The resulting flat device tree
|
||||
will have a copy of u-boot's environment variables
|
||||
|
||||
|
@ -541,7 +437,7 @@ The following options need to be configured:
|
|||
CFG_CONSOLE_BLINK_COUNT blink interval (cf. i8042.c)
|
||||
CONFIG_CONSOLE_TIME display time/date info in
|
||||
upper right corner
|
||||
(requires CFG_CMD_DATE)
|
||||
(requires CONFIG_CMD_DATE)
|
||||
CONFIG_VIDEO_LOGO display Linux logo in
|
||||
upper left corner
|
||||
CONFIG_VIDEO_BMP_LOGO use bmp_logo.h instead of
|
||||
|
@ -645,102 +541,96 @@ The following options need to be configured:
|
|||
time on others. This setting #define's the initial
|
||||
value of the "loads_echo" environment variable.
|
||||
|
||||
- Kgdb Serial Baudrate: (if CFG_CMD_KGDB is defined)
|
||||
- Kgdb Serial Baudrate: (if CONFIG_CMD_KGDB is defined)
|
||||
CONFIG_KGDB_BAUDRATE
|
||||
Select one of the baudrates listed in
|
||||
CFG_BAUDRATE_TABLE, see below.
|
||||
|
||||
- Monitor Functions:
|
||||
CONFIG_COMMANDS
|
||||
Most monitor functions can be selected (or
|
||||
de-selected) by adjusting the definition of
|
||||
CONFIG_COMMANDS; to select individual functions,
|
||||
#define CONFIG_COMMANDS by "OR"ing any of the
|
||||
following values:
|
||||
Monitor commands can be included or excluded
|
||||
from the build by using the #include files
|
||||
"config_cmd_all.h" and #undef'ing unwanted
|
||||
commands, or using "config_cmd_default.h"
|
||||
and augmenting with additional #define's
|
||||
for wanted commands.
|
||||
|
||||
#define enables commands:
|
||||
-------------------------
|
||||
CFG_CMD_ASKENV * ask for env variable
|
||||
CFG_CMD_AUTOSCRIPT Autoscript Support
|
||||
CFG_CMD_BDI bdinfo
|
||||
CFG_CMD_BEDBUG * Include BedBug Debugger
|
||||
CFG_CMD_BMP * BMP support
|
||||
CFG_CMD_BSP * Board specific commands
|
||||
CFG_CMD_BOOTD bootd
|
||||
CFG_CMD_CACHE * icache, dcache
|
||||
CFG_CMD_CONSOLE coninfo
|
||||
CFG_CMD_DATE * support for RTC, date/time...
|
||||
CFG_CMD_DHCP * DHCP support
|
||||
CFG_CMD_DIAG * Diagnostics
|
||||
CFG_CMD_DOC * Disk-On-Chip Support
|
||||
CFG_CMD_DTT * Digital Therm and Thermostat
|
||||
CFG_CMD_ECHO echo arguments
|
||||
CFG_CMD_EEPROM * EEPROM read/write support
|
||||
CFG_CMD_ELF * bootelf, bootvx
|
||||
CFG_CMD_ENV saveenv
|
||||
CFG_CMD_FDC * Floppy Disk Support
|
||||
CFG_CMD_FAT * FAT partition support
|
||||
CFG_CMD_FDOS * Dos diskette Support
|
||||
CFG_CMD_FLASH flinfo, erase, protect
|
||||
CFG_CMD_FPGA FPGA device initialization support
|
||||
CFG_CMD_HWFLOW * RTS/CTS hw flow control
|
||||
CFG_CMD_I2C * I2C serial bus support
|
||||
CFG_CMD_IDE * IDE harddisk support
|
||||
CFG_CMD_IMI iminfo
|
||||
CFG_CMD_IMLS List all found images
|
||||
CFG_CMD_IMMAP * IMMR dump support
|
||||
CFG_CMD_IRQ * irqinfo
|
||||
CFG_CMD_ITEST Integer/string test of 2 values
|
||||
CFG_CMD_JFFS2 * JFFS2 Support
|
||||
CFG_CMD_KGDB * kgdb
|
||||
CFG_CMD_LOADB loadb
|
||||
CFG_CMD_LOADS loads
|
||||
CFG_CMD_MEMORY md, mm, nm, mw, cp, cmp, crc, base,
|
||||
loop, loopw, mtest
|
||||
CFG_CMD_MISC Misc functions like sleep etc
|
||||
CFG_CMD_MMC * MMC memory mapped support
|
||||
CFG_CMD_MII * MII utility commands
|
||||
CFG_CMD_NAND * NAND support
|
||||
CFG_CMD_NET bootp, tftpboot, rarpboot
|
||||
CFG_CMD_PCI * pciinfo
|
||||
CFG_CMD_PCMCIA * PCMCIA support
|
||||
CFG_CMD_PING * send ICMP ECHO_REQUEST to network host
|
||||
CFG_CMD_PORTIO * Port I/O
|
||||
CFG_CMD_REGINFO * Register dump
|
||||
CFG_CMD_RUN run command in env variable
|
||||
CFG_CMD_SAVES * save S record dump
|
||||
CFG_CMD_SCSI * SCSI Support
|
||||
CFG_CMD_SDRAM * print SDRAM configuration information
|
||||
(requires CFG_CMD_I2C)
|
||||
CFG_CMD_SETGETDCR Support for DCR Register access (4xx only)
|
||||
CFG_CMD_SPI * SPI serial bus support
|
||||
CFG_CMD_USB * USB support
|
||||
CFG_CMD_VFD * VFD support (TRAB)
|
||||
CFG_CMD_BSP * Board SPecific functions
|
||||
CFG_CMD_CDP * Cisco Discover Protocol support
|
||||
-----------------------------------------------
|
||||
CFG_CMD_ALL all
|
||||
The default command configuration includes all commands
|
||||
except those marked below with a "*".
|
||||
|
||||
CONFIG_CMD_DFL Default configuration; at the moment
|
||||
this is includes all commands, except
|
||||
the ones marked with "*" in the list
|
||||
above.
|
||||
CONFIG_CMD_ASKENV * ask for env variable
|
||||
CONFIG_CMD_AUTOSCRIPT Autoscript Support
|
||||
CONFIG_CMD_BDI bdinfo
|
||||
CONFIG_CMD_BEDBUG * Include BedBug Debugger
|
||||
CONFIG_CMD_BMP * BMP support
|
||||
CONFIG_CMD_BSP * Board specific commands
|
||||
CONFIG_CMD_BOOTD bootd
|
||||
CONFIG_CMD_CACHE * icache, dcache
|
||||
CONFIG_CMD_CONSOLE coninfo
|
||||
CONFIG_CMD_DATE * support for RTC, date/time...
|
||||
CONFIG_CMD_DHCP * DHCP support
|
||||
CONFIG_CMD_DIAG * Diagnostics
|
||||
CONFIG_CMD_DOC * Disk-On-Chip Support
|
||||
CONFIG_CMD_DTT * Digital Therm and Thermostat
|
||||
CONFIG_CMD_ECHO echo arguments
|
||||
CONFIG_CMD_EEPROM * EEPROM read/write support
|
||||
CONFIG_CMD_ELF * bootelf, bootvx
|
||||
CONFIG_CMD_ENV saveenv
|
||||
CONFIG_CMD_FDC * Floppy Disk Support
|
||||
CONFIG_CMD_FAT * FAT partition support
|
||||
CONFIG_CMD_FDOS * Dos diskette Support
|
||||
CONFIG_CMD_FLASH flinfo, erase, protect
|
||||
CONFIG_CMD_FPGA FPGA device initialization support
|
||||
CONFIG_CMD_HWFLOW * RTS/CTS hw flow control
|
||||
CONFIG_CMD_I2C * I2C serial bus support
|
||||
CONFIG_CMD_IDE * IDE harddisk support
|
||||
CONFIG_CMD_IMI iminfo
|
||||
CONFIG_CMD_IMLS List all found images
|
||||
CONFIG_CMD_IMMAP * IMMR dump support
|
||||
CONFIG_CMD_IRQ * irqinfo
|
||||
CONFIG_CMD_ITEST Integer/string test of 2 values
|
||||
CONFIG_CMD_JFFS2 * JFFS2 Support
|
||||
CONFIG_CMD_KGDB * kgdb
|
||||
CONFIG_CMD_LOADB loadb
|
||||
CONFIG_CMD_LOADS loads
|
||||
CONFIG_CMD_MEMORY md, mm, nm, mw, cp, cmp, crc, base,
|
||||
loop, loopw, mtest
|
||||
CONFIG_CMD_MISC Misc functions like sleep etc
|
||||
CONFIG_CMD_MMC * MMC memory mapped support
|
||||
CONFIG_CMD_MII * MII utility commands
|
||||
CONFIG_CMD_NAND * NAND support
|
||||
CONFIG_CMD_NET bootp, tftpboot, rarpboot
|
||||
CONFIG_CMD_PCI * pciinfo
|
||||
CONFIG_CMD_PCMCIA * PCMCIA support
|
||||
CONFIG_CMD_PING * send ICMP ECHO_REQUEST to network
|
||||
host
|
||||
CONFIG_CMD_PORTIO * Port I/O
|
||||
CONFIG_CMD_REGINFO * Register dump
|
||||
CONFIG_CMD_RUN run command in env variable
|
||||
CONFIG_CMD_SAVES * save S record dump
|
||||
CONFIG_CMD_SCSI * SCSI Support
|
||||
CONFIG_CMD_SDRAM * print SDRAM configuration information
|
||||
(requires CONFIG_CMD_I2C)
|
||||
CONFIG_CMD_SETGETDCR Support for DCR Register access
|
||||
(4xx only)
|
||||
CONFIG_CMD_SPI * SPI serial bus support
|
||||
CONFIG_CMD_USB * USB support
|
||||
CONFIG_CMD_VFD * VFD support (TRAB)
|
||||
CONFIG_CMD_BSP * Board SPecific functions
|
||||
CONFIG_CMD_CDP * Cisco Discover Protocol support
|
||||
CONFIG_CMD_FSL * Microblaze FSL support
|
||||
|
||||
If you don't define CONFIG_COMMANDS it defaults to
|
||||
CONFIG_CMD_DFL in include/cmd_confdefs.h. A board can
|
||||
override the default settings in the respective
|
||||
include file.
|
||||
|
||||
EXAMPLE: If you want all functions except of network
|
||||
support you can write:
|
||||
|
||||
#define CONFIG_COMMANDS (CFG_CMD_ALL & ~CFG_CMD_NET)
|
||||
#include "config_cmd_all.h"
|
||||
#undef CONFIG_CMD_NET
|
||||
|
||||
Other Commands:
|
||||
fdt (flattened device tree) command: CONFIG_OF_LIBFDT
|
||||
|
||||
Note: Don't enable the "icache" and "dcache" commands
|
||||
(configuration option CFG_CMD_CACHE) unless you know
|
||||
(configuration option CONFIG_CMD_CACHE) unless you know
|
||||
what you (and your U-Boot users) are doing. Data
|
||||
cache cannot be enabled on systems like the 8xx or
|
||||
8260 (where accesses to the IMMR region must be
|
||||
|
@ -768,7 +658,7 @@ The following options need to be configured:
|
|||
|
||||
- Real-Time Clock:
|
||||
|
||||
When CFG_CMD_DATE is selected, the type of the RTC
|
||||
When CONFIG_CMD_DATE is selected, the type of the RTC
|
||||
has to be selected, too. Define exactly one of the
|
||||
following options:
|
||||
|
||||
|
@ -789,14 +679,14 @@ The following options need to be configured:
|
|||
When CONFIG_TIMESTAMP is selected, the timestamp
|
||||
(date and time) of an image is printed by image
|
||||
commands like bootm or iminfo. This option is
|
||||
automatically enabled when you select CFG_CMD_DATE .
|
||||
automatically enabled when you select CONFIG_CMD_DATE .
|
||||
|
||||
- Partition Support:
|
||||
CONFIG_MAC_PARTITION and/or CONFIG_DOS_PARTITION
|
||||
and/or CONFIG_ISO_PARTITION
|
||||
|
||||
If IDE or SCSI support is enabled (CFG_CMD_IDE or
|
||||
CFG_CMD_SCSI) you must configure support for at least
|
||||
If IDE or SCSI support is enabled (CONFIG_CMD_IDE or
|
||||
CONFIG_CMD_SCSI) you must configure support for at least
|
||||
one partition type as well.
|
||||
|
||||
- IDE Reset method:
|
||||
|
@ -899,6 +789,71 @@ The following options need to be configured:
|
|||
CONFIG_USB_CONFIG
|
||||
for differential drivers: 0x00001000
|
||||
for single ended drivers: 0x00005000
|
||||
CFG_USB_EVENT_POLL
|
||||
May be defined to allow interrupt polling
|
||||
instead of using asynchronous interrupts
|
||||
|
||||
- USB Device:
|
||||
Define the below if you wish to use the USB console.
|
||||
Once firmware is rebuilt from a serial console issue the
|
||||
command "setenv stdin usbtty; setenv stdout usbtty" and
|
||||
attach your usb cable. The Unix command "dmesg" should print
|
||||
it has found a new device. The environment variable usbtty
|
||||
can be set to gserial or cdc_acm to enable your device to
|
||||
appear to a USB host as a Linux gserial device or a
|
||||
Common Device Class Abstract Control Model serial device.
|
||||
If you select usbtty = gserial you should be able to enumerate
|
||||
a Linux host by
|
||||
# modprobe usbserial vendor=0xVendorID product=0xProductID
|
||||
else if using cdc_acm, simply setting the environment
|
||||
variable usbtty to be cdc_acm should suffice. The following
|
||||
might be defined in YourBoardName.h
|
||||
|
||||
CONFIG_USB_DEVICE
|
||||
Define this to build a UDC device
|
||||
|
||||
CONFIG_USB_TTY
|
||||
Define this to have a tty type of device available to
|
||||
talk to the UDC device
|
||||
|
||||
CFG_CONSOLE_IS_IN_ENV
|
||||
Define this if you want stdin, stdout &/or stderr to
|
||||
be set to usbtty.
|
||||
|
||||
mpc8xx:
|
||||
CFG_USB_EXTC_CLK 0xBLAH
|
||||
Derive USB clock from external clock "blah"
|
||||
- CFG_USB_EXTC_CLK 0x02
|
||||
|
||||
CFG_USB_BRG_CLK 0xBLAH
|
||||
Derive USB clock from brgclk
|
||||
- CFG_USB_BRG_CLK 0x04
|
||||
|
||||
If you have a USB-IF assigned VendorID then you may wish to
|
||||
define your own vendor specific values either in BoardName.h
|
||||
or directly in usbd_vendor_info.h. If you don't define
|
||||
CONFIG_USBD_MANUFACTURER, CONFIG_USBD_PRODUCT_NAME,
|
||||
CONFIG_USBD_VENDORID and CONFIG_USBD_PRODUCTID, then U-Boot
|
||||
should pretend to be a Linux device to it's target host.
|
||||
|
||||
CONFIG_USBD_MANUFACTURER
|
||||
Define this string as the name of your company for
|
||||
- CONFIG_USBD_MANUFACTURER "my company"
|
||||
|
||||
CONFIG_USBD_PRODUCT_NAME
|
||||
Define this string as the name of your product
|
||||
- CONFIG_USBD_PRODUCT_NAME "acme usb device"
|
||||
|
||||
CONFIG_USBD_VENDORID
|
||||
Define this as your assigned Vendor ID from the USB
|
||||
Implementors Forum. This *must* be a genuine Vendor ID
|
||||
to avoid polluting the USB namespace.
|
||||
- CONFIG_USBD_VENDORID 0xFFFF
|
||||
|
||||
CONFIG_USBD_PRODUCTID
|
||||
Define this as the unique Product ID
|
||||
for your device
|
||||
- CONFIG_USBD_PRODUCTID 0xFFFF
|
||||
|
||||
|
||||
- MMC Support:
|
||||
|
@ -906,8 +861,8 @@ The following options need to be configured:
|
|||
enable this define CONFIG_MMC. The MMC can be
|
||||
accessed from the boot prompt by mapping the device
|
||||
to physical memory similar to flash. Command line is
|
||||
enabled with CFG_CMD_MMC. The MMC driver also works with
|
||||
the FAT fs. This is enabled with CFG_CMD_FAT.
|
||||
enabled with CONFIG_CMD_MMC. The MMC driver also works with
|
||||
the FAT fs. This is enabled with CONFIG_CMD_FAT.
|
||||
|
||||
- Journaling Flash filesystem support:
|
||||
CONFIG_JFFS2_NAND, CONFIG_JFFS2_NAND_OFF, CONFIG_JFFS2_NAND_SIZE,
|
||||
|
@ -1111,6 +1066,16 @@ The following options need to be configured:
|
|||
Defines a default value for theIP address of a TFTP
|
||||
server to contact when using the "tftboot" command.
|
||||
|
||||
- Multicast TFTP Mode:
|
||||
CONFIG_MCAST_TFTP
|
||||
|
||||
Defines whether you want to support multicast TFTP as per
|
||||
rfc-2090; for example to work with atftp. Lets lots of targets
|
||||
tftp down the same boot image concurrently. Note: the ethernet
|
||||
driver in use must provide a function: mcast() to join/leave a
|
||||
multicast group.
|
||||
|
||||
CONFIG_BOOTP_RANDOM_DELAY
|
||||
- BOOTP Recovery Mode:
|
||||
CONFIG_BOOTP_RANDOM_DELAY
|
||||
|
||||
|
@ -1122,7 +1087,7 @@ The following options need to be configured:
|
|||
boot, thus flooding the BOOTP server. Defining
|
||||
CONFIG_BOOTP_RANDOM_DELAY causes a random delay to be
|
||||
inserted before sending out BOOTP requests. The
|
||||
following delays are insterted then:
|
||||
following delays are inserted then:
|
||||
|
||||
1st BOOTP request: delay 0 ... 1 sec
|
||||
2nd BOOTP request: delay 0 ... 2 sec
|
||||
|
@ -1131,10 +1096,24 @@ The following options need to be configured:
|
|||
BOOTP requests: delay 0 ... 8 sec
|
||||
|
||||
- DHCP Advanced Options:
|
||||
CONFIG_BOOTP_MASK
|
||||
You can fine tune the DHCP functionality by defining
|
||||
CONFIG_BOOTP_* symbols:
|
||||
|
||||
You can fine tune the DHCP functionality by adding
|
||||
these flags to the CONFIG_BOOTP_MASK define:
|
||||
CONFIG_BOOTP_SUBNETMASK
|
||||
CONFIG_BOOTP_GATEWAY
|
||||
CONFIG_BOOTP_HOSTNAME
|
||||
CONFIG_BOOTP_NISDOMAIN
|
||||
CONFIG_BOOTP_BOOTPATH
|
||||
CONFIG_BOOTP_BOOTFILESIZE
|
||||
CONFIG_BOOTP_DNS
|
||||
CONFIG_BOOTP_DNS2
|
||||
CONFIG_BOOTP_SEND_HOSTNAME
|
||||
CONFIG_BOOTP_NTPSERVER
|
||||
CONFIG_BOOTP_TIMEOFFSET
|
||||
CONFIG_BOOTP_VENDOREX
|
||||
|
||||
CONFIG_BOOTP_SERVERIP - TFTP server will be the serverip
|
||||
environment variable, not the BOOTP server.
|
||||
|
||||
CONFIG_BOOTP_DNS2 - If a DHCP client requests the DNS
|
||||
serverip from a DHCP server, it is possible that more
|
||||
|
@ -1143,15 +1122,14 @@ The following options need to be configured:
|
|||
serverip will be stored in the additional environment
|
||||
variable "dnsip2". The first DNS serverip is always
|
||||
stored in the variable "dnsip", when CONFIG_BOOTP_DNS
|
||||
is added to the CONFIG_BOOTP_MASK.
|
||||
is defined.
|
||||
|
||||
CONFIG_BOOTP_SEND_HOSTNAME - Some DHCP servers are capable
|
||||
to do a dynamic update of a DNS server. To do this, they
|
||||
need the hostname of the DHCP requester.
|
||||
If CONFIG_BOOP_SEND_HOSTNAME is added to the
|
||||
CONFIG_BOOTP_MASK, the content of the "hostname"
|
||||
environment variable is passed as option 12 to
|
||||
the DHCP server.
|
||||
If CONFIG_BOOTP_SEND_HOSTNAME is defined, the content
|
||||
of the "hostname" environment variable is passed as
|
||||
option 12 to the DHCP server.
|
||||
|
||||
- CDP Options:
|
||||
CONFIG_CDP_DEVICE_ID
|
||||
|
@ -1219,7 +1197,7 @@ The following options need to be configured:
|
|||
include the appropriate I2C driver for the selected cpu.
|
||||
|
||||
This will allow you to use i2c commands at the u-boot
|
||||
command line (as long as you set CFG_CMD_I2C in
|
||||
command line (as long as you set CONFIG_CMD_I2C in
|
||||
CONFIG_COMMANDS) and communicate with i2c based realtime
|
||||
clock chips. See common/cmd_i2c.c for a description of the
|
||||
command line interface.
|
||||
|
@ -1698,28 +1676,69 @@ The following options need to be configured:
|
|||
-31 post/post.c POST test failed, detected by post_output_backlog()
|
||||
-32 post/post.c POST test failed, detected by post_run_single()
|
||||
|
||||
-1 common/cmd_doc.c Bad usage of "doc" command
|
||||
-1 common/cmd_doc.c No boot device
|
||||
-1 common/cmd_doc.c Unknown Chip ID on boot device
|
||||
-1 common/cmd_doc.c Read Error on boot device
|
||||
-1 common/cmd_doc.c Image header has bad magic number
|
||||
34 common/cmd_doc.c before loading a Image from a DOC device
|
||||
-35 common/cmd_doc.c Bad usage of "doc" command
|
||||
35 common/cmd_doc.c correct usage of "doc" command
|
||||
-36 common/cmd_doc.c No boot device
|
||||
36 common/cmd_doc.c correct boot device
|
||||
-37 common/cmd_doc.c Unknown Chip ID on boot device
|
||||
37 common/cmd_doc.c correct chip ID found, device available
|
||||
-38 common/cmd_doc.c Read Error on boot device
|
||||
38 common/cmd_doc.c reading Image header from DOC device OK
|
||||
-39 common/cmd_doc.c Image header has bad magic number
|
||||
39 common/cmd_doc.c Image header has correct magic number
|
||||
-40 common/cmd_doc.c Error reading Image from DOC device
|
||||
40 common/cmd_doc.c Image header has correct magic number
|
||||
41 common/cmd_ide.c before loading a Image from a IDE device
|
||||
-42 common/cmd_ide.c Bad usage of "ide" command
|
||||
42 common/cmd_ide.c correct usage of "ide" command
|
||||
-43 common/cmd_ide.c No boot device
|
||||
43 common/cmd_ide.c boot device found
|
||||
-44 common/cmd_ide.c Device not available
|
||||
44 common/cmd_ide.c Device available
|
||||
-45 common/cmd_ide.c wrong partition selected
|
||||
45 common/cmd_ide.c partition selected
|
||||
-46 common/cmd_ide.c Unknown partition table
|
||||
46 common/cmd_ide.c valid partition table found
|
||||
-47 common/cmd_ide.c Invalid partition type
|
||||
47 common/cmd_ide.c correct partition type
|
||||
-48 common/cmd_ide.c Error reading Image Header on boot device
|
||||
48 common/cmd_ide.c reading Image Header from IDE device OK
|
||||
-49 common/cmd_ide.c Image header has bad magic number
|
||||
49 common/cmd_ide.c Image header has correct magic number
|
||||
-50 common/cmd_ide.c Image header has bad checksum
|
||||
50 common/cmd_ide.c Image header has correct checksum
|
||||
-51 common/cmd_ide.c Error reading Image from IDE device
|
||||
51 common/cmd_ide.c reading Image from IDE device OK
|
||||
52 common/cmd_nand.c before loading a Image from a NAND device
|
||||
-53 common/cmd_nand.c Bad usage of "nand" command
|
||||
53 common/cmd_nand.c correct usage of "nand" command
|
||||
-54 common/cmd_nand.c No boot device
|
||||
54 common/cmd_nand.c boot device found
|
||||
-55 common/cmd_nand.c Unknown Chip ID on boot device
|
||||
55 common/cmd_nand.c correct chip ID found, device available
|
||||
-56 common/cmd_nand.c Error reading Image Header on boot device
|
||||
56 common/cmd_nand.c reading Image Header from NAND device OK
|
||||
-57 common/cmd_nand.c Image header has bad magic number
|
||||
57 common/cmd_nand.c Image header has correct magic number
|
||||
-58 common/cmd_nand.c Error reading Image from NAND device
|
||||
58 common/cmd_nand.c reading Image from NAND device OK
|
||||
|
||||
-1 common/cmd_ide.c Bad usage of "ide" command
|
||||
-1 common/cmd_ide.c No boot device
|
||||
-1 common/cmd_ide.c Unknown boot device
|
||||
-1 common/cmd_ide.c Unknown partition table
|
||||
-1 common/cmd_ide.c Invalid partition type
|
||||
-1 common/cmd_ide.c Read Error on boot device
|
||||
-1 common/cmd_ide.c Image header has bad magic number
|
||||
-60 common/env_common.c Environment has a bad CRC, using default
|
||||
|
||||
-1 common/cmd_nand.c Bad usage of "nand" command
|
||||
-1 common/cmd_nand.c No boot device
|
||||
-1 common/cmd_nand.c Unknown Chip ID on boot device
|
||||
-1 common/cmd_nand.c Read Error on boot device
|
||||
-1 common/cmd_nand.c Image header has bad magic number
|
||||
|
||||
-1 common/env_common.c Environment has a bad CRC, using default
|
||||
64 net/eth.c starting with Ethernetconfiguration.
|
||||
-64 net/eth.c no Ethernet found.
|
||||
65 net/eth.c Ethernet found.
|
||||
|
||||
-80 common/cmd_net.c usage wrong
|
||||
80 common/cmd_net.c before calling NetLoop()
|
||||
-81 common/cmd_net.c some error in NetLoop() occured
|
||||
81 common/cmd_net.c NetLoop() back without error
|
||||
-82 common/cmd_net.c size == 0 (File with size 0 loaded)
|
||||
82 common/cmd_net.c trying automatic boot
|
||||
83 common/cmd_net.c running autoscript
|
||||
-83 common/cmd_net.c some error in automatic boot or autoscript
|
||||
84 common/cmd_net.c end without errors
|
||||
|
||||
Modem Support:
|
||||
--------------
|
||||
|
@ -2327,7 +2346,7 @@ Low Level (hardware related) configuration options:
|
|||
|
||||
- CONFIG_LOOPW
|
||||
Add the "loopw" memory command. This only takes effect if
|
||||
the memory commands are activated globally (CFG_CMD_MEM).
|
||||
the memory commands are activated globally (CONFIG_CMD_MEM).
|
||||
|
||||
- CONFIG_MX_CYCLIC
|
||||
Add the "mdc" and "mwc" memory commands. These are cyclic
|
||||
|
@ -2341,7 +2360,7 @@ Low Level (hardware related) configuration options:
|
|||
This command will write 12345678 to address 100 all 10 ms.
|
||||
|
||||
This only takes effect if the memory commands are activated
|
||||
globally (CFG_CMD_MEM).
|
||||
globally (CONFIG_CMD_MEM).
|
||||
|
||||
- CONFIG_SKIP_LOWLEVEL_INIT
|
||||
- CONFIG_SKIP_RELOCATE_UBOOT
|
||||
|
@ -2381,34 +2400,7 @@ is done by typing:
|
|||
make NAME_config
|
||||
|
||||
where "NAME_config" is the name of one of the existing
|
||||
configurations; the following names are supported:
|
||||
|
||||
ADCIOP_config FPS860L_config omap730p2_config
|
||||
ADS860_config GEN860T_config pcu_e_config
|
||||
Alaska8220_config
|
||||
AR405_config GENIETV_config PIP405_config
|
||||
at91rm9200dk_config GTH_config QS823_config
|
||||
CANBT_config hermes_config QS850_config
|
||||
cmi_mpc5xx_config hymod_config QS860T_config
|
||||
cogent_common_config IP860_config RPXlite_config
|
||||
cogent_mpc8260_config IVML24_config RPXlite_DW_config
|
||||
cogent_mpc8xx_config IVMS8_config RPXsuper_config
|
||||
CPCI405_config JSE_config rsdproto_config
|
||||
CPCIISER4_config LANTEC_config Sandpoint8240_config
|
||||
csb272_config lwmon_config sbc8260_config
|
||||
CU824_config MBX860T_config sbc8560_33_config
|
||||
DUET_ADS_config MBX_config sbc8560_66_config
|
||||
EBONY_config mpc7448hpc2_config SM850_config
|
||||
ELPT860_config MPC8260ADS_config SPD823TS_config
|
||||
ESTEEM192E_config MPC8540ADS_config stxgp3_config
|
||||
ETX094_config MPC8540EVAL_config SXNI855T_config
|
||||
FADS823_config NMPC8560ADS_config TQM823L_config
|
||||
FADS850SAR_config NETVIA_config TQM850L_config
|
||||
FADS860T_config omap1510inn_config TQM855L_config
|
||||
FPS850L_config omap1610h2_config TQM860L_config
|
||||
omap1610inn_config walnut_config
|
||||
omap5912osk_config Yukon8220_config
|
||||
omap2420h4_config ZPC1900_config
|
||||
configurations; see the main Makefile for supported names.
|
||||
|
||||
Note: for some board special configuration names may exist; check if
|
||||
additional information is available from the board vendor; for
|
||||
|
|
|
@ -25,7 +25,7 @@ include $(TOPDIR)/config.mk
|
|||
|
||||
LIB = $(obj)lib$(BOARD).a
|
||||
|
||||
COBJS = $(BOARD).o cfm_flash.o flash.o VCxK.o
|
||||
COBJS = $(BOARD).o cfm_flash.o flash.o VCxK.o mii.o
|
||||
|
||||
SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
|
||||
OBJS := $(addprefix $(obj),$(COBJS))
|
||||
|
|
304
board/BuS/EB+MCF-EV123/mii.c
Normal file
304
board/BuS/EB+MCF-EV123/mii.c
Normal file
|
@ -0,0 +1,304 @@
|
|||
/*
|
||||
* Copyright (C) 2004-2007 Freescale Semiconductor, Inc.
|
||||
* TsiChung Liew (Tsi-Chung.Liew@freescale.com)
|
||||
*
|
||||
* See file CREDITS for list of people who contributed to this
|
||||
* project.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License as
|
||||
* published by the Free Software Foundation; either version 2 of
|
||||
* the License, or (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
|
||||
* MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <asm/fec.h>
|
||||
#include <asm/immap.h>
|
||||
|
||||
#include <config.h>
|
||||
#include <net.h>
|
||||
|
||||
DECLARE_GLOBAL_DATA_PTR;
|
||||
|
||||
#if defined(CONFIG_CMD_NET) && defined(CONFIG_NET_MULTI)
|
||||
#undef MII_DEBUG
|
||||
#undef ET_DEBUG
|
||||
|
||||
int fecpin_setclear(struct eth_device *dev, int setclear)
|
||||
{
|
||||
if (setclear) {
|
||||
MCFGPIO_PASPAR |= 0x0F00;
|
||||
MCFGPIO_PEHLPAR = CFG_PEHLPAR;
|
||||
} else {
|
||||
MCFGPIO_PASPAR &= 0xF0FF;
|
||||
MCFGPIO_PEHLPAR &= ~CFG_PEHLPAR;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
#if defined(CFG_DISCOVER_PHY) || defined(CONFIG_CMD_MII)
|
||||
#include <miiphy.h>
|
||||
|
||||
/* Make MII read/write commands for the FEC. */
|
||||
#define mk_mii_read(ADDR, REG) (0x60020000 | ((ADDR << 23) | (REG & 0x1f) << 18))
|
||||
|
||||
#define mk_mii_write(ADDR, REG, VAL) (0x50020000 | ((ADDR << 23) | (REG & 0x1f) << 18) | (VAL & 0xffff))
|
||||
|
||||
/* PHY identification */
|
||||
#define PHY_ID_LXT970 0x78100000 /* LXT970 */
|
||||
#define PHY_ID_LXT971 0x001378e0 /* LXT971 and 972 */
|
||||
#define PHY_ID_82555 0x02a80150 /* Intel 82555 */
|
||||
#define PHY_ID_QS6612 0x01814400 /* QS6612 */
|
||||
#define PHY_ID_AMD79C784 0x00225610 /* AMD 79C784 */
|
||||
#define PHY_ID_AMD79C874VC 0x0022561B /* AMD 79C874 */
|
||||
#define PHY_ID_LSI80225 0x0016f870 /* LSI 80225 */
|
||||
#define PHY_ID_LSI80225B 0x0016f880 /* LSI 80225/B */
|
||||
#define PHY_ID_DP83848VV 0x20005C90 /* National 83848 */
|
||||
#define PHY_ID_DP83849 0x20005CA2 /* National 82849 */
|
||||
|
||||
#define STR_ID_LXT970 "LXT970"
|
||||
#define STR_ID_LXT971 "LXT971"
|
||||
#define STR_ID_82555 "Intel82555"
|
||||
#define STR_ID_QS6612 "QS6612"
|
||||
#define STR_ID_AMD79C784 "AMD79C784"
|
||||
#define STR_ID_AMD79C874VC "AMD79C874VC"
|
||||
#define STR_ID_LSI80225 "LSI80225"
|
||||
#define STR_ID_LSI80225B "LSI80225/B"
|
||||
#define STR_ID_DP83848VV "N83848"
|
||||
#define STR_ID_DP83849 "N83849"
|
||||
|
||||
/****************************************************************************
|
||||
* mii_init -- Initialize the MII for MII command without ethernet
|
||||
* This function is a subset of eth_init
|
||||
****************************************************************************
|
||||
*/
|
||||
void mii_reset(struct fec_info_s *info)
|
||||
{
|
||||
volatile fec_t *fecp = (fec_t *) (info->miibase);
|
||||
int i;
|
||||
|
||||
fecp->ecr = FEC_ECR_RESET;
|
||||
for (i = 0; (fecp->ecr & FEC_ECR_RESET) && (i < FEC_RESET_DELAY); ++i) {
|
||||
udelay(1);
|
||||
}
|
||||
if (i == FEC_RESET_DELAY) {
|
||||
printf("FEC_RESET_DELAY timeout\n");
|
||||
}
|
||||
}
|
||||
|
||||
/* send command to phy using mii, wait for result */
|
||||
uint mii_send(uint mii_cmd)
|
||||
{
|
||||
struct fec_info_s *info;
|
||||
struct eth_device *dev;
|
||||
volatile fec_t *ep;
|
||||
uint mii_reply;
|
||||
int j = 0;
|
||||
|
||||
/* retrieve from register structure */
|
||||
dev = eth_get_dev();
|
||||
info = dev->priv;
|
||||
|
||||
ep = (fec_t *) info->miibase;
|
||||
|
||||
ep->mmfr = mii_cmd; /* command to phy */
|
||||
|
||||
/* wait for mii complete */
|
||||
while (!(ep->eir & FEC_EIR_MII) && (j < MCFFEC_TOUT_LOOP)) {
|
||||
udelay(1);
|
||||
j++;
|
||||
}
|
||||
if (j >= MCFFEC_TOUT_LOOP) {
|
||||
printf("MII not complete\n");
|
||||
return -1;
|
||||
}
|
||||
|
||||
mii_reply = ep->mmfr; /* result from phy */
|
||||
ep->eir = FEC_EIR_MII; /* clear MII complete */
|
||||
#ifdef ET_DEBUG
|
||||
printf("%s[%d] %s: sent=0x%8.8x, reply=0x%8.8x\n",
|
||||
__FILE__, __LINE__, __FUNCTION__, mii_cmd, mii_reply);
|
||||
#endif
|
||||
|
||||
return (mii_reply & 0xffff); /* data read from phy */
|
||||
}
|
||||
#endif /* CFG_DISCOVER_PHY || (CONFIG_COMMANDS & CONFIG_CMD_MII) */
|
||||
|
||||
#if defined(CFG_DISCOVER_PHY)
|
||||
int mii_discover_phy(struct eth_device *dev)
|
||||
{
|
||||
#define MAX_PHY_PASSES 11
|
||||
struct fec_info_s *info = dev->priv;
|
||||
int phyaddr, pass;
|
||||
uint phyno, phytype;
|
||||
|
||||
if (info->phyname_init)
|
||||
return info->phy_addr;
|
||||
|
||||
phyaddr = -1; /* didn't find a PHY yet */
|
||||
for (pass = 1; pass <= MAX_PHY_PASSES && phyaddr < 0; ++pass) {
|
||||
if (pass > 1) {
|
||||
/* PHY may need more time to recover from reset.
|
||||
* The LXT970 needs 50ms typical, no maximum is
|
||||
* specified, so wait 10ms before try again.
|
||||
* With 11 passes this gives it 100ms to wake up.
|
||||
*/
|
||||
udelay(10000); /* wait 10ms */
|
||||
}
|
||||
|
||||
for (phyno = 0; phyno < 32 && phyaddr < 0; ++phyno) {
|
||||
|
||||
phytype = mii_send(mk_mii_read(phyno, PHY_PHYIDR1));
|
||||
#ifdef ET_DEBUG
|
||||
printf("PHY type 0x%x pass %d type\n", phytype, pass);
|
||||
#endif
|
||||
if (phytype != 0xffff) {
|
||||
phyaddr = phyno;
|
||||
phytype <<= 16;
|
||||
phytype |=
|
||||
mii_send(mk_mii_read(phyno, PHY_PHYIDR2));
|
||||
|
||||
switch (phytype & 0xffffffff) {
|
||||
case PHY_ID_AMD79C874VC:
|
||||
strcpy(info->phy_name,
|
||||
STR_ID_AMD79C874VC);
|
||||
info->phyname_init = 1;
|
||||
break;
|
||||
default:
|
||||
strcpy(info->phy_name, "unknown");
|
||||
info->phyname_init = 1;
|
||||
break;
|
||||
}
|
||||
|
||||
#ifdef ET_DEBUG
|
||||
printf("PHY @ 0x%x pass %d type ", phyno, pass);
|
||||
switch (phytype & 0xffffffff) {
|
||||
case PHY_ID_AMD79C874VC:
|
||||
printf(STR_ID_AMD79C874VC);
|
||||
break;
|
||||
default:
|
||||
printf("0x%08x\n", phytype);
|
||||
break;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
}
|
||||
if (phyaddr < 0)
|
||||
printf("No PHY device found.\n");
|
||||
|
||||
return phyaddr;
|
||||
}
|
||||
#endif /* CFG_DISCOVER_PHY */
|
||||
|
||||
int mii_init(void) __attribute__((weak,alias("__mii_init")));
|
||||
|
||||
void __mii_init(void)
|
||||
{
|
||||
volatile fec_t *fecp;
|
||||
struct fec_info_s *info;
|
||||
struct eth_device *dev;
|
||||
int miispd = 0, i = 0;
|
||||
u16 autoneg = 0;
|
||||
|
||||
/* retrieve from register structure */
|
||||
dev = eth_get_dev();
|
||||
info = dev->priv;
|
||||
|
||||
fecp = (fec_t *) info->miibase;
|
||||
|
||||
fecpin_setclear(dev, 1);
|
||||
|
||||
mii_reset(info);
|
||||
|
||||
/* We use strictly polling mode only */
|
||||
fecp->eimr = 0;
|
||||
|
||||
/* Clear any pending interrupt */
|
||||
fecp->eir = 0xffffffff;
|
||||
|
||||
/* Set MII speed */
|
||||
miispd = (gd->bus_clk / 1000000) / 5;
|
||||
fecp->mscr = miispd << 1;
|
||||
|
||||
info->phy_addr = mii_discover_phy(dev);
|
||||
|
||||
#define AUTONEGLINK (PHY_BMSR_AUTN_COMP | PHY_BMSR_LS)
|
||||
while (i < MCFFEC_TOUT_LOOP) {
|
||||
autoneg = 0;
|
||||
miiphy_read(dev->name, info->phy_addr, PHY_BMSR, &autoneg);
|
||||
i++;
|
||||
|
||||
if ((autoneg & AUTONEGLINK) == AUTONEGLINK)
|
||||
break;
|
||||
|
||||
udelay(500);
|
||||
}
|
||||
if (i >= MCFFEC_TOUT_LOOP) {
|
||||
printf("Auto Negotiation not complete\n");
|
||||
}
|
||||
|
||||
/* adapt to the half/full speed settings */
|
||||
info->dup_spd = miiphy_duplex(dev->name, info->phy_addr) << 16;
|
||||
info->dup_spd |= miiphy_speed(dev->name, info->phy_addr);
|
||||
}
|
||||
|
||||
/*****************************************************************************
|
||||
* Read and write a MII PHY register, routines used by MII Utilities
|
||||
*
|
||||
* FIXME: These routines are expected to return 0 on success, but mii_send
|
||||
* does _not_ return an error code. Maybe 0xFFFF means error, i.e.
|
||||
* no PHY connected...
|
||||
* For now always return 0.
|
||||
* FIXME: These routines only work after calling eth_init() at least once!
|
||||
* Otherwise they hang in mii_send() !!! Sorry!
|
||||
*****************************************************************************/
|
||||
|
||||
int mcffec_miiphy_read(char *devname, unsigned char addr, unsigned char reg,
|
||||
unsigned short *value)
|
||||
{
|
||||
short rdreg; /* register working value */
|
||||
|
||||
#ifdef MII_DEBUG
|
||||
printf("miiphy_read(0x%x) @ 0x%x = ", reg, addr);
|
||||
#endif
|
||||
rdreg = mii_send(mk_mii_read(addr, reg));
|
||||
|
||||
*value = rdreg;
|
||||
|
||||
#ifdef MII_DEBUG
|
||||
printf("0x%04x\n", *value);
|
||||
#endif
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
int mcffec_miiphy_write(char *devname, unsigned char addr, unsigned char reg,
|
||||
unsigned short value)
|
||||
{
|
||||
short rdreg; /* register working value */
|
||||
|
||||
#ifdef MII_DEBUG
|
||||
printf("miiphy_write(0x%x) @ 0x%x = ", reg, addr);
|
||||
#endif
|
||||
|
||||
rdreg = mii_send(mk_mii_write(addr, reg, value));
|
||||
|
||||
#ifdef MII_DEBUG
|
||||
printf("0x%04x\n", value);
|
||||
#endif
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
#endif /* CONFIG_CMD_NET, FEC_ENET & NET_MULTI */
|
|
@ -30,49 +30,49 @@
|
|||
#include "memio.h"
|
||||
#include "via686.h"
|
||||
|
||||
__asm(" .globl send_kb \n
|
||||
send_kb: \n
|
||||
lis r9, 0xfe00 \n
|
||||
\n
|
||||
li r4, 0x10 # retries \n
|
||||
mtctr r4 \n
|
||||
\n
|
||||
idle: \n
|
||||
lbz r4, 0x64(r9) \n
|
||||
andi. r4, r4, 0x02 \n
|
||||
bne idle \n
|
||||
\n
|
||||
ready: \n
|
||||
stb r3, 0x60(r9) \n
|
||||
\n
|
||||
check: \n
|
||||
lbz r4, 0x64(r9) \n
|
||||
andi. r4, r4, 0x01 \n
|
||||
beq check \n
|
||||
\n
|
||||
lbz r4, 0x60(r9) \n
|
||||
cmpwi r4, 0xfa \n
|
||||
beq done \n
|
||||
\n
|
||||
bdnz idle \n
|
||||
\n
|
||||
li r3, 0 \n
|
||||
blr \n
|
||||
\n
|
||||
done: \n
|
||||
li r3, 1 \n
|
||||
blr \n
|
||||
\n
|
||||
.globl test_kb \n
|
||||
test_kb: \n
|
||||
mflr r10 \n
|
||||
li r3, 0xed \n
|
||||
bl send_kb \n
|
||||
li r3, 0x01 \n
|
||||
bl send_kb \n
|
||||
mtlr r10 \n
|
||||
blr \n
|
||||
");
|
||||
__asm__(" .globl send_kb \n "
|
||||
"send_kb: \n "
|
||||
" lis r9, 0xfe00 \n "
|
||||
" \n "
|
||||
" li r4, 0x10 # retries \n "
|
||||
" mtctr r4 \n "
|
||||
" \n "
|
||||
"idle: \n "
|
||||
" lbz r4, 0x64(r9) \n "
|
||||
" andi. r4, r4, 0x02 \n "
|
||||
" bne idle \n "
|
||||
|
||||
"ready: \n "
|
||||
" stb r3, 0x60(r9) \n "
|
||||
" \n "
|
||||
"check: \n "
|
||||
" lbz r4, 0x64(r9) \n "
|
||||
" andi. r4, r4, 0x01 \n "
|
||||
" beq check \n "
|
||||
" \n "
|
||||
" lbz r4, 0x60(r9) \n "
|
||||
" cmpwi r4, 0xfa \n "
|
||||
" beq done \n "
|
||||
|
||||
" bdnz idle \n "
|
||||
|
||||
" li r3, 0 \n "
|
||||
" blr \n "
|
||||
|
||||
"done: \n "
|
||||
" li r3, 1 \n "
|
||||
" blr \n "
|
||||
|
||||
".globl test_kb \n "
|
||||
"test_kb: \n "
|
||||
" mflr r10 \n "
|
||||
" li r3, 0xed \n "
|
||||
" bl send_kb \n "
|
||||
" li r3, 0x01 \n "
|
||||
" bl send_kb \n "
|
||||
" mtlr r10 \n "
|
||||
" blr "
|
||||
);
|
||||
|
||||
|
||||
int checkboard (void)
|
||||
|
|
|
@ -119,7 +119,7 @@ int do_boota (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
|
|||
|
||||
return 0;
|
||||
}
|
||||
#if defined(CONFIG_AMIGAONEG3SE) && (CONFIG_COMMANDS & CFG_CMD_BSP)
|
||||
#if defined(CONFIG_AMIGAONEG3SE) && defined(CONFIG_CMD_BSP)
|
||||
U_BOOT_CMD(
|
||||
boota, 3, 1, do_boota,
|
||||
"boota - boot an Amiga kernel\n",
|
||||
|
|
|
@ -56,6 +56,7 @@ int video_rows(void);
|
|||
int video_cols(void);
|
||||
|
||||
char *prompt_string = "=>";
|
||||
unsigned char video_get_attr(void);
|
||||
|
||||
void video_set_color(unsigned char attr)
|
||||
{
|
||||
|
|
|
@ -1,335 +0,0 @@
|
|||
/*
|
||||
* Mostly done after the Scitech Bios emulation
|
||||
* Written by Hans-Jörg Frieden
|
||||
* Hyperion Entertainment
|
||||
*/
|
||||
#include "x86emu.h"
|
||||
#include "glue.h"
|
||||
|
||||
#undef DEBUG
|
||||
#ifdef DEBUG
|
||||
#define PRINTF(fmt, args...) printf(fmt, ## args)
|
||||
#else
|
||||
#define PRINTF(fmt, args...)
|
||||
#endif
|
||||
|
||||
#define BIOS_SEG 0xFFF0
|
||||
#define PCIBIOS_SUCCESSFUL 0
|
||||
#define PCIBIOS_DEVICE_NOT_FOUND 0x86
|
||||
|
||||
typedef unsigned char UBYTE;
|
||||
typedef unsigned short UWORD;
|
||||
typedef unsigned long ULONG;
|
||||
|
||||
typedef char BYTE;
|
||||
typedef short WORT;
|
||||
typedef long LONG;
|
||||
|
||||
static inline UBYTE read_byte(volatile UBYTE* from)
|
||||
{
|
||||
int x;
|
||||
asm volatile ("lbz %0,%1\n eieio" : "=r" (x) : "m" (*from));
|
||||
return (UBYTE)x;
|
||||
}
|
||||
|
||||
static inline void write_byte(volatile UBYTE *to, int x)
|
||||
{
|
||||
asm volatile ("stb %1,%0\n eieio" : "=m" (*to) : "r" (x));
|
||||
}
|
||||
|
||||
static inline UWORD read_word_little(volatile UWORD *from)
|
||||
{
|
||||
int x;
|
||||
asm volatile ("lhbrx %0,0,%1\n eieio" : "=r" (x) : "r" (from), "m" (*from));
|
||||
return (UWORD)x;
|
||||
}
|
||||
|
||||
static inline UWORD read_word_big(volatile UWORD *from)
|
||||
{
|
||||
int x;
|
||||
asm volatile ("lhz %0,%1\n eieio" : "=r" (x) : "m" (*from));
|
||||
return (UWORD)x;
|
||||
}
|
||||
|
||||
static inline void write_word_little(volatile UWORD *to, int x)
|
||||
{
|
||||
asm volatile ("sthbrx %1,0,%2\n eieio" : "=m" (*to) : "r" (x), "r" (to));
|
||||
}
|
||||
|
||||
static inline void write_word_big(volatile UWORD *to, int x)
|
||||
{
|
||||
asm volatile ("sth %1,%0\n eieio" : "=m" (*to) : "r" (x));
|
||||
}
|
||||
|
||||
static inline ULONG read_long_little(volatile ULONG *from)
|
||||
{
|
||||
unsigned long x;
|
||||
asm volatile ("lwbrx %0,0,%1\n eieio" : "=r" (x) : "r" (from), "m"(*from));
|
||||
return (ULONG)x;
|
||||
}
|
||||
|
||||
static inline ULONG read_long_big(volatile ULONG *from)
|
||||
{
|
||||
unsigned long x;
|
||||
asm volatile ("lwz %0,%1\n eieio" : "=r" (x) : "m" (*from));
|
||||
return (ULONG)x;
|
||||
}
|
||||
|
||||
static inline void write_long_little(volatile ULONG *to, ULONG x)
|
||||
{
|
||||
asm volatile ("stwbrx %1,0,%2\n eieio" : "=m" (*to) : "r" (x), "r" (to));
|
||||
}
|
||||
|
||||
static inline void write_long_big(volatile ULONG *to, ULONG x)
|
||||
{
|
||||
asm volatile ("stw %1,%0\n eieio" : "=m" (*to) : "r" (x));
|
||||
}
|
||||
|
||||
#define port_to_mem(from) (0xFE000000|(from))
|
||||
#define in_byte(from) read_byte( (UBYTE *)port_to_mem(from))
|
||||
#define in_word(from) read_word_little((UWORD *)port_to_mem(from))
|
||||
#define in_long(from) read_long_little((ULONG *)port_to_mem(from))
|
||||
#define out_byte(to, val) write_byte((UBYTE *)port_to_mem(to), val)
|
||||
#define out_word(to, val) write_word_little((UWORD *)port_to_mem(to), val)
|
||||
#define out_long(to, val) write_long_little((ULONG *)port_to_mem(to), val)
|
||||
|
||||
static void X86API undefined_intr(int intno)
|
||||
{
|
||||
extern u16 A1_rdw(u32 addr);
|
||||
if (A1_rdw(intno * 4 + 2) == BIOS_SEG)
|
||||
{
|
||||
PRINTF("Undefined interrupt %xh called AX = %xh, BX = %xh, CX = %xh, DX = %xh\n",
|
||||
intno, M.x86.R_AX, M.x86.R_BX, M.x86.R_CX, M.x86.R_DX);
|
||||
X86EMU_halt_sys();
|
||||
}
|
||||
else
|
||||
{
|
||||
PRINTF("Calling interrupt %xh, AL=%xh, AH=%xh\n", intno, M.x86.R_AL, M.x86.R_AH);
|
||||
X86EMU_prepareForInt(intno);
|
||||
}
|
||||
}
|
||||
|
||||
static void X86API int42(int intno);
|
||||
static void X86API int15(int intno);
|
||||
|
||||
static void X86API int10(int intno)
|
||||
{
|
||||
if (A1_rdw(intno*4+2) == BIOS_SEG)
|
||||
int42(intno);
|
||||
else
|
||||
{
|
||||
PRINTF("int10: branching to %04X:%04X, AL=%xh, AH=%xh\n", A1_rdw(intno*4+2), A1_rdw(intno*4),
|
||||
M.x86.R_AL, M.x86.R_AH);
|
||||
X86EMU_prepareForInt(intno);
|
||||
}
|
||||
}
|
||||
|
||||
static void X86API int1A(int intno)
|
||||
{
|
||||
int device;
|
||||
|
||||
switch(M.x86.R_AX)
|
||||
{
|
||||
case 0xB101: /* PCI Bios Present? */
|
||||
M.x86.R_AL = 0x00;
|
||||
M.x86.R_EDX = 0x20494350;
|
||||
M.x86.R_BX = 0x0210;
|
||||
M.x86.R_CL = 3;
|
||||
CLEAR_FLAG(F_CF);
|
||||
break;
|
||||
case 0xB102: /* Find device */
|
||||
device = mypci_find_device(M.x86.R_DX, M.x86.R_CX, M.x86.R_SI);
|
||||
if (device != -1)
|
||||
{
|
||||
M.x86.R_AH = PCIBIOS_SUCCESSFUL;
|
||||
M.x86.R_BH = mypci_bus(device);
|
||||
M.x86.R_BL = mypci_devfn(device);
|
||||
}
|
||||
else
|
||||
{
|
||||
M.x86.R_AH = PCIBIOS_DEVICE_NOT_FOUND;
|
||||
}
|
||||
CONDITIONAL_SET_FLAG((M.x86.R_AH != PCIBIOS_SUCCESSFUL), F_CF);
|
||||
break;
|
||||
case 0xB103: /* Find PCI class code */
|
||||
M.x86.R_AH = PCIBIOS_DEVICE_NOT_FOUND;
|
||||
/*printf("Find by class not yet implmented"); */
|
||||
CONDITIONAL_SET_FLAG((M.x86.R_AH != PCIBIOS_SUCCESSFUL), F_CF);
|
||||
break;
|
||||
case 0xB108: /* read config byte */
|
||||
M.x86.R_CL = mypci_read_cfg_byte(M.x86.R_BH, M.x86.R_BL, M.x86.R_DI);
|
||||
M.x86.R_AH = PCIBIOS_SUCCESSFUL;
|
||||
CONDITIONAL_SET_FLAG((M.x86.R_AH != PCIBIOS_SUCCESSFUL), F_CF);
|
||||
/*printf("read_config_byte %x,%x,%x -> %x\n", M.x86.R_BH, M.x86.R_BL, M.x86.R_DI, */
|
||||
/* M.x86.R_CL); */
|
||||
break;
|
||||
case 0xB109: /* read config word */
|
||||
M.x86.R_CX = mypci_read_cfg_word(M.x86.R_BH, M.x86.R_BL, M.x86.R_DI);
|
||||
M.x86.R_AH = PCIBIOS_SUCCESSFUL;
|
||||
CONDITIONAL_SET_FLAG((M.x86.R_AH != PCIBIOS_SUCCESSFUL), F_CF);
|
||||
/*printf("read_config_word %x,%x,%x -> %x\n", M.x86.R_BH, M.x86.R_BL, M.x86.R_DI, */
|
||||
/* M.x86.R_CX); */
|
||||
break;
|
||||
case 0xB10A: /* read config dword */
|
||||
M.x86.R_ECX = mypci_read_cfg_long(M.x86.R_BH, M.x86.R_BL, M.x86.R_DI);
|
||||
M.x86.R_AH = PCIBIOS_SUCCESSFUL;
|
||||
CONDITIONAL_SET_FLAG((M.x86.R_AH != PCIBIOS_SUCCESSFUL), F_CF);
|
||||
/*printf("read_config_long %x,%x,%x -> %x\n", M.x86.R_BH, M.x86.R_BL, M.x86.R_DI, */
|
||||
/* M.x86.R_ECX); */
|
||||
break;
|
||||
case 0xB10B: /* write config byte */
|
||||
mypci_write_cfg_byte(M.x86.R_BH, M.x86.R_BL, M.x86.R_DI, M.x86.R_CL);
|
||||
M.x86.R_AH = PCIBIOS_SUCCESSFUL;
|
||||
CONDITIONAL_SET_FLAG((M.x86.R_AH != PCIBIOS_SUCCESSFUL), F_CF);
|
||||
/*printf("write_config_byte %x,%x,%x <- %x\n", M.x86.R_BH, M.x86.R_BL, M.x86.R_DI, */
|
||||
/* M.x86.R_CL); */
|
||||
break;
|
||||
case 0xB10C: /* write config word */
|
||||
mypci_write_cfg_word(M.x86.R_BH, M.x86.R_BL, M.x86.R_DI, M.x86.R_CX);
|
||||
M.x86.R_AH = PCIBIOS_SUCCESSFUL;
|
||||
CONDITIONAL_SET_FLAG((M.x86.R_AH != PCIBIOS_SUCCESSFUL), F_CF);
|
||||
/*printf("write_config_word %x,%x,%x <- %x\n", M.x86.R_BH, M.x86.R_BL, M.x86.R_DI, */
|
||||
/* M.x86.R_CX); */
|
||||
break;
|
||||
case 0xB10D: /* write config dword */
|
||||
mypci_write_cfg_long(M.x86.R_BH, M.x86.R_BL, M.x86.R_DI, M.x86.R_ECX);
|
||||
M.x86.R_AH = PCIBIOS_SUCCESSFUL;
|
||||
CONDITIONAL_SET_FLAG((M.x86.R_AH != PCIBIOS_SUCCESSFUL), F_CF);
|
||||
/*printf("write_config_long %x,%x,%x <- %x\n", M.x86.R_BH, M.x86.R_BL, M.x86.R_DI, */
|
||||
/* M.x86.R_ECX); */
|
||||
break;
|
||||
default:
|
||||
PRINTF("BIOS int %xh: Unknown function AX=%04xh\n", intno, M.x86.R_AX);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
void bios_init(void)
|
||||
{
|
||||
int i;
|
||||
X86EMU_intrFuncs bios_intr_tab[256];
|
||||
|
||||
for (i=0; i<256; i++)
|
||||
{
|
||||
write_long_little(M.mem_base+i*4, BIOS_SEG<<16);
|
||||
bios_intr_tab[i] = undefined_intr;
|
||||
}
|
||||
|
||||
bios_intr_tab[0x10] = int10;
|
||||
bios_intr_tab[0x1A] = int1A;
|
||||
bios_intr_tab[0x42] = int42;
|
||||
bios_intr_tab[0x15] = int15;
|
||||
|
||||
bios_intr_tab[0x6D] = int42;
|
||||
|
||||
X86EMU_setupIntrFuncs(bios_intr_tab);
|
||||
video_init();
|
||||
}
|
||||
|
||||
unsigned char setup_40x25[] =
|
||||
{
|
||||
0x38, 0x28, 0x2d, 0x0a, 0x1f, 6, 0x19,
|
||||
0x1c, 2, 7, 6, 7, 0, 0, 0, 0
|
||||
};
|
||||
|
||||
unsigned char setup_80x25[] =
|
||||
{
|
||||
0x71, 0x50, 0x5a, 0x0a, 0x1f, 6, 0x19,
|
||||
0x1c, 2, 7, 6, 7, 0, 0, 0, 0
|
||||
};
|
||||
|
||||
unsigned char setup_graphics[] =
|
||||
{
|
||||
0x38, 0x28, 0x20, 0x0a, 0x7f, 6, 0x64,
|
||||
0x70, 2, 1, 6, 7, 0, 0, 0, 0
|
||||
};
|
||||
|
||||
unsigned char setup_bw[] =
|
||||
{
|
||||
0x61, 0x50, 0x52, 0x0f, 0x19, 6, 0x19,
|
||||
0x19, 2, 0x0d, 0x0b, 0x0c, 0, 0, 0, 0
|
||||
};
|
||||
|
||||
unsigned char * setup_modes[] =
|
||||
{
|
||||
setup_40x25, /* mode 0: 40x25 bw text */
|
||||
setup_40x25, /* mode 1: 40x25 col text */
|
||||
setup_80x25, /* mode 2: 80x25 bw text */
|
||||
setup_80x25, /* mode 3: 80x25 col text */
|
||||
setup_graphics, /* mode 4: 320x200 col graphics */
|
||||
setup_graphics, /* mode 5: 320x200 bw graphics */
|
||||
setup_graphics, /* mode 6: 640x200 bw graphics */
|
||||
setup_bw /* mode 7: 80x25 mono text */
|
||||
};
|
||||
|
||||
unsigned int setup_cols[] =
|
||||
{
|
||||
40, 40, 80, 80, 40, 40, 80, 80
|
||||
};
|
||||
|
||||
unsigned char setup_modesets[] =
|
||||
{
|
||||
0x2C, 0x28, 0x2D, 0x29, 0x2A, 0x2E, 0x1E, 0x29
|
||||
};
|
||||
|
||||
unsigned int setup_bufsize[] =
|
||||
{
|
||||
2048, 2048, 4096, 2096, 16384, 16384, 16384, 4096
|
||||
};
|
||||
|
||||
void bios_set_mode(int mode)
|
||||
{
|
||||
int i;
|
||||
unsigned char mode_set = setup_modesets[mode]; /* Control register value */
|
||||
unsigned char *setup_regs = setup_modes[mode]; /* Register 3D4 Array */
|
||||
|
||||
/* Switch video off */
|
||||
out_byte(0x3D8, mode_set & 0x37);
|
||||
|
||||
/* Set up parameters at 3D4h */
|
||||
for (i=0; i<16; i++)
|
||||
{
|
||||
out_byte(0x3D4, (unsigned char)i);
|
||||
out_byte(0x3D5, *setup_regs);
|
||||
setup_regs++;
|
||||
}
|
||||
|
||||
/* Enable video */
|
||||
out_byte(0x3D8, mode_set);
|
||||
|
||||
/* Set overscan */
|
||||
if (mode == 6) out_byte(0x3D9, 0x3F);
|
||||
else out_byte(0x3D9, 0x30);
|
||||
}
|
||||
|
||||
static void bios_print_string(void)
|
||||
{
|
||||
extern void video_bios_print_string(char *string, int x, int y, int attr, int count);
|
||||
char *s = (char *)(M.x86.R_ES<<4) + M.x86.R_BP;
|
||||
int attr;
|
||||
if (M.x86.R_AL & 0x02) attr = - 1;
|
||||
else attr = M.x86.R_BL;
|
||||
video_bios_print_string(s, M.x86.R_DH, M.x86.R_DL, attr, M.x86.R_CX);
|
||||
}
|
||||
|
||||
static void X86API int42(int intno)
|
||||
{
|
||||
switch (M.x86.R_AH)
|
||||
{
|
||||
case 0x00:
|
||||
bios_set_mode(M.x86.R_AL);
|
||||
break;
|
||||
case 0x13:
|
||||
bios_print_string();
|
||||
break;
|
||||
default:
|
||||
PRINTF("Warning: VIDEO BIOS interrupt %xh unimplemented function %xh, AL = %xh\n",
|
||||
intno, M.x86.R_AH, M.x86.R_AL);
|
||||
}
|
||||
}
|
||||
|
||||
static void X86API int15(int intno)
|
||||
{
|
||||
PRINTF("Called interrupt 15h: AX = %xh, BX = %xh, CX = %xh, DX = %xh\n",
|
||||
M.x86.R_AX, M.x86.R_BX, M.x86.R_CX, M.x86.R_DX);
|
||||
}
|
|
@ -1,515 +0,0 @@
|
|||
#include <common.h>
|
||||
#include <pci.h>
|
||||
#include <74xx_7xx.h>
|
||||
|
||||
|
||||
#ifdef DEBUG
|
||||
#undef DEBUG
|
||||
#endif
|
||||
|
||||
#ifdef DEBUG
|
||||
#define PRINTF(format, args...) _printf(format , ## args)
|
||||
#else
|
||||
#define PRINTF(format, argc...)
|
||||
#endif
|
||||
|
||||
static pci_dev_t to_pci(int bus, int devfn)
|
||||
{
|
||||
return PCI_BDF(bus, (devfn>>3), devfn&3);
|
||||
}
|
||||
|
||||
int mypci_find_device(int vendor, int product, int index)
|
||||
{
|
||||
return pci_find_device(vendor, product, index);
|
||||
}
|
||||
|
||||
int mypci_bus(int device)
|
||||
{
|
||||
return PCI_BUS(device);
|
||||
}
|
||||
|
||||
int mypci_devfn(int device)
|
||||
{
|
||||
return (PCI_DEV(device)<<3) | PCI_FUNC(device);
|
||||
}
|
||||
|
||||
|
||||
#define mypci_read_func(type, size) \
|
||||
type mypci_read_cfg_##size##(int bus, int devfn, int offset) \
|
||||
{ \
|
||||
type c; \
|
||||
pci_read_config_##size##(to_pci(bus, devfn), offset, &c); \
|
||||
return c; \
|
||||
}
|
||||
|
||||
#define mypci_write_func(type, size) \
|
||||
void mypci_write_cfg_##size##(int bus, int devfn, int offset, int value) \
|
||||
{ \
|
||||
pci_write_config_##size##(to_pci(bus, devfn), offset, value); \
|
||||
}
|
||||
|
||||
mypci_read_func(u8,byte);
|
||||
mypci_read_func(u16,word);
|
||||
|
||||
mypci_write_func(u8,byte);
|
||||
mypci_write_func(u16,word);
|
||||
|
||||
u32 mypci_read_cfg_long(int bus, int devfn, int offset)
|
||||
{
|
||||
u32 c;
|
||||
pci_read_config_dword(to_pci(bus, devfn), offset, &c);
|
||||
return c;
|
||||
}
|
||||
|
||||
void mypci_write_cfg_long(int bus, int devfn, int offset, int value)
|
||||
{
|
||||
pci_write_config_dword(to_pci(bus, devfn), offset, value);
|
||||
}
|
||||
|
||||
void _printf(const char *fmt, ...)
|
||||
{
|
||||
va_list args;
|
||||
char buf[CFG_PBSIZE];
|
||||
|
||||
va_start(args, fmt);
|
||||
(void)vsprintf(buf, fmt, args);
|
||||
va_end(args);
|
||||
|
||||
printf(buf);
|
||||
}
|
||||
|
||||
char *_getenv(char *name)
|
||||
{
|
||||
return getenv(name);
|
||||
}
|
||||
|
||||
unsigned long get_bar_size(pci_dev_t dev, int offset)
|
||||
{
|
||||
u32 bar_back, bar_value;
|
||||
|
||||
/* Save old BAR value */
|
||||
pci_read_config_dword(dev, offset, &bar_back);
|
||||
|
||||
/* Write all 1's. */
|
||||
pci_write_config_dword(dev, offset, ~0);
|
||||
|
||||
/* Now read back the relevant bits */
|
||||
pci_read_config_dword(dev, offset, &bar_value);
|
||||
|
||||
/* Restore original value */
|
||||
pci_write_config_dword(dev, offset, bar_back);
|
||||
|
||||
if (bar_value == 0) return 0xFFFFFFFF; /* This BAR is disabled */
|
||||
|
||||
if ((bar_value & PCI_BASE_ADDRESS_SPACE) == PCI_BASE_ADDRESS_SPACE_MEMORY)
|
||||
{
|
||||
/* This is a memory space BAR. Mask it out so we get the size of it */
|
||||
return ~(bar_value & PCI_BASE_ADDRESS_MEM_MASK) + 1;
|
||||
}
|
||||
|
||||
/* Not suitable */
|
||||
return 0xFFFFFFFF;
|
||||
}
|
||||
|
||||
void enable_compatibility_hole(void)
|
||||
{
|
||||
u8 cfg;
|
||||
pci_dev_t art = PCI_BDF(0,0,0);
|
||||
|
||||
pci_read_config_byte(art, 0x54, &cfg);
|
||||
/* cfg |= 0x08; */
|
||||
cfg |= 0x20;
|
||||
pci_write_config_byte(art, 0x54, cfg);
|
||||
}
|
||||
|
||||
void disable_compatibility_hole(void)
|
||||
{
|
||||
u8 cfg;
|
||||
pci_dev_t art = PCI_BDF(0,0,0);
|
||||
|
||||
pci_read_config_byte(art, 0x54, &cfg);
|
||||
/* cfg &= ~0x08; */
|
||||
cfg &= ~0x20;
|
||||
pci_write_config_byte(art, 0x54, cfg);
|
||||
}
|
||||
|
||||
void map_rom(pci_dev_t dev, u32 address)
|
||||
{
|
||||
pci_write_config_dword(dev, PCI_ROM_ADDRESS, address|PCI_ROM_ADDRESS_ENABLE);
|
||||
}
|
||||
|
||||
void unmap_rom(pci_dev_t dev)
|
||||
{
|
||||
pci_write_config_dword(dev, PCI_ROM_ADDRESS, 0);
|
||||
}
|
||||
|
||||
void bat_map(u8 batnum, u32 address, u32 length)
|
||||
{
|
||||
u32 temp = address;
|
||||
address &= 0xFFFE0000;
|
||||
temp &= 0x0001FFFF;
|
||||
length = (length - 1 ) >> 17;
|
||||
length <<= 2;
|
||||
|
||||
switch (batnum)
|
||||
{
|
||||
case 0:
|
||||
__asm volatile ("mtdbatu 0, %0" : : "r" (address | length | 3));
|
||||
__asm volatile ("mtdbatl 0, %0" : : "r" (address | 0x22));
|
||||
break;
|
||||
case 1:
|
||||
__asm volatile ("mtdbatu 1, %0" : : "r" (address | length | 3));
|
||||
__asm volatile ("mtdbatl 1, %0" : : "r" (address | 0x22));
|
||||
break;
|
||||
case 2:
|
||||
__asm volatile ("mtdbatu 2, %0" : : "r" (address | length | 3));
|
||||
__asm volatile ("mtdbatl 2, %0" : : "r" (address | 0x22));
|
||||
break;
|
||||
case 3:
|
||||
__asm volatile ("mtdbatu 3, %0" : : "r" (address | length | 3));
|
||||
__asm volatile ("mtdbatl 3, %0" : : "r" (address | 0x22));
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
int find_image(u32 rom_address, u32 rom_size, void **image, u32 *image_size);
|
||||
|
||||
int attempt_map_rom(pci_dev_t dev, void *copy_address)
|
||||
{
|
||||
u32 rom_size = 0;
|
||||
u32 rom_address = 0;
|
||||
u32 bar_size = 0;
|
||||
u32 bar_backup = 0;
|
||||
int i,j;
|
||||
void *image = 0;
|
||||
u32 image_size = 0;
|
||||
int did_correct = 0;
|
||||
u32 prefetch_addr = 0;
|
||||
u32 prefetch_size = 0;
|
||||
u32 prefetch_idx = 0;
|
||||
|
||||
/* Get the size of the expansion rom */
|
||||
pci_write_config_dword(dev, PCI_ROM_ADDRESS, 0xFFFFFFFF);
|
||||
pci_read_config_dword(dev, PCI_ROM_ADDRESS, &rom_size);
|
||||
if ((rom_size & 0x01) == 0)
|
||||
{
|
||||
PRINTF("No ROM\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
rom_size &= 0xFFFFF800;
|
||||
rom_size = (~rom_size)+1;
|
||||
|
||||
PRINTF("ROM Size is %dK\n", rom_size/1024);
|
||||
|
||||
/*
|
||||
* Try to find a place for the ROM. We always attempt to use
|
||||
* one of the card's bases for this, as this will be in any
|
||||
* bridge's resource range as well as being free of conflicts
|
||||
* with other cards. In a graphics card it is very unlikely
|
||||
* that there won't be any base address that is large enough to
|
||||
* hold the rom.
|
||||
*
|
||||
* FIXME: To work around this, theoretically the largest base
|
||||
* could be used if none is found in the loop below.
|
||||
*/
|
||||
|
||||
for (i = PCI_BASE_ADDRESS_0; i <= PCI_BASE_ADDRESS_5; i += 4)
|
||||
{
|
||||
bar_size = get_bar_size(dev, i);
|
||||
PRINTF("PCI_BASE_ADDRESS_%d is %dK large\n",
|
||||
(i - PCI_BASE_ADDRESS_0)/4,
|
||||
bar_size/1024);
|
||||
if (bar_size != 0xFFFFFFFF && bar_size >= rom_size)
|
||||
{
|
||||
PRINTF("Found a match for rom size\n");
|
||||
pci_read_config_dword(dev, i, &rom_address);
|
||||
rom_address &= 0xFFFFFFF0;
|
||||
if (rom_address != 0 && rom_address != 0xFFFFFFF0) break;
|
||||
}
|
||||
}
|
||||
|
||||
if (rom_address == 0 || rom_address == 0xFFFFFFF0)
|
||||
{
|
||||
PRINTF("No suitable rom address found\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* Disable the BAR */
|
||||
pci_read_config_dword(dev, i, &bar_backup);
|
||||
pci_write_config_dword(dev, i, 0);
|
||||
|
||||
/* Map ROM */
|
||||
pci_write_config_dword(dev, PCI_ROM_ADDRESS, rom_address | PCI_ROM_ADDRESS_ENABLE);
|
||||
|
||||
/* Copy the rom to a place in the emulator space */
|
||||
PRINTF("Claiming BAT 2\n");
|
||||
bat_map(2, rom_address, rom_size);
|
||||
/* show_bat_mapping(); */
|
||||
|
||||
if (0 == find_image(rom_address, rom_size, &image, &image_size))
|
||||
{
|
||||
PRINTF("No x86 BIOS image found\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
PRINTF("Copying %ld bytes from 0x%lx to 0x%lx\n", (long)image_size, (long)image, (long)copy_address);
|
||||
|
||||
/* memcpy(copy_address, rom_address, rom_size); */
|
||||
{
|
||||
unsigned char *from = (unsigned char *)image; /* rom_address; */
|
||||
unsigned char *to = (unsigned char *)copy_address;
|
||||
for (j=0; j<image_size /*rom_size*/; j++)
|
||||
{
|
||||
*to++ = *from++;
|
||||
}
|
||||
}
|
||||
|
||||
PRINTF("Copy is done\n");
|
||||
|
||||
/* Unmap the ROM and restore the BAR */
|
||||
pci_write_config_dword(dev, PCI_ROM_ADDRESS, 0);
|
||||
pci_write_config_dword(dev, i, bar_backup);
|
||||
|
||||
/* FIXME: Shouldn't be needed anymore*/
|
||||
/* bat_map(2, 0x80000000, 256*1024*1024);
|
||||
show_bat_mapping(); */
|
||||
|
||||
/*
|
||||
* Since most cards can probably only do 16 bit IO addressing, we
|
||||
* correct their IO base into an appropriate value.
|
||||
* This should do for most.
|
||||
*/
|
||||
for (i = PCI_BASE_ADDRESS_0; i <= PCI_BASE_ADDRESS_5; i += 4)
|
||||
{
|
||||
unsigned long value;
|
||||
pci_read_config_dword(dev, i, &value);
|
||||
if (value & 0x01) /* IO */
|
||||
{
|
||||
did_correct = 1;
|
||||
pci_write_config_dword(dev, i, 0x1001);
|
||||
break;
|
||||
}
|
||||
|
||||
if (value & PCI_BASE_ADDRESS_MEM_PREFETCH)
|
||||
{
|
||||
prefetch_idx = i;
|
||||
prefetch_addr = value & PCI_BASE_ADDRESS_MEM_MASK;
|
||||
prefetch_size = get_bar_size(dev, i);
|
||||
}
|
||||
}
|
||||
|
||||
if (1) /* did_correct) */
|
||||
{
|
||||
extern pci_dev_t pci_find_bridge_for_bus(struct pci_controller *hose, int busnr);
|
||||
int busnr = PCI_BUS(dev);
|
||||
if (busnr)
|
||||
{
|
||||
pci_dev_t bridge;
|
||||
PRINTF("Need to correct bridge device for IO range change\n");
|
||||
bridge = pci_find_bridge_for_bus(NULL, busnr);
|
||||
if (bridge == PCI_ANY_ID)
|
||||
{
|
||||
PRINTF("Didn't find bridge. Hope that's OK\n");
|
||||
}
|
||||
else
|
||||
{
|
||||
/*
|
||||
* Set upper I/O base/limit to 0
|
||||
*/
|
||||
pci_write_config_byte(bridge, 0x30, 0x00);
|
||||
pci_write_config_byte(bridge, 0x31, 0x00);
|
||||
pci_write_config_byte(bridge, 0x32, 0x00);
|
||||
pci_write_config_byte(bridge, 0x33, 0x00);
|
||||
if (did_correct)
|
||||
{
|
||||
/*
|
||||
* set lower I/O base to 1000
|
||||
* That is, bits 0:3 are set to 0001 by default.
|
||||
* bits 7:4 contain I/O address bits 15:12
|
||||
* all others are assumed 0.
|
||||
*/
|
||||
pci_write_config_byte(bridge, 0x1C, 0x11);
|
||||
/*
|
||||
* Set lower I/O limit to 1FFF
|
||||
* That is, bits 0:3 are reserved and always 0000
|
||||
* Bits 7:4 contain I/O address bits 15:12
|
||||
* All others are assumed F.
|
||||
*/
|
||||
pci_write_config_byte(bridge, 0x1D, 0x10);
|
||||
pci_write_config_byte(bridge, 0x0D, 0x20);
|
||||
PRINTF("Corrected bridge resource range of bridge at %02x:%02x:%02x\n",
|
||||
PCI_BUS(bridge), PCI_DEV(bridge), PCI_FUNC(bridge));
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
/*
|
||||
* This card doesn't have I/O, we disable I/O forwarding
|
||||
*/
|
||||
pci_write_config_byte(bridge, 0x1C, 0x11);
|
||||
pci_write_config_byte(bridge, 0x1D, 0x00);
|
||||
pci_write_config_byte(bridge, PCI_INTERRUPT_LINE, 0);
|
||||
pci_write_config_byte(bridge, PCI_INTERRUPT_PIN, 0);
|
||||
pci_write_config_dword(bridge, PCI_COMMAND, PCI_COMMAND_MEMORY | PCI_COMMAND_MASTER | PCI_COMMAND_IO);
|
||||
PRINTF("Disabled bridge resource range of bridge at %02x:%02x:%02x\n",
|
||||
PCI_BUS(bridge), PCI_DEV(bridge), PCI_FUNC(bridge));
|
||||
|
||||
}
|
||||
}
|
||||
/*
|
||||
* Correct the prefetchable memory base, which is not set correctly by
|
||||
* the U-Boot autoconfig stuff
|
||||
*/
|
||||
if (prefetch_idx)
|
||||
{
|
||||
/* PRINTF("Setting prefetchable range to %x, %x (%x and %x)\n", */
|
||||
/* prefetch_addr, prefetch_addr+prefetch_size, */
|
||||
/* prefetch_addr>>16, (prefetch_addr+prefetch_size)>>16); */
|
||||
/* pci_write_config_word(bridge, PCI_PREF_MEMORY_BASE, (prefetch_addr>>16)); */
|
||||
/* pci_write_config_word(bridge, PCI_PREF_MEMORY_LIMIT, (prefetch_addr+prefetch_size)>>16); */
|
||||
}
|
||||
|
||||
pci_write_config_word(bridge, PCI_PREF_MEMORY_BASE, 0x1000);
|
||||
pci_write_config_word(bridge, PCI_PREF_MEMORY_LIMIT, 0x0000);
|
||||
|
||||
pci_write_config_byte(bridge, 0xD0, 0x0A);
|
||||
pci_write_config_byte(bridge, 0xD3, 0x04);
|
||||
|
||||
/*
|
||||
* Set the interrupt pin to 0
|
||||
*/
|
||||
#if 0
|
||||
pci_write_config_byte(dev, PCI_INTERRUPT_LINE, 0);
|
||||
pci_write_config_byte(dev, PCI_INTERRUPT_PIN, 0);
|
||||
#endif
|
||||
pci_write_config_byte(bridge, PCI_INTERRUPT_LINE, 0);
|
||||
pci_write_config_byte(bridge, PCI_INTERRUPT_PIN, 0);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
/* Finally, enable the card's IO and memory response */
|
||||
pci_write_config_dword(dev, PCI_COMMAND, PCI_COMMAND_MEMORY | PCI_COMMAND_IO);
|
||||
pci_write_config_byte(dev, PCI_CACHE_LINE_SIZE, 0);
|
||||
pci_write_config_byte(dev, PCI_LATENCY_TIMER, 0);
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
int find_image(u32 rom_address, u32 rom_size, void **image, u32 *image_size)
|
||||
{
|
||||
int i = 0;
|
||||
unsigned char *rom = (unsigned char *)rom_address;
|
||||
/* if (*rom != 0x55 || *(rom+1) != 0xAA) return 0; /* No bios rom this is, yes. */ */
|
||||
|
||||
for (;;)
|
||||
{
|
||||
unsigned short pci_data_offset = *(rom+0x18) + 256 * *(rom+0x19);
|
||||
unsigned short pci_image_length = (*(rom+pci_data_offset+0x10) + 256 * *(rom+pci_data_offset+0x11)) * 512;
|
||||
unsigned char pci_image_type = *(rom+pci_data_offset+0x14);
|
||||
if (*rom != 0x55 || *(rom+1) != 0xAA)
|
||||
{
|
||||
PRINTF("Invalid header this is\n");
|
||||
return 0;
|
||||
}
|
||||
PRINTF("Image %i: Type %d (%s)\n", i++, pci_image_type,
|
||||
pci_image_type==0 ? "x86" :
|
||||
pci_image_type==1 ? "OpenFirmware" :
|
||||
"Unknown");
|
||||
if (pci_image_type == 0)
|
||||
{
|
||||
*image = rom;
|
||||
*image_size = pci_image_length;
|
||||
return 1;
|
||||
}
|
||||
|
||||
if (*(rom+pci_data_offset+0x15) & 0x80)
|
||||
{
|
||||
PRINTF("LAST image encountered, no image found\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
rom += pci_image_length;
|
||||
}
|
||||
}
|
||||
|
||||
void show_bat_mapping(void)
|
||||
{
|
||||
u32 dbat0u, dbat0l, ibat0u, ibat0l;
|
||||
u32 dbat1u, dbat1l, ibat1u, ibat1l;
|
||||
u32 dbat2u, dbat2l, ibat2u, ibat2l;
|
||||
u32 dbat3u, dbat3l, ibat3u, ibat3l;
|
||||
u32 msr, hid0, l2cr_reg;
|
||||
|
||||
__asm volatile ("mfdbatu %0,0" : "=r" (dbat0u));
|
||||
__asm volatile ("mfdbatl %0,0" : "=r" (dbat0l));
|
||||
__asm volatile ("mfibatu %0,0" : "=r" (ibat0u));
|
||||
__asm volatile ("mfibatl %0,0" : "=r" (ibat0l));
|
||||
|
||||
__asm volatile ("mfdbatu %0,1" : "=r" (dbat1u));
|
||||
__asm volatile ("mfdbatl %0,1" : "=r" (dbat1l));
|
||||
__asm volatile ("mfibatu %0,1" : "=r" (ibat1u));
|
||||
__asm volatile ("mfibatl %0,1" : "=r" (ibat1l));
|
||||
|
||||
__asm volatile ("mfdbatu %0,2" : "=r" (dbat2u));
|
||||
__asm volatile ("mfdbatl %0,2" : "=r" (dbat2l));
|
||||
__asm volatile ("mfibatu %0,2" : "=r" (ibat2u));
|
||||
__asm volatile ("mfibatl %0,2" : "=r" (ibat2l));
|
||||
|
||||
__asm volatile ("mfdbatu %0,3" : "=r" (dbat3u));
|
||||
__asm volatile ("mfdbatl %0,3" : "=r" (dbat3l));
|
||||
__asm volatile ("mfibatu %0,3" : "=r" (ibat3u));
|
||||
__asm volatile ("mfibatl %0,3" : "=r" (ibat3l));
|
||||
|
||||
__asm volatile ("mfmsr %0" : "=r" (msr));
|
||||
__asm volatile ("mfspr %0,1008": "=r" (hid0));
|
||||
__asm volatile ("mfspr %0,1017": "=r" (l2cr_reg));
|
||||
|
||||
printf("dbat0u: %08x dbat0l: %08x ibat0u: %08x ibat0l: %08x\n",
|
||||
dbat0u, dbat0l, ibat0u, ibat0l);
|
||||
printf("dbat1u: %08x dbat1l: %08x ibat1u: %08x ibat1l: %08x\n",
|
||||
dbat1u, dbat1l, ibat1u, ibat1l);
|
||||
printf("dbat2u: %08x dbat2l: %08x ibat2u: %08x ibat2l: %08x\n",
|
||||
dbat2u, dbat2l, ibat2u, ibat2l);
|
||||
printf("dbat3u: %08x dbat3l: %08x ibat3u: %08x ibat3l: %08x\n",
|
||||
dbat3u, dbat3l, ibat3u, ibat3l);
|
||||
|
||||
printf("\nMSR: %08x HID0: %08x L2CR: %08x \n", msr,hid0, l2cr_reg);
|
||||
}
|
||||
|
||||
|
||||
void remove_init_data(void)
|
||||
{
|
||||
char *s;
|
||||
|
||||
/* Invalidate and disable data cache */
|
||||
invalidate_l1_data_cache();
|
||||
dcache_disable();
|
||||
|
||||
s = getenv("x86_cache");
|
||||
|
||||
if (!s)
|
||||
{
|
||||
icache_enable();
|
||||
dcache_enable();
|
||||
}
|
||||
else if (s)
|
||||
{
|
||||
if (strcmp(s, "dcache")==0)
|
||||
{
|
||||
dcache_enable();
|
||||
}
|
||||
else if (strcmp(s, "icache") == 0)
|
||||
{
|
||||
icache_enable();
|
||||
}
|
||||
else if (strcmp(s, "on")== 0 || strcmp(s, "both") == 0)
|
||||
{
|
||||
dcache_enable();
|
||||
icache_enable();
|
||||
}
|
||||
}
|
||||
|
||||
/* show_bat_mapping();*/
|
||||
}
|
|
@ -1,57 +0,0 @@
|
|||
#ifndef GLUE_H
|
||||
#define GLUE_H
|
||||
|
||||
typedef unsigned int pci_dev_t;
|
||||
|
||||
int mypci_find_device(int vendor, int product, int index);
|
||||
int mypci_bus(int device);
|
||||
int mypci_devfn(int device);
|
||||
unsigned long get_bar_size(pci_dev_t dev, int offset);
|
||||
|
||||
u8 mypci_read_cfg_byte(int bus, int devfn, int offset);
|
||||
u16 mypci_read_cfg_word(int bus, int devfn, int offset);
|
||||
u32 mypci_read_cfg_long(int bus, int devfn, int offset);
|
||||
|
||||
void mypci_write_cfg_byte(int bus, int devfn, int offset, u8 value);
|
||||
void mypci_write_cfg_word(int bus, int devfn, int offset, u16 value);
|
||||
void mypci_write_cfg_long(int bus, int devfn, int offset, u32 value);
|
||||
|
||||
void _printf(const char *fmt, ...);
|
||||
char *_getenv(char *name);
|
||||
|
||||
void *malloc(size_t size);
|
||||
void memset(void *addr, int value, size_t size);
|
||||
void memcpy(void *to, void *from, size_t numbytes);
|
||||
int strcmp(char *, char *);
|
||||
|
||||
void enable_compatibility_hole(void);
|
||||
void disable_compatibility_hole(void);
|
||||
|
||||
void map_rom(pci_dev_t dev, unsigned long address);
|
||||
void unmap_rom(pci_dev_t dev);
|
||||
int attempt_map_rom(pci_dev_t dev, void *copy_address);
|
||||
|
||||
#define PCI_BASE_ADDRESS_SPACE 0x01 /* 0 = memory, 1 = I/O */
|
||||
#define PCI_BASE_ADDRESS_SPACE_IO 0x01
|
||||
#define PCI_BASE_ADDRESS_SPACE_MEMORY 0x00
|
||||
#define PCI_BASE_ADDRESS_MEM_MASK (~0x0fUL)
|
||||
|
||||
#define PCI_BASE_ADDRESS_0 0x10 /* 32 bits */
|
||||
#define PCI_BASE_ADDRESS_1 0x14 /* 32 bits [htype 0,1 only] */
|
||||
#define PCI_BASE_ADDRESS_2 0x18 /* 32 bits [htype 0 only] */
|
||||
#define PCI_BASE_ADDRESS_3 0x1c /* 32 bits */
|
||||
#define PCI_BASE_ADDRESS_4 0x20 /* 32 bits */
|
||||
#define PCI_BASE_ADDRESS_5 0x24 /* 32 bits */
|
||||
#define PCI_BUS(d) (((d) >> 16) & 0xff)
|
||||
#define PCI_DEV(d) (((d) >> 11) & 0x1f)
|
||||
#define PCI_FUNC(d) (((d) >> 8) & 0x7)
|
||||
#define PCI_BDF(b,d,f) ((b) << 16 | (d) << 11 | (f) << 8)
|
||||
|
||||
#define PCI_ANY_ID (~0)
|
||||
#define PCI_ROM_ADDRESS 0x30 /* Bits 31..11 are address, 10..1 reserved */
|
||||
#define PCI_ROM_ADDRESS_ENABLE 0x01
|
||||
|
||||
#define OFF(addr) ((addr) & 0xFFFF)
|
||||
#define SEG(addr) (((addr)>>4) &0xF000)
|
||||
|
||||
#endif
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1,28 +0,0 @@
|
|||
@echo off
|
||||
REM Setup for compiling with Borland C++ 3.1.
|
||||
|
||||
if .%CHECKED%==.1 goto checked_build
|
||||
SET LIB=%SCITECH_LIB%\LIB\RELEASE\DOS16\BC3;%BC3_PATH%\LIB;.
|
||||
echo Release build enabled.
|
||||
goto setvars
|
||||
|
||||
:checked_build
|
||||
SET LIB=%SCITECH_LIB%\LIB\DEBUG\DOS16\BC3;%BC3_PATH%\LIB;.
|
||||
echo Checked debug build enabled.
|
||||
goto setvars
|
||||
|
||||
:setvars
|
||||
SET INCLUDE=INCLUDE;%SCITECH%\INCLUDE;%PRIVATE%\INCLUDE;%BC3_PATH%\INCLUDE;
|
||||
SET MAKESTARTUP=%SCITECH%\MAKEDEFS\BC3.MK
|
||||
SET USE_DPMI16=
|
||||
SET USE_WIN16=
|
||||
SET USE_WIN32=
|
||||
SET USE_SNAP=
|
||||
PATH %SCITECH_BIN%;%BC3_PATH%\BIN;%DEFPATH%
|
||||
|
||||
REM: Create Borland compile/link configuration scripts
|
||||
echo -I%INCLUDE% > %BC3_PATH%\BIN\turboc.cfg
|
||||
echo -L%LIB% >> %BC3_PATH%\BIN\turboc.cfg
|
||||
echo -L%LIB% > %BC3_PATH%\BIN\tlink.cfg
|
||||
|
||||
echo Borland C++ 3.1 DOS compilation configuration set up.
|
|
@ -1,37 +0,0 @@
|
|||
@echo off
|
||||
REM Setup for compiling with Borland C++ 4.5 in 32 bit Windows mode.
|
||||
|
||||
if .%CHECKED%==.1 goto checked_build
|
||||
SET LIB=%SCITECH_LIB%\LIB\RELEASE\WIN32\BC4;%BC4_PATH%\LIB;.
|
||||
echo Release build enabled.
|
||||
goto setvars
|
||||
|
||||
:checked_build
|
||||
SET LIB=%SCITECH_LIB%\LIB\DEBUG\WIN32\BC4;%BC4_PATH%\LIB;.
|
||||
echo Checked debug build enabled.
|
||||
goto setvars
|
||||
|
||||
:setvars
|
||||
SET INCLUDE=INCLUDE;%SCITECH%\INCLUDE;%PRIVATE%\INCLUDE;%BC4_PATH%\INCLUDE;
|
||||
SET MAKESTARTUP=%SCITECH%\MAKEDEFS\BC32.MK
|
||||
SET USE_WIN16=
|
||||
SET USE_WIN32=1
|
||||
SET USE_VXD=
|
||||
SET USE_TNT=
|
||||
SET USE_BC5=
|
||||
SET WIN32_GUI=
|
||||
SET USE_SNAP=
|
||||
SET BC_LIBBASE=BC4
|
||||
PATH %SCITECH_BIN%;%BC4_PATH%\BIN;%DEFPATH%%BC_CD_PATH%
|
||||
|
||||
REM: Enable Win32 SDK if desired (sdk on command line)
|
||||
if NOT .%1%==.sdk goto createfiles
|
||||
call win32sdk.bat borland
|
||||
|
||||
:createfiles
|
||||
REM: Create Borland compile/link configuration scripts
|
||||
echo -I%INCLUDE% > %BC4_PATH%\BIN\bcc32.cfg
|
||||
echo -L%LIB% >> %BC4_PATH%\BIN\bcc32.cfg
|
||||
echo -L%LIB% > %BC4_PATH%\BIN\tlink32.cfg
|
||||
|
||||
echo Borland C++ 4.5 32 bit Windows compilation configuration set up.
|
|
@ -1,32 +0,0 @@
|
|||
@echo off
|
||||
REM Setup for compiling with Borland C++ 4.5 in 16 bit mode.
|
||||
|
||||
if .%CHECKED%==.1 goto checked_build
|
||||
SET LIB=%SCITECH_LIB%\LIB\RELEASE\DOS16\BC4;%BC4_PATH%\LIB;.
|
||||
echo Release build enabled.
|
||||
goto setvars
|
||||
|
||||
:checked_build
|
||||
SET LIB=%SCITECH_LIB%\LIB\DEBUG\DOS16\BC4;%BC4_PATH%\LIB;.
|
||||
echo Checked debug build enabled.
|
||||
goto setvars
|
||||
|
||||
:setvars
|
||||
SET INCLUDE=INCLUDE;%SCITECH%\INCLUDE;%PRIVATE%\INCLUDE;%BC4_PATH%\INCLUDE
|
||||
SET MAKESTARTUP=%SCITECH%\MAKEDEFS\BC16.MK
|
||||
SET USE_DPMI16=
|
||||
SET USE_WIN16=
|
||||
SET USE_WIN32=
|
||||
SET USE_VXD=
|
||||
SET USE_BC5=
|
||||
SET WIN32_GUI=
|
||||
SET USE_SNAP=
|
||||
SET BC_LIBBASE=BC4
|
||||
PATH %SCITECH_BIN%;%BC4_PATH%\BIN;%DEFPATH%%BC_CD_PATH%
|
||||
|
||||
REM: Create Borland compile/link configuration scripts
|
||||
echo -I%INCLUDE% > %BC4_PATH%\BIN\turboc.cfg
|
||||
echo -L%LIB% >> %BC4_PATH%\BIN\turboc.cfg
|
||||
echo -L%LIB% > %BC4_PATH%\BIN\tlink.cfg
|
||||
|
||||
echo Borland C++ 4.5 16 bit DOS compilation configuration set up.
|
|
@ -1,33 +0,0 @@
|
|||
@echo off
|
||||
REM Setup for compiling with Borland C++ 4.5 in 32 bit mode.
|
||||
|
||||
if .%CHECKED%==.1 goto checked_build
|
||||
SET LIB=%SCITECH_LIB%\LIB\RELEASE\DOS32\BC4;%BC4_PATH%\LIB;.
|
||||
echo Release build enabled.
|
||||
goto setvars
|
||||
|
||||
:checked_build
|
||||
SET LIB=%SCITECH_LIB%\LIB\DEBUG\DOS32\BC4;%BC4_PATH%\LIB;.
|
||||
echo Checked debug build enabled.
|
||||
goto setvars
|
||||
|
||||
:setvars
|
||||
SET INCLUDE=INCLUDE;%SCITECH%\INCLUDE;%PRIVATE%\INCLUDE;%BC4_PATH%\INCLUDE;
|
||||
SET MAKESTARTUP=%SCITECH%\MAKEDEFS\BC32.MK
|
||||
SET USE_DPMI16=
|
||||
SET USE_WIN16=
|
||||
SET USE_WIN32=
|
||||
SET USE_VXD=
|
||||
SET USE_TNT=
|
||||
SET USE_BC5=
|
||||
SET WIN32_GUI=
|
||||
SET USE_SNAP=
|
||||
SET BC_LIBBASE=BC4
|
||||
PATH %SCITECH_BIN%;%BC4_PATH%\BIN;%DEFPATH%%BC_CD_PATH%
|
||||
|
||||
REM: Create Borland compile/link configuration scripts
|
||||
echo -I%INCLUDE% > %BC4_PATH%\BIN\bcc32.cfg
|
||||
echo -L%LIB% >> %BC4_PATH%\BIN\bcc32.cfg
|
||||
echo -L%LIB% > %BC4_PATH%\BIN\tlink32.cfg
|
||||
|
||||
echo Borland C++ 4.5 32 bit DOS compilation configuration set up (DPMI32).
|
|
@ -1,32 +0,0 @@
|
|||
@echo off
|
||||
REM Setup for compiling with Borland C++ 4.5 in 32 bit Windows mode.
|
||||
|
||||
if .%CHECKED%==.1 goto checked_build
|
||||
SET LIB=%SCITECH_LIB%\LIB\RELEASE\SNAP\BC4;%BC4_PATH%\LIB;.
|
||||
echo Release build enabled.
|
||||
goto setvars
|
||||
|
||||
:checked_build
|
||||
SET LIB=%SCITECH_LIB%\LIB\DEBUG\SNAP\BC4;%BC4_PATH%\LIB;.
|
||||
echo Checked debug build enabled.
|
||||
goto setvars
|
||||
|
||||
:setvars
|
||||
SET INCLUDE=INCLUDE;%SCITECH%\INCLUDE;%PRIVATE%\INCLUDE
|
||||
SET MAKESTARTUP=%SCITECH%\MAKEDEFS\BC32.MK
|
||||
SET USE_WIN16=
|
||||
SET USE_WIN32=
|
||||
SET USE_VXD=
|
||||
SET USE_TNT=
|
||||
SET USE_BC5=
|
||||
SET WIN32_GUI=
|
||||
SET USE_SNAP=1
|
||||
SET BC_LIBBASE=BC4
|
||||
PATH %SCITECH_BIN%;%BC4_PATH%\BIN;%DEFPATH%%BC_CD_PATH%
|
||||
|
||||
REM: Create Borland compile/link configuration scripts
|
||||
echo -I%INCLUDE% > %BC4_PATH%\BIN\bcc32.cfg
|
||||
echo -L%LIB% >> %BC4_PATH%\BIN\bcc32.cfg
|
||||
echo -L%LIB% > %BC4_PATH%\BIN\tlink32.cfg
|
||||
|
||||
echo Borland C++ 4.5 Snap compilation configuration set up.
|
|
@ -1,46 +0,0 @@
|
|||
@echo off
|
||||
REM Setup for compiling with Borland C++ 4.5 in 32 bit mode with Phar Lap TNT
|
||||
|
||||
if .%CHECKED%==.1 goto checked_build
|
||||
SET LIB=%SCITECH_LIB%\LIB\RELEASE\DOS32\BC4;%BC4_PATH%\LIB;%TNT_PATH%\LIB;.
|
||||
echo Release build enabled.
|
||||
goto setvars
|
||||
|
||||
:checked_build
|
||||
SET LIB=%SCITECH_LIB%\LIB\DEBUG\DOS32\BC4;%BC4_PATH%\LIB;%TNT_PATH%\LIB;.
|
||||
echo Checked debug build enabled.
|
||||
goto setvars
|
||||
|
||||
:setvars
|
||||
SET INCLUDE=INCLUDE;%SCITECH%\INCLUDE;%PRIVATE%\INCLUDE;%BC4_PATH%\INCLUDE;%TNT_PATH%\INCLUDE;
|
||||
SET MAKESTARTUP=%SCITECH%\MAKEDEFS\BC32.MK
|
||||
SET USE_DPMI16=
|
||||
SET USE_WIN16=
|
||||
SET USE_WIN32=
|
||||
SET USE_VXD=
|
||||
SET USE_TNT=1
|
||||
SET USE_BC5=
|
||||
SET WIN32_GUI=
|
||||
SET USE_SNAP=
|
||||
SET BC_LIBBASE=BC4
|
||||
PATH %SCITECH_BIN%;%BC4_PATH%\BIN;%TNT_PATH%\BIN;%DEFPATH%%BC_CD_PATH%
|
||||
|
||||
REM If you set the following to a 1, a TNT DosStyle app will be created.
|
||||
REM Otherwise a TNT NtStyle app will be created. NtStyle apps will *only*
|
||||
REM run under real DOS when using our libraries, since we require access
|
||||
REM to functions that the Win32 API does not support (such as direct access
|
||||
REM to video memory, calling Int 10h BIOS functions etc). DosStyle apps
|
||||
REM will however run fine in both DOS and a Win95 DOS box (NT DOS boxes don't
|
||||
REM work too well).
|
||||
REM
|
||||
REM If you are using the RealTime DOS extender, your apps *must* be NtStyle,
|
||||
REM and hence will never be able to run under Win95 or WinNT, only DOS.
|
||||
|
||||
SET DOSSTYLE=
|
||||
|
||||
REM: Create Borland compile/link configuration scripts
|
||||
echo -I%INCLUDE% > %BC4_PATH%\BIN\bcc32.cfg
|
||||
echo -L%LIB% >> %BC4_PATH%\BIN\bcc32.cfg
|
||||
echo -L%LIB% > %BC4_PATH%\BIN\tlink32.cfg
|
||||
|
||||
echo Borland C++ 4.5 32 bit DOS compilation configuration set up (TNT).
|
|
@ -1,32 +0,0 @@
|
|||
@echo off
|
||||
REM Setup for compiling with Borland C++ 4.5 in 32 bit Windows VxD mode.
|
||||
|
||||
if .%CHECKED%==.1 goto checked_build
|
||||
SET LIB=%SCITECH_LIB%\LIB\RELEASE\VXD\BC4;%BC4_PATH%\LIB;.
|
||||
echo Release build enabled.
|
||||
goto setvars
|
||||
|
||||
:checked_build
|
||||
SET LIB=%SCITECH_LIB%\LIB\DEBUG\VXD\BC4;%BC4_PATH%\LIB;.
|
||||
echo Checked debug build enabled.
|
||||
goto setvars
|
||||
|
||||
:setvars
|
||||
SET INCLUDE=INCLUDE;%SCITECH%\INCLUDE;%PRIVATE%\INCLUDE;%BC4_PATH%\INCLUDE;
|
||||
SET MAKESTARTUP=%SCITECH%\MAKEDEFS\BC32.MK
|
||||
SET USE_WIN16=
|
||||
SET USE_WIN32=
|
||||
SET USE_VXD=1
|
||||
SET USE_TNT=
|
||||
SET USE_BC5=
|
||||
SET WIN32_GUI=
|
||||
SET USE_SNAP=
|
||||
SET BC_LIBBASE=BC4
|
||||
PATH %SCITECH_BIN%;%BC4_PATH%\BIN;%DEFPATH%%BC_CD_PATH%
|
||||
|
||||
REM: Create Borland compile/link configuration scripts
|
||||
echo -I%INCLUDE% > %BC4_PATH%\BIN\bcc32.cfg
|
||||
echo -L%LIB% >> %BC4_PATH%\BIN\bcc32.cfg
|
||||
echo -L%LIB% > %BC4_PATH%\BIN\tlink32.cfg
|
||||
|
||||
echo Borland C++ 4.5 32-bit VxD compilation configuration set up.
|
|
@ -1,32 +0,0 @@
|
|||
@echo off
|
||||
REM Setup for compiling with Borland C++ 4.5 in 16 bit Windows mode.
|
||||
|
||||
if .%CHECKED%==.1 goto checked_build
|
||||
SET LIB=%SCITECH_LIB%\LIB\RELEASE\WIN16\BC4;%BC4_PATH%\LIB;.
|
||||
echo Release build enabled.
|
||||
goto setvars
|
||||
|
||||
:checked_build
|
||||
SET LIB=%SCITECH_LIB%\LIB\DEBUG\WIN16\BC4;%BC4_PATH%\LIB;.
|
||||
echo Checked debug build enabled.
|
||||
goto setvars
|
||||
|
||||
:setvars
|
||||
SET INCLUDE=INCLUDE;%SCITECH%\INCLUDE;%PRIVATE%\INCLUDE;%BC4_PATH%\INCLUDE;
|
||||
SET MAKESTARTUP=%SCITECH%\MAKEDEFS\BC16.MK
|
||||
SET USE_DPMI16=
|
||||
SET USE_WIN16=1
|
||||
SET USE_WIN32=
|
||||
SET USE_VXD=
|
||||
SET USE_BC5=
|
||||
SET WIN32_GUI=
|
||||
SET USE_SNAP=
|
||||
SET BC_LIBBASE=BC4
|
||||
PATH %SCITECH_BIN%;%BC4_PATH%\BIN;%DEFPATH%%BC_CD_PATH%
|
||||
|
||||
REM: Create Borland compile/link configuration scripts
|
||||
echo -I%INCLUDE% > %BC4_PATH%\BIN\turboc.cfg
|
||||
echo -L%LIB% >> %BC4_PATH%\BIN\turboc.cfg
|
||||
echo -L%LIB% > %BC4_PATH%\BIN\tlink.cfg
|
||||
|
||||
echo Borland C++ 4.5 16 bit Windows compilation configuration set up.
|
|
@ -1,37 +0,0 @@
|
|||
@echo off
|
||||
REM Setup for compiling with Borland C++ 4.5 in 32 bit Windows mode.
|
||||
|
||||
if .%CHECKED%==.1 goto checked_build
|
||||
SET LIB=%SCITECH_LIB%\LIB\RELEASE\WIN32\BC4;%BC4_PATH%\LIB;.
|
||||
echo Release build enabled.
|
||||
goto setvars
|
||||
|
||||
:checked_build
|
||||
SET LIB=%SCITECH_LIB%\LIB\DEBUG\WIN32\BC4;%BC4_PATH%\LIB;.
|
||||
echo Checked debug build enabled.
|
||||
goto setvars
|
||||
|
||||
:setvars
|
||||
SET INCLUDE=INCLUDE;%SCITECH%\INCLUDE;%PRIVATE%\INCLUDE;%BC4_PATH%\INCLUDE;
|
||||
SET MAKESTARTUP=%SCITECH%\MAKEDEFS\BC32.MK
|
||||
SET USE_WIN16=
|
||||
SET USE_WIN32=1
|
||||
SET USE_VXD=
|
||||
SET USE_TNT=
|
||||
SET USE_BC5=
|
||||
SET WIN32_GUI=1
|
||||
SET USE_SNAP=
|
||||
SET BC_LIBBASE=BC4
|
||||
PATH %SCITECH_BIN%;%BC4_PATH%\BIN;%DEFPATH%%BC_CD_PATH%
|
||||
|
||||
REM: Enable Win32 SDK if desired (sdk on command line)
|
||||
if NOT .%1%==.sdk goto createfiles
|
||||
call win32sdk.bat borland
|
||||
|
||||
:createfiles
|
||||
REM: Create Borland compile/link configuration scripts
|
||||
echo -I%INCLUDE% > %BC4_PATH%\BIN\bcc32.cfg
|
||||
echo -L%LIB% >> %BC4_PATH%\BIN\bcc32.cfg
|
||||
echo -L%LIB% > %BC4_PATH%\BIN\tlink32.cfg
|
||||
|
||||
echo Borland C++ 4.5 32 bit Windows compilation configuration set up.
|
|
@ -1,40 +0,0 @@
|
|||
@echo off
|
||||
REM Setup for compiling with Borland C++ 5.0 in 32 bit Windows mode.
|
||||
|
||||
if .%CHECKED%==.1 goto checked_build
|
||||
SET LIB=%SCITECH_LIB%\LIB\RELEASE\WIN32\BC5;%BC5_PATH%\LIB;.
|
||||
echo Release build enabled.
|
||||
goto setvars
|
||||
|
||||
:checked_build
|
||||
SET LIB=%SCITECH_LIB%\LIB\DEBUG\WIN32\BC5;%BC5_PATH%\LIB;.
|
||||
echo Checked debug build enabled.
|
||||
goto setvars
|
||||
|
||||
:setvars
|
||||
SET C_INCLUDE=%BC5_PATH%\INCLUDE
|
||||
SET INCLUDE=INCLUDE;%SCITECH%\INCLUDE;%PRIVATE%\INCLUDE;%C_INCLUDE%
|
||||
SET MAKESTARTUP=%SCITECH%\MAKEDEFS\BC32.MK
|
||||
SET USE_WIN16=
|
||||
SET USE_WIN32=1
|
||||
SET USE_VXD=
|
||||
SET USE_TNT=
|
||||
SET USE_SMX32=
|
||||
SET USE_SMX16=
|
||||
SET USE_BC5=1
|
||||
SET WIN32_GUI=
|
||||
SET USE_SNAP=
|
||||
SET BC_LIBBASE=BC5
|
||||
PATH %SCITECH_BIN%;%BC5_PATH%\BIN;%DEFPATH%%BC5_CD_PATH%
|
||||
|
||||
REM: Enable Win32 SDK if desired (sdk on command line)
|
||||
if NOT .%1%==.sdk goto createfiles
|
||||
call win32sdk.bat borland
|
||||
|
||||
:createfiles
|
||||
REM: Create Borland compile/link configuration scripts
|
||||
echo -I%INCLUDE% > %BC5_PATH%\BIN\bcc32.cfg
|
||||
echo -L%LIB% >> %BC5_PATH%\BIN\bcc32.cfg
|
||||
echo -L%LIB% > %BC5_PATH%\BIN\tlink32.cfg
|
||||
|
||||
echo Borland C++ 5.0 32 bit Windows compilation configuration set up.
|
|
@ -1,34 +0,0 @@
|
|||
@echo off
|
||||
REM Setup for compiling with Borland C++ 5.0 in 16 bit mode.
|
||||
|
||||
if .%CHECKED%==.1 goto checked_build
|
||||
SET LIB=%SCITECH_LIB%\LIB\RELEASE\DOS16\BC5;%BC5_PATH%\LIB;.
|
||||
echo Release build enabled.
|
||||
goto setvars
|
||||
|
||||
:checked_build
|
||||
SET LIB=%SCITECH_LIB%\LIB\DEBUG\DOS16\BC5;%BC5_PATH%\LIB;.
|
||||
echo Checked debug build enabled.
|
||||
goto setvars
|
||||
|
||||
:setvars
|
||||
SET INCLUDE=INCLUDE;%SCITECH%\INCLUDE;%PRIVATE%\INCLUDE;%BC5_PATH%\INCLUDE;
|
||||
SET MAKESTARTUP=%SCITECH%\MAKEDEFS\BC16.MK
|
||||
SET USE_DPMI16=
|
||||
SET USE_WIN16=
|
||||
SET USE_WIN32=
|
||||
SET USE_VXD=
|
||||
SET USE_SMX32=
|
||||
SET USE_SMX16=
|
||||
SET USE_BC5=1
|
||||
SET WIN32_GUI=
|
||||
SET USE_SNAP=
|
||||
SET BC_LIBBASE=BC5
|
||||
PATH %SCITECH_BIN%;%BC5_PATH%\BIN;%DEFPATH%%BC5_CD_PATH%
|
||||
|
||||
REM: Create Borland compile/link configuration scripts
|
||||
echo -I%INCLUDE% > %BC5_PATH%\BIN\turboc.cfg
|
||||
echo -L%LIB% >> %BC5_PATH%\BIN\turboc.cfg
|
||||
echo -L%LIB% > %BC5_PATH%\BIN\tlink.cfg
|
||||
|
||||
echo Borland C++ 5.0 16 bit DOS compilation configuration set up.
|
|
@ -1,35 +0,0 @@
|
|||
@echo off
|
||||
REM Setup for compiling with Borland C++ 5.0 in 32 bit mode.
|
||||
|
||||
if .%CHECKED%==.1 goto checked_build
|
||||
SET LIB=%SCITECH_LIB%\LIB\RELEASE\DOS32\BC5;%BC5_PATH%\LIB;.
|
||||
echo Release build enabled.
|
||||
goto setvars
|
||||
|
||||
:checked_build
|
||||
SET LIB=%SCITECH_LIB%\LIB\DEBUG\DOS32\BC5;%BC5_PATH%\LIB;.
|
||||
echo Checked debug build enabled.
|
||||
goto setvars
|
||||
|
||||
:setvars
|
||||
SET INCLUDE=INCLUDE;%SCITECH%\INCLUDE;%PRIVATE%\INCLUDE;%BC5_PATH%\INCLUDE;
|
||||
SET MAKESTARTUP=%SCITECH%\MAKEDEFS\BC32.MK
|
||||
SET USE_DPMI16=
|
||||
SET USE_WIN16=
|
||||
SET USE_WIN32=
|
||||
SET USE_VXD=
|
||||
SET USE_TNT=
|
||||
SET USE_SMX32=
|
||||
SET USE_SMX16=
|
||||
SET USE_BC5=1
|
||||
SET WIN32_GUI=
|
||||
SET USE_SNAP=
|
||||
SET BC_LIBBASE=BC5
|
||||
PATH %SCITECH_BIN%;%BC5_PATH%\BIN;%DEFPATH%%BC5_CD_PATH%
|
||||
|
||||
REM: Create Borland compile/link configuration scripts
|
||||
echo -I%INCLUDE% > %BC5_PATH%\BIN\bcc32.cfg
|
||||
echo -L%LIB% >> %BC5_PATH%\BIN\bcc32.cfg
|
||||
echo -L%LIB% > %BC5_PATH%\BIN\tlink32.cfg
|
||||
|
||||
echo Borland C++ 5.0 32 bit DOS compilation configuration set up (DPMI32).
|
|
@ -1,35 +0,0 @@
|
|||
@echo off
|
||||
REM Setup for compiling with Borland C++ 5.0 in 32 bit mode.
|
||||
|
||||
if .%CHECKED%==.1 goto checked_build
|
||||
SET LIB=%SCITECH_LIB%\LIB\RELEASE\SMX32\BC5;%BC5_PATH%\LIB;.
|
||||
echo Release build enabled.
|
||||
goto setvars
|
||||
|
||||
:checked_build
|
||||
SET LIB=%SCITECH_LIB%\LIB\DEBUG\SMX32\BC5;%BC5_PATH%\LIB;.
|
||||
echo Checked debug build enabled.
|
||||
goto setvars
|
||||
|
||||
:setvars
|
||||
SET INCLUDE=INCLUDE;%SCITECH%\INCLUDE;%PRIVATE%\INCLUDE;%BC5_PATH%\INCLUDE;
|
||||
SET MAKESTARTUP=%SCITECH%\MAKEDEFS\BC32.MK
|
||||
SET USE_DPMI16=
|
||||
SET USE_WIN16=
|
||||
SET USE_WIN32=
|
||||
SET USE_VXD=
|
||||
SET USE_TNT=
|
||||
SET USE_SMX32=1
|
||||
SET USE_SMX16=
|
||||
SET USE_BC5=1
|
||||
SET WIN32_GUI=
|
||||
SET USE_SNAP=
|
||||
SET BC_LIBBASE=BC5
|
||||
PATH %SCITECH_BIN%;%BC5_PATH%\BIN;%DEFPATH%%BC5_CD_PATH%
|
||||
|
||||
REM: Create Borland compile/link configuration scripts
|
||||
echo -I%INCLUDE% > %BC5_PATH%\BIN\bcc32.cfg
|
||||
echo -L%LIB% >> %BC5_PATH%\BIN\bcc32.cfg
|
||||
echo -L%LIB% > %BC5_PATH%\BIN\tlink32.cfg
|
||||
|
||||
echo Borland C++ 5.0 32 bit SMX compilation configuration set up (SMX32).
|
|
@ -1,34 +0,0 @@
|
|||
@echo off
|
||||
REM Setup for compiling with Borland C++ 5.0 in 32 bit Windows mode.
|
||||
|
||||
if .%CHECKED%==.1 goto checked_build
|
||||
SET LIB=%SCITECH_LIB%\LIB\RELEASE\SNAP\BC5;%BC5_PATH%\LIB;.
|
||||
echo Release build enabled.
|
||||
goto setvars
|
||||
|
||||
:checked_build
|
||||
SET LIB=%SCITECH_LIB%\LIB\DEBUG\SNAP\BC5;%BC5_PATH%\LIB;.
|
||||
echo Checked debug build enabled.
|
||||
goto setvars
|
||||
|
||||
:setvars
|
||||
SET INCLUDE=INCLUDE;%SCITECH%\INCLUDE;%PRIVATE%\INCLUDE
|
||||
SET MAKESTARTUP=%SCITECH%\MAKEDEFS\BC32.MK
|
||||
SET USE_WIN16=
|
||||
SET USE_WIN32=
|
||||
SET USE_VXD=
|
||||
SET USE_TNT=
|
||||
SET USE_SMX32=
|
||||
SET USE_SMX16=
|
||||
SET USE_BC5=1
|
||||
SET WIN32_GUI=
|
||||
SET USE_SNAP=1
|
||||
SET BC_LIBBASE=BC5
|
||||
PATH %SCITECH_BIN%;%BC5_PATH%\BIN;%DEFPATH%%BC5_CD_PATH%
|
||||
|
||||
REM: Create Borland compile/link configuration scripts
|
||||
echo -I%INCLUDE% > %BC5_PATH%\BIN\bcc32.cfg
|
||||
echo -L%LIB% >> %BC5_PATH%\BIN\bcc32.cfg
|
||||
echo -L%LIB% > %BC5_PATH%\BIN\tlink32.cfg
|
||||
|
||||
echo Borland C++ 5.0 Snap compilation configuration set up.
|
|
@ -1,48 +0,0 @@
|
|||
@echo off
|
||||
REM Setup for compiling with Borland C++ 5.0 in 32 bit mode with Phar Lap TNT
|
||||
|
||||
if .%CHECKED%==.1 goto checked_build
|
||||
SET LIB=%SCITECH_LIB%\LIB\RELEASE\DOS32\BC5;%BC5_PATH%\LIB;%TNT_PATH%\LIB;.
|
||||
echo Release build enabled.
|
||||
goto setvars
|
||||
|
||||
:checked_build
|
||||
SET LIB=%SCITECH_LIB%\LIB\DEBUG\DOS32\BC5;%BC5_PATH%\LIB;%TNT_PATH%\LIB;.
|
||||
echo Checked debug build enabled.
|
||||
goto setvars
|
||||
|
||||
:setvars
|
||||
SET INCLUDE=INCLUDE;%SCITECH%\INCLUDE;%PRIVATE%\INCLUDE;%BC5_PATH%\INCLUDE;%TNT_PATH%\INCLUDE;
|
||||
SET MAKESTARTUP=%SCITECH%\MAKEDEFS\BC32.MK
|
||||
SET USE_DPMI16=
|
||||
SET USE_WIN16=
|
||||
SET USE_WIN32=
|
||||
SET USE_VXD=
|
||||
SET USE_TNT=1
|
||||
SET USE_SMX32=
|
||||
SET USE_SMX16=
|
||||
SET USE_BC5=1
|
||||
SET WIN32_GUI=
|
||||
SET USE_SNAP=
|
||||
SET BC_LIBBASE=BC5
|
||||
PATH %SCITECH_BIN%;%BC5_PATH%\BIN;%TNT_PATH%\BIN;%DEFPATH%%BC_CD_PATH%
|
||||
|
||||
REM If you set the following to a 1, a TNT DosStyle app will be created.
|
||||
REM Otherwise a TNT NtStyle app will be created. NtStyle apps will *only*
|
||||
REM run under real DOS when using our libraries, since we require access
|
||||
REM to functions that the Win32 API does not support (such as direct access
|
||||
REM to video memory, calling Int 10h BIOS functions etc). DosStyle apps
|
||||
REM will however run fine in both DOS and a Win95 DOS box (NT DOS boxes don't
|
||||
REM work too well).
|
||||
REM
|
||||
REM If you are using the RealTime DOS extender, your apps *must* be NtStyle,
|
||||
REM and hence will never be able to run under Win95 or WinNT, only DOS.
|
||||
|
||||
SET DOSSTYLE=
|
||||
|
||||
REM: Create Borland compile/link configuration scripts
|
||||
echo -I%INCLUDE% > %BC5_PATH%\BIN\bcc32.cfg
|
||||
echo -L%LIB% >> %BC5_PATH%\BIN\bcc32.cfg
|
||||
echo -L%LIB% > %BC5_PATH%\BIN\tlink32.cfg
|
||||
|
||||
echo Borland C++ 5.0 32 bit DOS compilation configuration set up (TNT).
|
|
@ -1,34 +0,0 @@
|
|||
@echo off
|
||||
REM Setup for compiling with Borland C++ 5.0 in 32 bit Windows mode.
|
||||
|
||||
if .%CHECKED%==.1 goto checked_build
|
||||
SET LIB=%SCITECH_LIB%\LIB\RELEASE\VXD\BC5;%BC5_PATH%\LIB;.
|
||||
echo Release build enabled.
|
||||
goto setvars
|
||||
|
||||
:checked_build
|
||||
SET LIB=%SCITECH_LIB%\LIB\DEBUG\VXD\BC5;%BC5_PATH%\LIB;.
|
||||
echo Checked debug build enabled.
|
||||
goto setvars
|
||||
|
||||
:setvars
|
||||
SET INCLUDE=INCLUDE;%SCITECH%\INCLUDE;%PRIVATE%\INCLUDE;%BC5_PATH%\INCLUDE;
|
||||
SET MAKESTARTUP=%SCITECH%\MAKEDEFS\BC32.MK
|
||||
SET USE_WIN16=
|
||||
SET USE_WIN32=
|
||||
SET USE_VXD=1
|
||||
SET USE_TNT=
|
||||
SET USE_SMX32=
|
||||
SET USE_SMX16=
|
||||
SET USE_BC5=1
|
||||
SET WIN32_GUI=
|
||||
SET USE_SNAP=
|
||||
SET BC_LIBBASE=BC5
|
||||
PATH %SCITECH_BIN%;%BC5_PATH%\BIN;%DEFPATH%%BC5_CD_PATH%
|
||||
|
||||
REM: Create Borland compile/link configuration scripts
|
||||
echo -I%INCLUDE% > %BC5_PATH%\BIN\bcc32.cfg
|
||||
echo -L%LIB% >> %BC5_PATH%\BIN\bcc32.cfg
|
||||
echo -L%LIB% > %BC5_PATH%\BIN\tlink32.cfg
|
||||
|
||||
echo Borland C++ 5.0 32 bit Windows (VxD) compilation configuration set up.
|
|
@ -1,34 +0,0 @@
|
|||
@echo off
|
||||
REM Setup for compiling with Borland C++ 5.0 in 16 bit Windows mode.
|
||||
|
||||
if .%CHECKED%==.1 goto checked_build
|
||||
SET LIB=%SCITECH_LIB%\LIB\RELEASE\WIN16\BC5;%BC5_PATH%\LIB;.
|
||||
echo Release build enabled.
|
||||
goto setvars
|
||||
|
||||
:checked_build
|
||||
SET LIB=%SCITECH_LIB%\LIB\DEBUG\WIN16\BC5;%BC5_PATH%\LIB;.
|
||||
echo Checked debug build enabled.
|
||||
goto setvars
|
||||
|
||||
:setvars
|
||||
SET INCLUDE=INCLUDE;%SCITECH%\INCLUDE;%PRIVATE%\INCLUDE;%BC5_PATH%\INCLUDE;
|
||||
SET MAKESTARTUP=%SCITECH%\MAKEDEFS\BC16.MK
|
||||
SET USE_DPMI16=
|
||||
SET USE_WIN16=1
|
||||
SET USE_WIN32=
|
||||
SET USE_VXD=
|
||||
SET USE_BC5=1
|
||||
SET USE_SMX32=
|
||||
SET USE_SMX16=
|
||||
SET WIN32_GUI=
|
||||
SET USE_SNAP=
|
||||
SET BC_LIBBASE=BC5
|
||||
PATH %SCITECH_BIN%;%BC5_PATH%\BIN;%DEFPATH%%BC5_CD_PATH%
|
||||
|
||||
REM: Create Borland compile/link configuration scripts
|
||||
echo -I%INCLUDE% > %BC5_PATH%\BIN\turboc.cfg
|
||||
echo -L%LIB% >> %BC5_PATH%\BIN\turboc.cfg
|
||||
echo -L%LIB% > %BC5_PATH%\BIN\tlink.cfg
|
||||
|
||||
echo Borland C++ 5.0 16 bit Windows compilation configuration set up.
|
|
@ -1,40 +0,0 @@
|
|||
@echo off
|
||||
REM Setup for compiling with Borland C++ 5.0 in 32 bit Windows mode.
|
||||
|
||||
if .%CHECKED%==.1 goto checked_build
|
||||
SET LIB=%SCITECH_LIB%\LIB\RELEASE\WIN32\BC5;%BC5_PATH%\LIB;.
|
||||
echo Release build enabled.
|
||||
goto setvars
|
||||
|
||||
:checked_build
|
||||
SET LIB=%SCITECH_LIB%\LIB\DEBUG\WIN32\BC5;%BC5_PATH%\LIB;.
|
||||
echo Checked debug build enabled.
|
||||
goto setvars
|
||||
|
||||
:setvars
|
||||
SET C_INCLUDE=%BC5_PATH%\INCLUDE
|
||||
SET INCLUDE=INCLUDE;%SCITECH%\INCLUDE;%PRIVATE%\INCLUDE;%C_INCLUDE%
|
||||
SET MAKESTARTUP=%SCITECH%\MAKEDEFS\BC32.MK
|
||||
SET USE_WIN16=
|
||||
SET USE_WIN32=1
|
||||
SET USE_VXD=
|
||||
SET USE_TNT=
|
||||
SET USE_SMX32=
|
||||
SET USE_SMX16=
|
||||
SET USE_BC5=1
|
||||
SET WIN32_GUI=1
|
||||
SET USE_SNAP=
|
||||
SET BC_LIBBASE=BC5
|
||||
PATH %SCITECH_BIN%;%BC5_PATH%\BIN;%DEFPATH%%BC5_CD_PATH%
|
||||
|
||||
REM: Enable Win32 SDK if desired (sdk on command line)
|
||||
if NOT .%1%==.sdk goto createfiles
|
||||
call win32sdk.bat borland
|
||||
|
||||
:createfiles
|
||||
REM: Create Borland compile/link configuration scripts
|
||||
echo -I%INCLUDE% > %BC5_PATH%\BIN\bcc32.cfg
|
||||
echo -L%LIB% >> %BC5_PATH%\BIN\bcc32.cfg
|
||||
echo -L%LIB% > %BC5_PATH%\BIN\tlink32.cfg
|
||||
|
||||
echo Borland C++ 5.0 32 bit Windows compilation configuration set up.
|
|
@ -1,34 +0,0 @@
|
|||
@echo off
|
||||
REM Setup for compiling with Borland C++ 5.0 in 32 bit Windows mode.
|
||||
|
||||
if .%CHECKED%==.1 goto checked_build
|
||||
SET LIB=%SCITECH_LIB%\LIB\RELEASE\WIN32\BC5;%BC5_PATH%\LIB;.
|
||||
echo Release build enabled.
|
||||
goto setvars
|
||||
|
||||
:checked_build
|
||||
SET LIB=%SCITECH_LIB%\LIB\DEBUG\WIN32\BC5;%BC5_PATH%\LIB;.
|
||||
echo Checked debug build enabled.
|
||||
goto setvars
|
||||
|
||||
:setvars
|
||||
SET INCLUDE=INCLUDE;%SCITECH%\INCLUDE;%PRIVATE%\INCLUDE;%BC5_PATH%\INCLUDE;
|
||||
SET MAKESTARTUP=%SCITECH%\MAKEDEFS\BC32.MK
|
||||
SET USE_WIN16=
|
||||
SET USE_WIN32=1
|
||||
SET USE_VXD=
|
||||
SET USE_TNT=
|
||||
SET USE_SMX32=
|
||||
SET USE_SMX16=
|
||||
SET USE_BC5=1
|
||||
SET WIN32_GUI=1
|
||||
SET USE_SNAP=
|
||||
SET BC_LIBBASE=BC5
|
||||
PATH %SCITECH_BIN%;%BC5_PATH%\BIN;%DEFPATH%%BC5_CD_PATH%
|
||||
|
||||
REM: Create Borland compile/link configuration scripts
|
||||
echo -I%INCLUDE% > %BC5_PATH%\BIN\bcc32.cfg
|
||||
echo -L%LIB% >> %BC5_PATH%\BIN\bcc32.cfg
|
||||
echo -L%LIB% > %BC5_PATH%\BIN\tlink32.cfg
|
||||
|
||||
echo Borland C++ 5.0 32 bit Windows compilation configuration set up.
|
|
@ -1,40 +0,0 @@
|
|||
@echo off
|
||||
REM Setup for compiling with Borland C++ Builder 5.0 in 32 bit Windows mode.
|
||||
|
||||
if .%CHECKED%==.1 goto checked_build
|
||||
SET LIB=%SCITECH_LIB%\LIB\RELEASE\WIN32\BCB5;%BCB5_PATH%\LIB;.
|
||||
echo Release build enabled.
|
||||
goto setvars
|
||||
|
||||
:checked_build
|
||||
SET LIB=%SCITECH_LIB%\LIB\DEBUG\WIN32\BCB5;%BCB5_PATH%\LIB;.
|
||||
echo Checked debug build enabled.
|
||||
goto setvars
|
||||
|
||||
:setvars
|
||||
SET C_INCLUDE=%BCB5_PATH%\INCLUDE
|
||||
SET INCLUDE=INCLUDE;%SCITECH%\INCLUDE;%PRIVATE%\INCLUDE;%C_INCLUDE%
|
||||
SET MAKESTARTUP=%SCITECH%\MAKEDEFS\BC32.MK
|
||||
SET USE_WIN16=
|
||||
SET USE_WIN32=1
|
||||
SET USE_VXD=
|
||||
SET USE_TNT=
|
||||
SET USE_SMX32=
|
||||
SET USE_SMX16=
|
||||
SET USE_BC5=1
|
||||
SET WIN32_GUI=
|
||||
SET USE_SNAP=
|
||||
SET BC_LIBBASE=BC5
|
||||
PATH %SCITECH_BIN%;%BCB5_PATH%\BIN;%DEFPATH%%BC5_CD_PATH%
|
||||
|
||||
REM: Enable Win32 SDK if desired (sdk on command line)
|
||||
if NOT .%1%==.sdk goto createfiles
|
||||
call win32sdk.bat borland
|
||||
|
||||
:createfiles
|
||||
REM: Create Borland compile/link configuration scripts
|
||||
echo -I%INCLUDE% > %BCB5_PATH%\BIN\bcc32.cfg
|
||||
echo -L%LIB% >> %BCB5_PATH%\BIN\bcc32.cfg
|
||||
echo -L%LIB% > %BCB5_PATH%\BIN\tlink32.cfg
|
||||
|
||||
echo Borland C++ Builder 5.0 32 bit Windows compilation configuration set up.
|
|
@ -1,34 +0,0 @@
|
|||
@echo off
|
||||
REM Setup for compiling with Borland C++ Builder 5.0 in 16 bit mode.
|
||||
|
||||
if .%CHECKED%==.1 goto checked_build
|
||||
SET LIB=%SCITECH_LIB%\LIB\RELEASE\DOS16\BCB5;%BCB5_PATH%\LIB;.
|
||||
echo Release build enabled.
|
||||
goto setvars
|
||||
|
||||
:checked_build
|
||||
SET LIB=%SCITECH_LIB%\LIB\DEBUG\DOS16\BCB5;%BCB5_PATH%\LIB;.
|
||||
echo Checked debug build enabled.
|
||||
goto setvars
|
||||
|
||||
:setvars
|
||||
SET INCLUDE=INCLUDE;%SCITECH%\INCLUDE;%PRIVATE%\INCLUDE;%BCB5_PATH%\INCLUDE;
|
||||
SET MAKESTARTUP=%SCITECH%\MAKEDEFS\BC16.MK
|
||||
SET USE_DPMI16=
|
||||
SET USE_WIN16=
|
||||
SET USE_WIN32=
|
||||
SET USE_VXD=
|
||||
SET USE_SMX32=
|
||||
SET USE_SMX16=
|
||||
SET USE_BC5=1
|
||||
SET WIN32_GUI=
|
||||
SET USE_SNAP=
|
||||
SET BC_LIBBASE=BC5
|
||||
PATH %SCITECH_BIN%;%BCB5_PATH%\BIN;%DEFPATH%%BC5_CD_PATH%
|
||||
|
||||
REM: Create Borland compile/link configuration scripts
|
||||
echo -I%INCLUDE% > %BCB5_PATH%\BIN\turboc.cfg
|
||||
echo -L%LIB% >> %BCB5_PATH%\BIN\turboc.cfg
|
||||
echo -L%LIB% > %BCB5_PATH%\BIN\tlink.cfg
|
||||
|
||||
echo Borland C++ Builder 5.0 16 bit DOS compilation configuration set up.
|
|
@ -1,35 +0,0 @@
|
|||
@echo off
|
||||
REM Setup for compiling with Borland C++ Builder 5.0 in 32 bit mode.
|
||||
|
||||
if .%CHECKED%==.1 goto checked_build
|
||||
SET LIB=%SCITECH_LIB%\LIB\RELEASE\DOS32\BCB5;%BCB5_PATH%\LIB;.
|
||||
echo Release build enabled.
|
||||
goto setvars
|
||||
|
||||
:checked_build
|
||||
SET LIB=%SCITECH_LIB%\LIB\DEBUG\DOS32\BCB5;%BCB5_PATH%\LIB;.
|
||||
echo Checked debug build enabled.
|
||||
goto setvars
|
||||
|
||||
:setvars
|
||||
SET INCLUDE=INCLUDE;%SCITECH%\INCLUDE;%PRIVATE%\INCLUDE;%BCB5_PATH%\INCLUDE;
|
||||
SET MAKESTARTUP=%SCITECH%\MAKEDEFS\BC32.MK
|
||||
SET USE_DPMI16=
|
||||
SET USE_WIN16=
|
||||
SET USE_WIN32=
|
||||
SET USE_VXD=
|
||||
SET USE_TNT=
|
||||
SET USE_SMX32=
|
||||
SET USE_SMX16=
|
||||
SET USE_BC5=1
|
||||
SET WIN32_GUI=
|
||||
SET USE_SNAP=
|
||||
SET BC_LIBBASE=BC5
|
||||
PATH %SCITECH_BIN%;%BCB5_PATH%\BIN;%DEFPATH%%BC5_CD_PATH%
|
||||
|
||||
REM: Create Borland compile/link configuration scripts
|
||||
echo -I%INCLUDE% > %BCB5_PATH%\BIN\bcc32.cfg
|
||||
echo -L%LIB% >> %BCB5_PATH%\BIN\bcc32.cfg
|
||||
echo -L%LIB% > %BCB5_PATH%\BIN\tlink32.cfg
|
||||
|
||||
echo Borland C++ Builder 5.0 32 bit DOS compilation configuration set up (DPMI32).
|
|
@ -1,35 +0,0 @@
|
|||
@echo off
|
||||
REM Setup for compiling with Borland C++ Builder 5.0 in 32 bit mode.
|
||||
|
||||
if .%CHECKED%==.1 goto checked_build
|
||||
SET LIB=%SCITECH_LIB%\LIB\RELEASE\SMX32\BCB5;%BCB5_PATH%\LIB;.
|
||||
echo Release build enabled.
|
||||
goto setvars
|
||||
|
||||
:checked_build
|
||||
SET LIB=%SCITECH_LIB%\LIB\DEBUG\SMX32\BCB5;%BCB5_PATH%\LIB;.
|
||||
echo Checked debug build enabled.
|
||||
goto setvars
|
||||
|
||||
:setvars
|
||||
SET INCLUDE=INCLUDE;%SCITECH%\INCLUDE;%PRIVATE%\INCLUDE;%BCB5_PATH%\INCLUDE;
|
||||
SET MAKESTARTUP=%SCITECH%\MAKEDEFS\BC32.MK
|
||||
SET USE_DPMI16=
|
||||
SET USE_WIN16=
|
||||
SET USE_WIN32=
|
||||
SET USE_VXD=
|
||||
SET USE_TNT=
|
||||
SET USE_SMX32=1
|
||||
SET USE_SMX16=
|
||||
SET USE_BC5=1
|
||||
SET WIN32_GUI=
|
||||
SET USE_SNAP=
|
||||
SET BC_LIBBASE=BC5
|
||||
PATH %SCITECH_BIN%;%BCB5_PATH%\BIN;%DEFPATH%%BC5_CD_PATH%
|
||||
|
||||
REM: Create Borland compile/link configuration scripts
|
||||
echo -I%INCLUDE% > %BCB5_PATH%\BIN\bcc32.cfg
|
||||
echo -L%LIB% >> %BCB5_PATH%\BIN\bcc32.cfg
|
||||
echo -L%LIB% > %BCB5_PATH%\BIN\tlink32.cfg
|
||||
|
||||
echo Borland C++ Builder 5.0 32 bit SMX compilation configuration set up (SMX32).
|
|
@ -1,34 +0,0 @@
|
|||
@echo off
|
||||
REM Setup for compiling with Borland C++ Builder 5.0 in 32 bit Windows mode.
|
||||
|
||||
if .%CHECKED%==.1 goto checked_build
|
||||
SET LIB=%SCITECH_LIB%\LIB\RELEASE\SNAP\BCB5;%BCB5_PATH%\LIB;.
|
||||
echo Release build enabled.
|
||||
goto setvars
|
||||
|
||||
:checked_build
|
||||
SET LIB=%SCITECH_LIB%\LIB\DEBUG\SNAP\BCB5;%BCB5_PATH%\LIB;.
|
||||
echo Checked debug build enabled.
|
||||
goto setvars
|
||||
|
||||
:setvars
|
||||
SET INCLUDE=INCLUDE;%SCITECH%\INCLUDE;%PRIVATE%\INCLUDE
|
||||
SET MAKESTARTUP=%SCITECH%\MAKEDEFS\BC32.MK
|
||||
SET USE_WIN16=
|
||||
SET USE_WIN32=
|
||||
SET USE_VXD=
|
||||
SET USE_TNT=
|
||||
SET USE_SMX32=
|
||||
SET USE_SMX16=
|
||||
SET USE_BC5=1
|
||||
SET WIN32_GUI=
|
||||
SET USE_SNAP=1
|
||||
SET BC_LIBBASE=BC5
|
||||
PATH %SCITECH_BIN%;%BCB5_PATH%\BIN;%DEFPATH%%BC5_CD_PATH%
|
||||
|
||||
REM: Create Borland compile/link configuration scripts
|
||||
echo -I%INCLUDE% > %BCB5_PATH%\BIN\bcc32.cfg
|
||||
echo -L%LIB% >> %BCB5_PATH%\BIN\bcc32.cfg
|
||||
echo -L%LIB% > %BCB5_PATH%\BIN\tlink32.cfg
|
||||
|
||||
echo Borland C++ Builder 5.0 Snap compilation configuration set up.
|
|
@ -1,48 +0,0 @@
|
|||
@echo off
|
||||
REM Setup for compiling with Borland C++ Builder 5.0 in 32 bit mode with Phar Lap TNT
|
||||
|
||||
if .%CHECKED%==.1 goto checked_build
|
||||
SET LIB=%SCITECH_LIB%\LIB\RELEASE\DOS32\BCB5;%BCB5_PATH%\LIB;%TNT_PATH%\LIB;.
|
||||
echo Release build enabled.
|
||||
goto setvars
|
||||
|
||||
:checked_build
|
||||
SET LIB=%SCITECH_LIB%\LIB\DEBUG\DOS32\BCB5;%BCB5_PATH%\LIB;%TNT_PATH%\LIB;.
|
||||
echo Checked debug build enabled.
|
||||
goto setvars
|
||||
|
||||
:setvars
|
||||
SET INCLUDE=INCLUDE;%SCITECH%\INCLUDE;%PRIVATE%\INCLUDE;%BCB5_PATH%\INCLUDE;%TNT_PATH%\INCLUDE;
|
||||
SET MAKESTARTUP=%SCITECH%\MAKEDEFS\BC32.MK
|
||||
SET USE_DPMI16=
|
||||
SET USE_WIN16=
|
||||
SET USE_WIN32=
|
||||
SET USE_VXD=
|
||||
SET USE_TNT=1
|
||||
SET USE_SMX32=
|
||||
SET USE_SMX16=
|
||||
SET USE_BC5=1
|
||||
SET WIN32_GUI=
|
||||
SET USE_SNAP=
|
||||
SET BC_LIBBASE=BC5
|
||||
PATH %SCITECH_BIN%;%BCB5_PATH%\BIN;%TNT_PATH%\BIN;%DEFPATH%%BC_CD_PATH%
|
||||
|
||||
REM If you set the following to a 1, a TNT DosStyle app will be created.
|
||||
REM Otherwise a TNT NtStyle app will be created. NtStyle apps will *only*
|
||||
REM run under real DOS when using our libraries, since we require access
|
||||
REM to functions that the Win32 API does not support (such as direct access
|
||||
REM to video memory, calling Int 10h BIOS functions etc). DosStyle apps
|
||||
REM will however run fine in both DOS and a Win95 DOS box (NT DOS boxes don't
|
||||
REM work too well).
|
||||
REM
|
||||
REM If you are using the RealTime DOS extender, your apps *must* be NtStyle,
|
||||
REM and hence will never be able to run under Win95 or WinNT, only DOS.
|
||||
|
||||
SET DOSSTYLE=
|
||||
|
||||
REM: Create Borland compile/link configuration scripts
|
||||
echo -I%INCLUDE% > %BCB5_PATH%\BIN\bcc32.cfg
|
||||
echo -L%LIB% >> %BCB5_PATH%\BIN\bcc32.cfg
|
||||
echo -L%LIB% > %BCB5_PATH%\BIN\tlink32.cfg
|
||||
|
||||
echo Borland C++ Builder 5.0 32 bit DOS compilation configuration set up (TNT).
|
|
@ -1,34 +0,0 @@
|
|||
@echo off
|
||||
REM Setup for compiling with Borland C++ Builder 5.0 in 32 bit Windows mode.
|
||||
|
||||
if .%CHECKED%==.1 goto checked_build
|
||||
SET LIB=%SCITECH_LIB%\LIB\RELEASE\VXD\BCB5;%BCB5_PATH%\LIB;.
|
||||
echo Release build enabled.
|
||||
goto setvars
|
||||
|
||||
:checked_build
|
||||
SET LIB=%SCITECH_LIB%\LIB\DEBUG\VXD\BCB5;%BCB5_PATH%\LIB;.
|
||||
echo Checked debug build enabled.
|
||||
goto setvars
|
||||
|
||||
:setvars
|
||||
SET INCLUDE=INCLUDE;%SCITECH%\INCLUDE;%PRIVATE%\INCLUDE;%BCB5_PATH%\INCLUDE;
|
||||
SET MAKESTARTUP=%SCITECH%\MAKEDEFS\BC32.MK
|
||||
SET USE_WIN16=
|
||||
SET USE_WIN32=
|
||||
SET USE_VXD=1
|
||||
SET USE_TNT=
|
||||
SET USE_SMX32=
|
||||
SET USE_SMX16=
|
||||
SET USE_BC5=1
|
||||
SET WIN32_GUI=
|
||||
SET USE_SNAP=
|
||||
SET BC_LIBBASE=BC5
|
||||
PATH %SCITECH_BIN%;%BCB5_PATH%\BIN;%DEFPATH%%BC5_CD_PATH%
|
||||
|
||||
REM: Create Borland compile/link configuration scripts
|
||||
echo -I%INCLUDE% > %BCB5_PATH%\BIN\bcc32.cfg
|
||||
echo -L%LIB% >> %BCB5_PATH%\BIN\bcc32.cfg
|
||||
echo -L%LIB% > %BCB5_PATH%\BIN\tlink32.cfg
|
||||
|
||||
echo Borland C++ Builder 5.0 32 bit Windows (VxD) compilation configuration set up.
|
|
@ -1,34 +0,0 @@
|
|||
@echo off
|
||||
REM Setup for compiling with Borland C++ Builder 5.0 in 16 bit Windows mode.
|
||||
|
||||
if .%CHECKED%==.1 goto checked_build
|
||||
SET LIB=%SCITECH_LIB%\LIB\RELEASE\WIN16\BCB5;%BCB5_PATH%\LIB;.
|
||||
echo Release build enabled.
|
||||
goto setvars
|
||||
|
||||
:checked_build
|
||||
SET LIB=%SCITECH_LIB%\LIB\DEBUG\WIN16\BCB5;%BCB5_PATH%\LIB;.
|
||||
echo Checked debug build enabled.
|
||||
goto setvars
|
||||
|
||||
:setvars
|
||||
SET INCLUDE=INCLUDE;%SCITECH%\INCLUDE;%PRIVATE%\INCLUDE;%BCB5_PATH%\INCLUDE;
|
||||
SET MAKESTARTUP=%SCITECH%\MAKEDEFS\BC16.MK
|
||||
SET USE_DPMI16=
|
||||
SET USE_WIN16=1
|
||||
SET USE_WIN32=
|
||||
SET USE_VXD=
|
||||
SET USE_BC5=1
|
||||
SET USE_SMX32=
|
||||
SET USE_SMX16=
|
||||
SET WIN32_GUI=
|
||||
SET USE_SNAP=
|
||||
SET BC_LIBBASE=BC5
|
||||
PATH %SCITECH_BIN%;%BCB5_PATH%\BIN;%DEFPATH%%BC5_CD_PATH%
|
||||
|
||||
REM: Create Borland compile/link configuration scripts
|
||||
echo -I%INCLUDE% > %BCB5_PATH%\BIN\turboc.cfg
|
||||
echo -L%LIB% >> %BCB5_PATH%\BIN\turboc.cfg
|
||||
echo -L%LIB% > %BCB5_PATH%\BIN\tlink.cfg
|
||||
|
||||
echo Borland C++ Builder 5.0 16 bit Windows compilation configuration set up.
|
|
@ -1,40 +0,0 @@
|
|||
@echo off
|
||||
REM Setup for compiling with Borland C++ Builder 5.0 in 32 bit Windows mode.
|
||||
|
||||
if .%CHECKED%==.1 goto checked_build
|
||||
SET LIB=%SCITECH_LIB%\LIB\RELEASE\WIN32\BCB5;%BCB5_PATH%\LIB;.
|
||||
echo Release build enabled.
|
||||
goto setvars
|
||||
|
||||
:checked_build
|
||||
SET LIB=%SCITECH_LIB%\LIB\DEBUG\WIN32\BCB5;%BCB5_PATH%\LIB;.
|
||||
echo Checked debug build enabled.
|
||||
goto setvars
|
||||
|
||||
:setvars
|
||||
SET C_INCLUDE=%BCB5_PATH%\INCLUDE
|
||||
SET INCLUDE=INCLUDE;%SCITECH%\INCLUDE;%PRIVATE%\INCLUDE;%C_INCLUDE%
|
||||
SET MAKESTARTUP=%SCITECH%\MAKEDEFS\BC32.MK
|
||||
SET USE_WIN16=
|
||||
SET USE_WIN32=1
|
||||
SET USE_VXD=
|
||||
SET USE_TNT=
|
||||
SET USE_SMX32=
|
||||
SET USE_SMX16=
|
||||
SET USE_BC5=1
|
||||
SET WIN32_GUI=1
|
||||
SET USE_SNAP=
|
||||
SET BC_LIBBASE=BC5
|
||||
PATH %SCITECH_BIN%;%BCB5_PATH%\BIN;%DEFPATH%%BC5_CD_PATH%
|
||||
|
||||
REM: Enable Win32 SDK if desired (sdk on command line)
|
||||
if NOT .%1%==.sdk goto createfiles
|
||||
call win32sdk.bat borland
|
||||
|
||||
:createfiles
|
||||
REM: Create Borland compile/link configuration scripts
|
||||
echo -I%INCLUDE% > %BCB5_PATH%\BIN\bcc32.cfg
|
||||
echo -L%LIB% >> %BCB5_PATH%\BIN\bcc32.cfg
|
||||
echo -L%LIB% > %BCB5_PATH%\BIN\tlink32.cfg
|
||||
|
||||
echo Borland C++ Builder 5.0 32 bit Windows compilation configuration set up.
|
|
@ -1,34 +0,0 @@
|
|||
@echo off
|
||||
REM Setup for compiling with Borland C++ Builder 5.0 in 32 bit Windows mode.
|
||||
|
||||
if .%CHECKED%==.1 goto checked_build
|
||||
SET LIB=%SCITECH_LIB%\LIB\RELEASE\WIN32\BCB5;%BCB5_PATH%\LIB;.
|
||||
echo Release build enabled.
|
||||
goto setvars
|
||||
|
||||
:checked_build
|
||||
SET LIB=%SCITECH_LIB%\LIB\DEBUG\WIN32\BCB5;%BCB5_PATH%\LIB;.
|
||||
echo Checked debug build enabled.
|
||||
goto setvars
|
||||
|
||||
:setvars
|
||||
SET INCLUDE=INCLUDE;%SCITECH%\INCLUDE;%PRIVATE%\INCLUDE;%BCB5_PATH%\INCLUDE;
|
||||
SET MAKESTARTUP=%SCITECH%\MAKEDEFS\BC32.MK
|
||||
SET USE_WIN16=
|
||||
SET USE_WIN32=1
|
||||
SET USE_VXD=
|
||||
SET USE_TNT=
|
||||
SET USE_SMX32=
|
||||
SET USE_SMX16=
|
||||
SET USE_BC5=1
|
||||
SET WIN32_GUI=1
|
||||
SET USE_SNAP=
|
||||
SET BC_LIBBASE=BC5
|
||||
PATH %SCITECH_BIN%;%BCB5_PATH%\BIN;%DEFPATH%%BC5_CD_PATH%
|
||||
|
||||
REM: Create Borland compile/link configuration scripts
|
||||
echo -I%INCLUDE% > %BCB5_PATH%\BIN\bcc32.cfg
|
||||
echo -L%LIB% >> %BCB5_PATH%\BIN\bcc32.cfg
|
||||
echo -L%LIB% > %BCB5_PATH%\BIN\tlink32.cfg
|
||||
|
||||
echo Borland C++ Builder 5.0 32 bit Windows compilation configuration set up.
|
|
@ -1,22 +0,0 @@
|
|||
#! /bin/sh
|
||||
|
||||
if [ $# -lt 1 ] || ( [ "$1" != gcc-linux ] && [ "$1" != qnx4 ] ) ; then
|
||||
echo Usage: $0 compiler_name [DMAKE commands]
|
||||
echo
|
||||
echo Current compilers:
|
||||
echo " gcc-linux - GNU C/C++ 2.7 or higher, 32 bit"
|
||||
echo " qnx4 - Watcom C/C++ 10.6 or higher, 32 bit"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
unset DBG OPT OPT_SIZE BUILD_DLL IMPORT_DLL FPU CHECKS BETA
|
||||
. ${1}.sh
|
||||
|
||||
shift
|
||||
dmake $* && exit 0
|
||||
|
||||
echo *************************************************
|
||||
echo * An error occurred while building the library. *
|
||||
echo *************************************************
|
||||
exit 1
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
@echo off
|
||||
rem Disable checked build and build release code
|
||||
set CHECKED=
|
||||
call build_it.bat %1 %2 %3 %4 %5 %6 %7 %8 %9
|
|
@ -1,4 +0,0 @@
|
|||
@echo off
|
||||
rem Enable checked build and build debug code
|
||||
set CHECKED=1
|
||||
call build_it.bat %1 %2 %3 %4 %5 %6 %7 %8 %9
|
|
@ -1,432 +0,0 @@
|
|||
@echo off
|
||||
rem Generic batch file to build a version of the library. This batch file
|
||||
rem assumes that the correct batch files exist to setup the appropriate
|
||||
rem compilation environments, and that the DMAKE.EXE program is available
|
||||
rem somewhere on the path.
|
||||
rem
|
||||
rem Builds as release or debug depending on the value of the CHECKED
|
||||
rem environment variable.
|
||||
|
||||
rem Unset all environment variables that change the compile process
|
||||
set DBG=
|
||||
set OPT=
|
||||
set OPT_SIZE=
|
||||
set BUILD_DLL=
|
||||
set IMPORT_DLL=
|
||||
set FPU=
|
||||
set CHECKS=
|
||||
set BETA=
|
||||
|
||||
if %1==bc31-d16 goto bc31-d16
|
||||
if %1==bc45-d16 goto bc45-d16
|
||||
if %1==bc45-d32 goto bc45-d32
|
||||
if %1==bc45-tnt goto bc45-tnt
|
||||
if %1==bc45-w16 goto bc45-w16
|
||||
if %1==bc45-w32 goto bc45-w32
|
||||
if %1==bc45-c32 goto bc45-c32
|
||||
if %1==bc45-vxd goto bc45-vxd
|
||||
if %1==bc45-snp goto bc45-snp
|
||||
if %1==bc50-d16 goto bc50-d16
|
||||
if %1==bc50-d32 goto bc50-d32
|
||||
if %1==bc50-tnt goto bc50-tnt
|
||||
if %1==bc50-w16 goto bc50-w16
|
||||
if %1==bc50-w32 goto bc50-w32
|
||||
if %1==bc50-c32 goto bc50-c32
|
||||
if %1==bc50-vxd goto bc50-vxd
|
||||
if %1==bc50-snp goto bc50-snp
|
||||
if %1==gcc2-d32 goto gcc2-d32
|
||||
if %1==gcc2-w32 goto gcc2-w32
|
||||
if %1==gcc2-c32 goto gcc2-c32
|
||||
if %1==gcc2-linux goto gcc2-linux
|
||||
if %1==vc40-d16 goto vc40-d16
|
||||
if %1==vc40-tnt goto vc40-tnt
|
||||
if %1==vc40-w16 goto vc40-w16
|
||||
if %1==vc40-w32 goto vc40-w32
|
||||
if %1==vc40-c32 goto vc40-c32
|
||||
if %1==vc40-drv9x goto vc40-drv9x
|
||||
if %1==vc40-drvnt goto vc40-drvnt
|
||||
if %1==vc40-rtt goto vc40-rtt
|
||||
if %1==vc40-snp goto vc40-snp
|
||||
if %1==vc50-d16 goto vc50-d16
|
||||
if %1==vc50-tnt goto vc50-tnt
|
||||
if %1==vc50-w16 goto vc50-w16
|
||||
if %1==vc50-w32 goto vc50-w32
|
||||
if %1==vc50-c32 goto vc50-c32
|
||||
if %1==vc50-drv9x goto vc50-drv9x
|
||||
if %1==vc50-drvnt goto vc50-drvnt
|
||||
if %1==vc50-rtt goto vc50-rtt
|
||||
if %1==vc50-snp goto vc50-snp
|
||||
if %1==vc60-d16 goto vc60-d16
|
||||
if %1==vc60-tnt goto vc60-tnt
|
||||
if %1==vc60-w16 goto vc60-w16
|
||||
if %1==vc60-w32 goto vc60-w32
|
||||
if %1==vc60-c32 goto vc60-c32
|
||||
if %1==vc60-drv9x goto vc60-drv9x
|
||||
if %1==vc60-drvnt goto vc60-drvnt
|
||||
if %1==vc60-drvw2k goto vc60-drvw2k
|
||||
if %1==vc60-rtt goto vc60-rtt
|
||||
if %1==vc60-snp goto vc60-snp
|
||||
if %1==wc10ad16 goto wc10ad16
|
||||
if %1==wc10ad32 goto wc10ad32
|
||||
if %1==wc10atnt goto wc10atnt
|
||||
if %1==wc10aw16 goto wc10aw16
|
||||
if %1==wc10aw32 goto wc10aw32
|
||||
if %1==wc10ac32 goto wc10ac32
|
||||
if %1==wc10ao32 goto wc10ao32
|
||||
if %1==wc10ap32 goto wc10ap32
|
||||
if %1==wc10asnp goto wc10asnp
|
||||
if %1==wc10-d16 goto wc10-d16
|
||||
if %1==wc10-d32 goto wc10-d32
|
||||
if %1==wc10-tnt goto wc10-tnt
|
||||
if %1==wc10-w16 goto wc10-w16
|
||||
if %1==wc10-w32 goto wc10-w32
|
||||
if %1==wc10-c32 goto wc10-c32
|
||||
if %1==wc10-o32 goto wc10-o32
|
||||
if %1==wc10-p32 goto wc10-p32
|
||||
if %1==wc10-snp goto wc10-snp
|
||||
if %1==wc11-d16 goto wc11-d16
|
||||
if %1==wc11-d32 goto wc11-d32
|
||||
if %1==wc11-tnt goto wc11-tnt
|
||||
if %1==wc11-w16 goto wc11-w16
|
||||
if %1==wc11-w32 goto wc11-w32
|
||||
if %1==wc11-c32 goto wc11-c32
|
||||
if %1==wc11-o32 goto wc11-o32
|
||||
if %1==wc11-p32 goto wc11-p32
|
||||
if %1==wc11-snp goto wc11-snp
|
||||
|
||||
echo Usage: BUILD 'compiler_name' [DMAKE commands]
|
||||
echo.
|
||||
echo Where 'compiler_name' is of the form comp-os, where
|
||||
echo 'comp' defines the compiler and 'os' defines the OS environment.
|
||||
echo For instance 'bc50-w32' is for Borland C++ 5.0 for Win32.
|
||||
echo The value of 'comp' can be any of the following:
|
||||
echo.
|
||||
echo bc45 - Borland C++ 4.5x
|
||||
echo bc50 - Borland C++ 5.x
|
||||
echo vc40 - Visual C++ 4.x
|
||||
echo vc50 - Visual C++ 5.x
|
||||
echo vc60 - Visual C++ 6.x
|
||||
echo wc10 - Watcom C++ 10.6
|
||||
echo wc11 - Watcom C++ 11.0
|
||||
echo gcc2 - GNU C/C++ 2.9x
|
||||
echo.
|
||||
echo The value of 'os' can be one of the following:
|
||||
echo.
|
||||
echo d16 - 16-bit DOS
|
||||
echo d32 - 32-bit DOS
|
||||
echo w16 - 16-bit Windows GUI mode
|
||||
echo c32 - 32-bit Windows console mode
|
||||
echo w32 - 32-bit Windows GUI mode
|
||||
echo o16 - 16-bit OS/2 console mode
|
||||
echo o32 - 32-bit OS/2 console mode
|
||||
echo p32 - 32-bit OS/2 Presentation Manager
|
||||
echo snp - 32-bit SciTech Snap application
|
||||
echo linux - 32-bit Linux application
|
||||
goto end
|
||||
|
||||
rem -------------------------------------------------------------------------
|
||||
rem Setup for the specified compiler
|
||||
|
||||
:bc31-d16
|
||||
call bc31-d16.bat
|
||||
goto compileit
|
||||
|
||||
:bc45-d16
|
||||
call bc45-d16.bat
|
||||
goto compileit
|
||||
|
||||
:bc45-d32
|
||||
call bc45-d32.bat
|
||||
goto compileit
|
||||
|
||||
:bc45-tnt
|
||||
call bc45-tnt.bat
|
||||
goto compileit
|
||||
|
||||
:bc45-w16
|
||||
call bc45-w16.bat
|
||||
goto compileit
|
||||
|
||||
:bc45-w32
|
||||
call bc45-w32.bat
|
||||
goto compileit
|
||||
|
||||
:bc45-c32
|
||||
call bc45-c32.bat
|
||||
goto compileit
|
||||
|
||||
:bc45-vxd
|
||||
call bc45-vxd.bat
|
||||
goto compileit
|
||||
|
||||
:bc50-d16
|
||||
call bc50-d16.bat
|
||||
goto compileit
|
||||
|
||||
:bc50-d32
|
||||
call bc50-d32.bat
|
||||
goto compileit
|
||||
|
||||
:bc50-tnt
|
||||
call bc50-tnt.bat
|
||||
goto compileit
|
||||
|
||||
:bc50-w16
|
||||
call bc50-w16.bat
|
||||
goto compileit
|
||||
|
||||
:bc50-w32
|
||||
call bc50-w32.bat
|
||||
goto compileit
|
||||
|
||||
:bc50-c32
|
||||
call bc50-c32.bat
|
||||
goto compileit
|
||||
|
||||
:bc50-vxd
|
||||
call bc50-vxd.bat
|
||||
goto compileit
|
||||
|
||||
:gcc2-d32
|
||||
call gcc2-d32.bat
|
||||
goto compileit
|
||||
|
||||
:gcc2-w32
|
||||
call gcc2-w32.bat
|
||||
goto compileit
|
||||
|
||||
:gcc2-c32
|
||||
call gcc2-c32.bat
|
||||
goto compileit
|
||||
|
||||
:gcc2-linux
|
||||
call gcc2-linux.bat
|
||||
goto compileit
|
||||
|
||||
:sc70-d16
|
||||
call sc70-d16.bat
|
||||
goto compileit
|
||||
|
||||
:sc70-w16
|
||||
call sc70-w16.bat
|
||||
goto compileit
|
||||
|
||||
:sc70-tnt
|
||||
call sc70-tnt.bat
|
||||
goto compileit
|
||||
|
||||
:sc70-w32
|
||||
call sc70-w32.bat
|
||||
goto compileit
|
||||
|
||||
:sc70-c32
|
||||
call sc70-c32.bat
|
||||
goto compileit
|
||||
|
||||
:vc40-d16
|
||||
call vc40-d16.bat
|
||||
goto compileit
|
||||
|
||||
:vc40-tnt
|
||||
call vc40-tnt.bat
|
||||
goto compileit
|
||||
|
||||
:vc40-w16
|
||||
call vc40-w16.bat
|
||||
goto compileit
|
||||
|
||||
:vc40-w32
|
||||
call vc40-w32.bat
|
||||
goto compileit
|
||||
|
||||
:vc40-c32
|
||||
call vc40-c32.bat
|
||||
goto compileit
|
||||
|
||||
:vc40-drv9x
|
||||
call vc40-drv9x.bat
|
||||
goto compileit
|
||||
|
||||
:vc40-drvnt
|
||||
call vc40-drvnt.bat
|
||||
goto compileit
|
||||
|
||||
:vc40-rtt
|
||||
call vc40-rtt.bat
|
||||
goto compileit
|
||||
|
||||
:vc50-d16
|
||||
call vc50-d16.bat
|
||||
goto compileit
|
||||
|
||||
:vc50-tnt
|
||||
call vc50-tnt.bat
|
||||
goto compileit
|
||||
|
||||
:vc50-w16
|
||||
call vc50-w16.bat
|
||||
goto compileit
|
||||
|
||||
:vc50-w32
|
||||
call vc50-w32.bat
|
||||
goto compileit
|
||||
|
||||
:vc50-c32
|
||||
call vc50-c32.bat
|
||||
goto compileit
|
||||
|
||||
:vc50-drv9x
|
||||
call vc50-drv9x.bat
|
||||
goto compileit
|
||||
|
||||
:vc50-drvnt
|
||||
call vc50-drvnt.bat
|
||||
goto compileit
|
||||
|
||||
:vc50-rtt
|
||||
call vc50-rtt.bat
|
||||
goto compileit
|
||||
|
||||
:vc60-d16
|
||||
call vc60-d16.bat
|
||||
goto compileit
|
||||
|
||||
:vc60-tnt
|
||||
call vc60-tnt.bat
|
||||
goto compileit
|
||||
|
||||
:vc60-w16
|
||||
call vc60-w16.bat
|
||||
goto compileit
|
||||
|
||||
:vc60-w32
|
||||
call vc60-w32.bat
|
||||
goto compileit
|
||||
|
||||
:vc60-c32
|
||||
call vc60-c32.bat
|
||||
goto compileit
|
||||
|
||||
:vc60-drv9x
|
||||
call vc60-drv9x.bat
|
||||
goto compileit
|
||||
|
||||
:vc60-drvnt
|
||||
call vc60-drvnt.bat
|
||||
goto compileit
|
||||
|
||||
:vc60-drvw2k
|
||||
call vc60-drvw2k.bat
|
||||
goto compileit
|
||||
|
||||
:vc60-rtt
|
||||
call vc60-rtt.bat
|
||||
goto compileit
|
||||
|
||||
:wc10ad16
|
||||
call wc10ad16.bat
|
||||
goto compileit
|
||||
|
||||
:wc10ad32
|
||||
call wc10ad32.bat
|
||||
goto compileit
|
||||
|
||||
:wc10atnt
|
||||
call wc10atnt.bat
|
||||
goto compileit
|
||||
|
||||
:wc10aw16
|
||||
call wc10aw16.bat
|
||||
goto compileit
|
||||
|
||||
:wc10aw32
|
||||
call wc10aw32.bat
|
||||
goto compileit
|
||||
|
||||
:wc10ac32
|
||||
call wc10ac32.bat
|
||||
goto compileit
|
||||
|
||||
:wc10ao32
|
||||
call wc10ao32.bat
|
||||
goto compileit
|
||||
|
||||
:wc10ap32
|
||||
call wc10ap32.bat
|
||||
goto compileit
|
||||
|
||||
:wc10-d16
|
||||
call wc10-d16.bat
|
||||
goto compileit
|
||||
|
||||
:wc10-d32
|
||||
call wc10-d32.bat
|
||||
goto compileit
|
||||
|
||||
:wc10-tnt
|
||||
call wc10-tnt.bat
|
||||
goto compileit
|
||||
|
||||
:wc10-w16
|
||||
call wc10-w16.bat
|
||||
goto compileit
|
||||
|
||||
:wc10-w32
|
||||
call wc10-w32.bat
|
||||
goto compileit
|
||||
|
||||
:wc10-c32
|
||||
call wc10-c32.bat
|
||||
goto compileit
|
||||
|
||||
:wc10-o32
|
||||
call wc10-o32.bat
|
||||
goto compileit
|
||||
|
||||
:wc10-p32
|
||||
call wc10-p32.bat
|
||||
goto compileit
|
||||
|
||||
:wc11-d16
|
||||
call wc11-d16.bat
|
||||
goto compileit
|
||||
|
||||
:wc11-d32
|
||||
call wc11-d32.bat
|
||||
goto compileit
|
||||
|
||||
:wc11-tnt
|
||||
call wc11-tnt.bat
|
||||
goto compileit
|
||||
|
||||
:wc11-w16
|
||||
call wc11-w16.bat
|
||||
goto compileit
|
||||
|
||||
:wc11-w32
|
||||
call wc11-w32.bat
|
||||
goto compileit
|
||||
|
||||
:wc11-c32
|
||||
call wc11-c32.bat
|
||||
goto compileit
|
||||
|
||||
:wc11-o32
|
||||
call wc11-o32.bat
|
||||
goto compileit
|
||||
|
||||
:wc11-p32
|
||||
call wc11-p32.bat
|
||||
goto compileit
|
||||
|
||||
:compileit
|
||||
k_rm -f *.lib *.a
|
||||
dmake %2 %3 %4 %5 %6 %7 %8 %9
|
||||
if errorlevel 1 goto errorend
|
||||
goto end
|
||||
|
||||
:errorend
|
||||
echo *************************************************
|
||||
echo * An error occurred while building the library. *
|
||||
echo *************************************************
|
||||
:end
|
|
@ -1,6 +0,0 @@
|
|||
@echo off
|
||||
%1
|
||||
cd %3
|
||||
%4 %5 %6 %7 %8 %9
|
||||
%2
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
#! /bin/sh
|
||||
|
||||
cd $1
|
||||
PROG=$2
|
||||
shift 2
|
||||
rm -f *.lib *.a
|
||||
$PROG $*
|
||||
RET=$?
|
||||
cd ..
|
||||
exit $RET
|
|
@ -1,5 +0,0 @@
|
|||
@echo off
|
||||
cd %1
|
||||
k_rm -f *.lib *.a
|
||||
shift 1
|
||||
%1 %2 %3 %4 %5 %6 %7 %8 %9
|
|
@ -1,46 +0,0 @@
|
|||
#= Don't edit this line unless you move djgpp.env outside
|
||||
#= of the djgpp installation directory. If you do move
|
||||
#= it, set DJDIR to the directory you installed DJGPP in.
|
||||
#=
|
||||
DJDIR=%:/>DJGPP%
|
||||
|
||||
+USER=dosuser
|
||||
+TMPDIR=%DJDIR%/tmp
|
||||
+EMU387=%DJDIR%/bin/emu387.dxe
|
||||
+LFN=y
|
||||
|
||||
[bison]
|
||||
BISON_HAIRY=%DJDIR%/lib/bison.hai
|
||||
BISON_SIMPLE=%DJDIR%/lib/bison.sim
|
||||
|
||||
[cpp]
|
||||
CPLUS_INCLUDE_PATH=%/>;CPLUS_INCLUDE_PATH%include;%SCITECH%/include;%PRIVATE%/include;.;%DJDIR%/lang/cxx;%DJDIR%/include;%DJDIR%/contrib/grx20/include
|
||||
C_INCLUDE_PATH=%/>;C_INCLUDE_PATH%include;%SCITECH%/include;%PRIVATE%/include;.;%DJDIR%/include;%DJDIR%/contrib/grx20/include
|
||||
OBJCPLUS_INCLUDE_PATH=%/>;OBJCPLUS_INCLUDE_PATH%%DJDIR%/include;%DJDIR%/lang/objc
|
||||
OBJC_INCLUDE_PATH=%/>;OBJC_INCLUDE_PATH%%DJDIR%/include;%DJDIR%/lang/objc
|
||||
|
||||
[gcc]
|
||||
COMPILER_PATH=%/>;COMPILER_PATH%%DJDIR%/bin
|
||||
LIBRARY_PATH=%/>;LIBRARY_PATH%%DJDIR%/lib;%DJDIR%/contrib/grx20/lib;%SCITECH%/lib/release/dos32/dj2
|
||||
|
||||
[info]
|
||||
INFOPATH=%/>;INFOPATH%%DJDIR%/info;%DJDIR%/gnu/emacs/info
|
||||
INFO_COLORS=0x1f.0x31
|
||||
|
||||
[emacs]
|
||||
INFOPATH=%/>;INFOPATH%%DJDIR%/info;%DJDIR%/gnu/emacs/info
|
||||
|
||||
[less]
|
||||
LESSBINFMT=*k<%X>
|
||||
LESSCHARDEF=8bcccbcc12bc5b95.b127.b
|
||||
LESS=%LESS% -h5$y5$Dd2.0$Du14.0$Ds4.7$Dk9.0$
|
||||
|
||||
[locate]
|
||||
+LOCATE_PATH=%DJDIR%/lib/locatedb.dat
|
||||
|
||||
[ls]
|
||||
+LS_COLORS=no=00:fi=00:di=36:lb=37;07:cd=40;33;01:ex=32:*.cmd=32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.deb=01;31:*.jpg=01;34:*.gif=01;34:*.bmp=01;34:*.ppm=01;34:*.tga=01;34:*.xbm=01;34:*.xpm=01;34:*.tif=01;34:*.mpg=01;37:*.avi=01;37:*.gl=01;37:*.dl=01;37:*~=08:*.bak=08:
|
||||
[dir]
|
||||
+LS_COLORS=no=00:fi=00:di=36:lb=37;07:cd=40;33;01:ex=32:*.cmd=32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.deb=01;31:*.jpg=01;34:*.gif=01;34:*.bmp=01;34:*.ppm=01;34:*.tga=01;34:*.xbm=01;34:*.xpm=01;34:*.tif=01;34:*.mpg=01;37:*.avi=01;37:*.gl=01;37:*.dl=01;37:*~=08:*.bak=08:
|
||||
[vdir]
|
||||
+LS_COLORS=no=00:fi=00:di=36:lb=37;07:cd=40;33;01:ex=32:*.cmd=32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.deb=01;31:*.jpg=01;34:*.gif=01;34:*.bmp=01;34:*.ppm=01;34:*.tga=01;34:*.xbm=01;34:*.xpm=01;34:*.tif=01;34:*.mpg=01;37:*.avi=01;37:*.gl=01;37:*.dl=01;37:*~=08:*.bak=08:
|
|
@ -1,46 +0,0 @@
|
|||
#= Don't edit this line unless you move djgpp.env outside
|
||||
#= of the djgpp installation directory. If you do move
|
||||
#= it, set DJDIR to the directory you installed DJGPP in.
|
||||
#=
|
||||
DJDIR=%:/>DJGPP%
|
||||
|
||||
+USER=dosuser
|
||||
+TMPDIR=%DJDIR%/tmp
|
||||
+EMU387=%DJDIR%/bin/emu387.dxe
|
||||
+LFN=y
|
||||
|
||||
[bison]
|
||||
BISON_HAIRY=%DJDIR%/lib/bison.hai
|
||||
BISON_SIMPLE=%DJDIR%/lib/bison.sim
|
||||
|
||||
[cpp]
|
||||
CPLUS_INCLUDE_PATH=%/>;CPLUS_INCLUDE_PATH%include;%SCITECH%/include;%PRIVATE%/include;.;%DJDIR%/lang/cxx;%DJDIR%/include;%DJDIR%/contrib/grx20/include
|
||||
C_INCLUDE_PATH=%/>;C_INCLUDE_PATH%include;%SCITECH%/include;%PRIVATE%/include;.;%DJDIR%/include;%DJDIR%/contrib/grx20/include
|
||||
OBJCPLUS_INCLUDE_PATH=%/>;OBJCPLUS_INCLUDE_PATH%%DJDIR%/include;%DJDIR%/lang/objc
|
||||
OBJC_INCLUDE_PATH=%/>;OBJC_INCLUDE_PATH%%DJDIR%/include;%DJDIR%/lang/objc
|
||||
|
||||
[gcc]
|
||||
COMPILER_PATH=%/>;COMPILER_PATH%%DJDIR%/bin
|
||||
LIBRARY_PATH=%/>;LIBRARY_PATH%%DJDIR%/lib;%DJDIR%/contrib/grx20/lib;%SCITECH%/lib/debug/dos32/dj2
|
||||
|
||||
[info]
|
||||
INFOPATH=%/>;INFOPATH%%DJDIR%/info;%DJDIR%/gnu/emacs/info
|
||||
INFO_COLORS=0x1f.0x31
|
||||
|
||||
[emacs]
|
||||
INFOPATH=%/>;INFOPATH%%DJDIR%/info;%DJDIR%/gnu/emacs/info
|
||||
|
||||
[less]
|
||||
LESSBINFMT=*k<%X>
|
||||
LESSCHARDEF=8bcccbcc12bc5b95.b127.b
|
||||
LESS=%LESS% -h5$y5$Dd2.0$Du14.0$Ds4.7$Dk9.0$
|
||||
|
||||
[locate]
|
||||
+LOCATE_PATH=%DJDIR%/lib/locatedb.dat
|
||||
|
||||
[ls]
|
||||
+LS_COLORS=no=00:fi=00:di=36:lb=37;07:cd=40;33;01:ex=32:*.cmd=32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.deb=01;31:*.jpg=01;34:*.gif=01;34:*.bmp=01;34:*.ppm=01;34:*.tga=01;34:*.xbm=01;34:*.xpm=01;34:*.tif=01;34:*.mpg=01;37:*.avi=01;37:*.gl=01;37:*.dl=01;37:*~=08:*.bak=08:
|
||||
[dir]
|
||||
+LS_COLORS=no=00:fi=00:di=36:lb=37;07:cd=40;33;01:ex=32:*.cmd=32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.deb=01;31:*.jpg=01;34:*.gif=01;34:*.bmp=01;34:*.ppm=01;34:*.tga=01;34:*.xbm=01;34:*.xpm=01;34:*.tif=01;34:*.mpg=01;37:*.avi=01;37:*.gl=01;37:*.dl=01;37:*~=08:*.bak=08:
|
||||
[vdir]
|
||||
+LS_COLORS=no=00:fi=00:di=36:lb=37;07:cd=40;33;01:ex=32:*.cmd=32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.deb=01;31:*.jpg=01;34:*.gif=01;34:*.bmp=01;34:*.ppm=01;34:*.tga=01;34:*.xbm=01;34:*.xpm=01;34:*.tif=01;34:*.mpg=01;37:*.avi=01;37:*.gl=01;37:*.dl=01;37:*~=08:*.bak=08:
|
|
@ -1 +0,0 @@
|
|||
perl c:\scitech\src\perl\findint3.per
|
|
@ -1,16 +0,0 @@
|
|||
#! /bin/sh
|
||||
|
||||
# Setup for compiling with GCC/G++ for BeOS
|
||||
|
||||
if [ "$CHECKED" = "1" ]; then
|
||||
echo Checked debug build enabled.
|
||||
else
|
||||
echo Release build enabled.
|
||||
fi
|
||||
|
||||
export MAKESTARTUP=$SCITECH/makedefs/gcc_beos.mk
|
||||
export INCLUDE="-Iinclude -I$SCITECH/include -I$PRIVATE/include"
|
||||
export USE_X11=0
|
||||
export USE_BEOS=1
|
||||
|
||||
echo GCC BeOS console compilation environment set up
|
|
@ -1,16 +0,0 @@
|
|||
#! /bin/sh
|
||||
|
||||
# Setup for compiling with GCC/G++ for FreeBSD
|
||||
|
||||
if [ "$CHECKED" = "1" ]; then
|
||||
echo Checked debug build enabled.
|
||||
else
|
||||
echo Release build enabled.
|
||||
fi
|
||||
|
||||
export MAKESTARTUP=$SCITECH/makedefs/gcc_freebsd.mk
|
||||
export INCLUDE="-Iinclude -I$SCITECH/include -I$PRIVATE/include"
|
||||
export USE_X11=1
|
||||
export USE_FREEBSD=1
|
||||
|
||||
echo GCC FreeBSD console compilation environment set up
|
|
@ -1,19 +0,0 @@
|
|||
#! /bin/sh
|
||||
|
||||
# Setup for compiling with GCC/G++ for Linux
|
||||
|
||||
if [ "$CHECKED" = "1" ]; then
|
||||
echo Checked debug build enabled.
|
||||
else
|
||||
echo Release build enabled.
|
||||
fi
|
||||
|
||||
export MAKESTARTUP=$SCITECH/makedefs/gcc_linux.mk
|
||||
export INCLUDE="include;$SCITECH/include;$PRIVATE/include"
|
||||
export USE_LINUX=1
|
||||
|
||||
if [ "x$LIBC" = x ]; then
|
||||
echo "GCC Linux console compilation environment set up (glib)"
|
||||
else
|
||||
echo "GCC Linux console compilation environment set up (libc5)"
|
||||
fi
|
|
@ -1,26 +0,0 @@
|
|||
@echo off
|
||||
REM Setup for compiling with GNU C compiler
|
||||
|
||||
if .%CHECKED%==.1 goto checked_build
|
||||
set LIB=%SCITECH_LIB%\LIB\release\win32\gcc2
|
||||
echo Release build enabled.
|
||||
goto setvars
|
||||
|
||||
:checked_build
|
||||
set LIB=%SCITECH_LIB%\LIB\debug\win32\gcc2
|
||||
echo Checked debug build enabled.
|
||||
goto setvars
|
||||
|
||||
:setvars
|
||||
set INCLUDE=include;%SCITECH%\include;%PRIVATE%\include
|
||||
set MAKESTARTUP=%SCITECH%\makedefs\gcc_win32.mk
|
||||
set MAKE_MODE=
|
||||
set USE_WIN16=
|
||||
set USE_WIN32=1
|
||||
set WIN32_GUI=
|
||||
set USE_SNAP=
|
||||
set GCC_LIBBASE=gcc2
|
||||
PATH %SCITECH_BIN%;%GCC2_PATH%\NATIVE\BIN;%DEFPATH%
|
||||
|
||||
echo GCC 2.9.x 32-bit Win32 console compilation environment set up
|
||||
|
|
@ -1,28 +0,0 @@
|
|||
@echo off
|
||||
REM Setup for compiling with DJGPP 2.02
|
||||
|
||||
if .%CHECKED%==.1 goto checked_build
|
||||
set LIB=%SCITECH_LIB%\LIB\release\dos32\dj2
|
||||
%SCITECH%\bin-dos\k_cp %SCITECH%\BIN\DJGPP.ENV %DJ_PATH%\DJGPP.ENV
|
||||
echo Release build enabled.
|
||||
goto setvars
|
||||
|
||||
:checked_build
|
||||
set LIB=%SCITECH_LIB%\LIB\debug\dos32\dj2
|
||||
%SCITECH%\bin-dos\k_cp %SCITECH%\BIN\DJGPP_DB.ENV %DJ_PATH%\DJGPP.ENV
|
||||
echo Checked debug build enabled.
|
||||
goto setvars
|
||||
|
||||
:setvars
|
||||
set DJGPP=%DJ_PATH%\DJGPP.ENV
|
||||
set INCLUDE=INCLUDE;%SCITECH%\INCLUDE;%PRIVATE%\INCLUDE;%DJ_PATH%\INCLUDE;
|
||||
set MAKESTARTUP=%SCITECH%\MAKEDEFS\DJ32.MK
|
||||
set USE_WIN16=
|
||||
set USE_WIN32=
|
||||
set WIN32_GUI=
|
||||
set USE_SNAP=
|
||||
set DJ_LIBBASE=dj2
|
||||
PATH %SCITECH_BIN%;%DJ_PATH%\BIN;%DEFPATH%
|
||||
|
||||
echo DJGPP 2.02 32-bit DOS compilation environment set up (DPMI).
|
||||
|
|
@ -1,26 +0,0 @@
|
|||
@echo off
|
||||
REM Setup for compiling with GNU C cross-compiler
|
||||
|
||||
if .%CHECKED%==.1 goto checked_build
|
||||
set LIB=%SCITECH_LIB%\LIB\release\win32\gcc2
|
||||
echo Release build enabled.
|
||||
goto setvars
|
||||
|
||||
:checked_build
|
||||
set LIB=%SCITECH_LIB%\LIB\debug\win32\gcc2
|
||||
echo Checked debug build enabled.
|
||||
goto setvars
|
||||
|
||||
:setvars
|
||||
set INCLUDE=include;%SCITECH%\include;%PRIVATE%\include
|
||||
set MAKESTARTUP=%SCITECH%\MAKEDEFS\gcc_linux.mk
|
||||
set MAKE_MODE=UNIX
|
||||
set USE_WIN16=
|
||||
set USE_WIN32=
|
||||
set WIN32_GUI=
|
||||
set USE_SNAP=
|
||||
set GCC_LIBBASE=gcc2
|
||||
PATH %SCITECH_BIN%;%GCC2_PATH%\cross-linux\i386-redhat-linux\BIN;%DEFPATH%
|
||||
|
||||
echo GCC 2.9.x 32-bit Linux console cross compilation environment set up
|
||||
|
|
@ -1,26 +0,0 @@
|
|||
@echo off
|
||||
REM Setup for compiling with GNU C compiler
|
||||
|
||||
if .%CHECKED%==.1 goto checked_build
|
||||
set LIB=%SCITECH_LIB%\LIB\release\win32\gcc2
|
||||
echo Release build enabled.
|
||||
goto setvars
|
||||
|
||||
:checked_build
|
||||
set LIB=%SCITECH_LIB%\LIB\debug\win32\gcc2
|
||||
echo Checked debug build enabled.
|
||||
goto setvars
|
||||
|
||||
:setvars
|
||||
set INCLUDE=include;%SCITECH%\include;%PRIVATE%\include
|
||||
set MAKESTARTUP=%SCITECH%\makedefs\gcc_win32.mk
|
||||
set MAKE_MODE=
|
||||
set USE_WIN16=
|
||||
set USE_WIN32=1
|
||||
set WIN32_GUI=1
|
||||
set USE_SNAP=
|
||||
set GCC_LIBBASE=gcc2
|
||||
PATH %SCITECH_BIN%;%GCC2_PATH%\NATIVE\BIN;%DEFPATH%
|
||||
|
||||
echo GCC 2.9.x 32-bit Win32 GUI compilation environment set up
|
||||
|
|
@ -1,97 +0,0 @@
|
|||
call wc11-d32.bat
|
||||
|
||||
cd c:\private\src\license
|
||||
dmake clean
|
||||
dmake depend
|
||||
dmake -u install
|
||||
cd c:\scitech\src\pm
|
||||
dmake clean
|
||||
dmake depend
|
||||
dmake -u install
|
||||
cd c:\scitech\src\console
|
||||
dmake clean
|
||||
dmake depend
|
||||
dmake -u install
|
||||
cd c:\scitech\src\nucleus
|
||||
dmake clean
|
||||
dmake depend
|
||||
dmake -u install
|
||||
cd c:\scitech\src\zlib
|
||||
dmake clean
|
||||
dmake depend
|
||||
dmake -u install
|
||||
|
||||
cd c:\private\src\graphics\ref2d
|
||||
dmake clean
|
||||
dmake depend
|
||||
dmake -u install
|
||||
cd c:\private\src\drvlib
|
||||
dmake clean
|
||||
dmake depend
|
||||
dmake -u install
|
||||
|
||||
call wc11-w32.bat
|
||||
|
||||
cd c:\private\src\license
|
||||
dmake clean
|
||||
dmake depend
|
||||
dmake -u install
|
||||
cd c:\scitech\src\pm
|
||||
dmake clean
|
||||
dmake depend
|
||||
dmake -u install
|
||||
cd c:\scitech\src\console
|
||||
dmake clean
|
||||
dmake depend
|
||||
dmake -u install
|
||||
cd c:\scitech\src\nucleus
|
||||
dmake clean
|
||||
dmake depend
|
||||
dmake -u install
|
||||
cd c:\scitech\src\zlib
|
||||
dmake clean
|
||||
dmake depend
|
||||
dmake -u install
|
||||
|
||||
cd c:\private\src\graphics\ref2d
|
||||
dmake clean
|
||||
dmake depend
|
||||
dmake -u install
|
||||
cd c:\private\src\drvlib
|
||||
dmake clean
|
||||
dmake depend
|
||||
dmake -u install
|
||||
|
||||
call wc10-d32.bat
|
||||
|
||||
cd c:\private\src\license
|
||||
dmake clean
|
||||
dmake depend
|
||||
dmake -u install
|
||||
cd c:\scitech\src\pm
|
||||
dmake clean
|
||||
dmake depend
|
||||
dmake -u install
|
||||
cd c:\scitech\src\console
|
||||
dmake clean
|
||||
dmake depend
|
||||
dmake -u install
|
||||
cd c:\scitech\src\nucleus
|
||||
dmake clean
|
||||
dmake depend
|
||||
dmake -u install
|
||||
cd c:\scitech\src\zlib
|
||||
dmake clean
|
||||
dmake depend
|
||||
dmake -u install
|
||||
|
||||
cd c:\private\src\graphics\ref2d
|
||||
dmake clean
|
||||
dmake depend
|
||||
dmake -u install
|
||||
cd c:\private\src\drvlib
|
||||
dmake clean
|
||||
dmake depend
|
||||
dmake -u install
|
||||
|
||||
cd \private\src\graphics\drivers
|
|
@ -1,23 +0,0 @@
|
|||
#! /bin/sh
|
||||
#
|
||||
# This script generates a single object file from a set of libraries (*.a files)
|
||||
# Usage: meltobjs.sh target.o library1.a library2.a ...
|
||||
#
|
||||
# (C) SciTech Software, Inc. 1998
|
||||
#
|
||||
|
||||
TMPDIR=/tmp/melt$$
|
||||
TARGET=$1
|
||||
TARGETDIR=$PWD
|
||||
shift
|
||||
mkdir $TMPDIR
|
||||
|
||||
cd $TMPDIR
|
||||
|
||||
for a in $*
|
||||
do
|
||||
ar x $a
|
||||
done
|
||||
ld -r -o $TARGETDIR/$TARGET *.o
|
||||
|
||||
rm -fr $TMPDIR
|
|
@ -1,42 +0,0 @@
|
|||
@echo off
|
||||
REM: Set up environment variables for Microsoft Windows NT DDK development.
|
||||
REM: Note that we have hard coded this for Windows NT i386 development.
|
||||
|
||||
SET USE_NTDRV=1
|
||||
SET USE_W2KDRV=
|
||||
SET BASEDIR=%NT_DDKROOT%
|
||||
SET PATH=%BASEDIR%\bin;%PATH%
|
||||
SET NTMAKEENV=%BASEDIR%\inc
|
||||
SET BUILD_MAKE_PROGRAM=nmake.exe
|
||||
SET BUILD_DEFAULT=-ei -nmake -i
|
||||
SET BUILD_DEFAULT_TARGETS=-386
|
||||
SET _OBJ_DIR=obj
|
||||
SET NEW_CRTS=1
|
||||
SET _NTROOT=%BASEDIR%
|
||||
SET INCLUDE=%BASEDIR%\inc;%INCLUDE%
|
||||
|
||||
if .%CHECKED%==.1 goto checked
|
||||
|
||||
REM: set up an NT free build environment
|
||||
SET DDKBUILDENV=free
|
||||
SET C_DEFINES=-D_IDWBUILD
|
||||
SET NTDBGFILES=1
|
||||
SET NTDEBUG=
|
||||
SET NTDEBUGTYPE=
|
||||
SET MSC_OPTIMIZATION=
|
||||
set LIB=%BASEDIR%\lib\i386\free;%SCITECH_LIB%\LIB\RELEASE\NTDRV\VC6;%MSVCDir%\LIB;.
|
||||
|
||||
goto done
|
||||
|
||||
:checked
|
||||
|
||||
REM: set up an NT checked build environment
|
||||
SET DDKBUILDENV=checked
|
||||
SET C_DEFINES=-D_IDWBUILD -DRDRDBG -DSRVDBG
|
||||
SET NTDBGFILES=
|
||||
SET NTDEBUG=ntsd
|
||||
SET NTDEBUGTYPE=both
|
||||
SET MSC_OPTIMIZATION=/Od /Oi
|
||||
set LIB=%BASEDIR%\lib\i386\free;%SCITECH_LIB%\LIB\DEBUG\NTDRV\VC6;%MSVCDir%\LIB;.
|
||||
|
||||
:done
|
|
@ -1,18 +0,0 @@
|
|||
#! /bin/sh
|
||||
|
||||
# Setup for compiling with Watcom C/C++ for QNX4
|
||||
|
||||
if [ "$CHECKED" = "1" ]; then
|
||||
echo Checked debug build enabled.
|
||||
else
|
||||
echo Release build enabled.
|
||||
fi
|
||||
|
||||
export MAKESTARTUP=$SCITECH/makedefs/qnx4.mk
|
||||
export INCLUDE="-I$SCITECH/include -I$PRIVATE/include -I/usr/include"
|
||||
export USE_QNX=1
|
||||
export USE_QNX4=1
|
||||
export WC_LIBBASE=wc10
|
||||
|
||||
echo Qnx 4 console compilation environment set up
|
||||
|
|
@ -1,21 +0,0 @@
|
|||
#! /bin/sh
|
||||
|
||||
# Setup for compiling with Watcom C/C++ for QNX Neutrino
|
||||
|
||||
if [ "$CHECKED" = "1" ]; then
|
||||
echo Checked debug build enabled.
|
||||
else
|
||||
echo Release build enabled.
|
||||
fi
|
||||
|
||||
if [ X$GCC_PATH = "X" ]; then
|
||||
export GCC_PATH=/usr/gcc/bin
|
||||
fi
|
||||
|
||||
export MAKESTARTUP=$SCITECH/makedefs/qnxnto.mk
|
||||
export INCLUDE="-I$SCITECH/include -I$PRIVATE/include -I/usr/nto/include"
|
||||
export USE_BIOS=1 # VBIOS lib is tiny under Neutrino, always include it
|
||||
export USE_QNX=1
|
||||
export USE_QNXNTO=1
|
||||
|
||||
echo Qnx Neutrino console compilation environment set up
|
|
@ -1,42 +0,0 @@
|
|||
#! /bin/sh
|
||||
|
||||
# BeOS VERSION
|
||||
# Set the place where SciTech Software is installed, and where each
|
||||
# of the supported compilers is installed. These environment variables
|
||||
# are used by the batch files in the SCITECH\BIN directory.
|
||||
#
|
||||
# Modify the as appropriate for your compiler configuration (you should
|
||||
# only need to change things in this batch file).
|
||||
#
|
||||
# This version is for a normal BeOS installation.
|
||||
|
||||
# The SCITECH variable points to where batch files, makefile startups,
|
||||
# include files and source files will be found when compiling.
|
||||
|
||||
export SCITECH=$MGL_ROOT
|
||||
|
||||
# The SCITECH_LIB variable points to where the SciTech libraries live
|
||||
# for installation and linking. This allows you to have the source and
|
||||
# include files on local machines for compiling and have the libraries
|
||||
# located on a common network machine (for network builds).
|
||||
|
||||
export SCITECH_LIB=$SCITECH
|
||||
|
||||
# The PRIVATE variable points to where private source files reside that
|
||||
# do not live in the public source tree
|
||||
|
||||
export PRIVATE=$HOME/private
|
||||
|
||||
# The following define the locations of all the compilers that you may
|
||||
# be using. Change them to reflect where you have installed your
|
||||
# compilers.
|
||||
|
||||
export GCC_PATH=/boot/develop/tools/gnupro/bin
|
||||
|
||||
# Add the Scitech bin path to the current PATH
|
||||
export PATH=$SCITECH/bin:$SCITECH/bin-beos:$PATH
|
||||
#if [ "x$LIBC" = x ]; then
|
||||
# export PATH=$PATH:$SCITECH/bin-beos/glibc
|
||||
#else
|
||||
# export PATH=$PATH:$SCITECH/bin-beos/libc
|
||||
#fi
|
|
@ -1,37 +0,0 @@
|
|||
#! /bin/sh
|
||||
|
||||
# LINUX VERSION
|
||||
# Set the place where SciTech Software is installed, and where each
|
||||
# of the supported compilers is installed. These environment variables
|
||||
# are used by the batch files in the SCITECH\BIN directory.
|
||||
#
|
||||
# Modify the as appropriate for your compiler configuration (you should
|
||||
# only need to change things in this batch file).
|
||||
#
|
||||
# This version is for a normal Linux installation.
|
||||
|
||||
# The SCITECH variable points to where batch files, makefile startups,
|
||||
# include files and source files will be found when compiling.
|
||||
|
||||
export SCITECH=$MGL_ROOT
|
||||
|
||||
# The SCITECH_LIB variable points to where the SciTech libraries live
|
||||
# for installation and linking. This allows you to have the source and
|
||||
# include files on local machines for compiling and have the libraries
|
||||
# located on a common network machine (for network builds).
|
||||
|
||||
export SCITECH_LIB=$SCITECH
|
||||
|
||||
# The PRIVATE variable points to where private source files reside that
|
||||
# do not live in the public source tree
|
||||
|
||||
export PRIVATE=$HOME/private
|
||||
|
||||
# The following define the locations of all the compilers that you may
|
||||
# be using. Change them to reflect where you have installed your
|
||||
# compilers.
|
||||
|
||||
export GCC_PATH=/usr/bin
|
||||
|
||||
# Add the Scitech bin path to the current PATH
|
||||
export PATH=$SCITECH/bin:$SCITECH/bin-freebsd:$PATH
|
|
@ -1,43 +0,0 @@
|
|||
#! /bin/sh
|
||||
|
||||
# LINUX VERSION
|
||||
# Set the place where SciTech Software is installed, and where each
|
||||
# of the supported compilers is installed. These environment variables
|
||||
# are used by the batch files in the SCITECH\BIN directory.
|
||||
#
|
||||
# Modify the as appropriate for your compiler configuration (you should
|
||||
# only need to change things in this batch file).
|
||||
#
|
||||
# This version is for a normal Linux installation.
|
||||
|
||||
# The SCITECH variable points to where batch files, makefile startups,
|
||||
# include files and source files will be found when compiling.
|
||||
|
||||
export SCITECH=$MGL_ROOT
|
||||
|
||||
# The SCITECH_LIB variable points to where the SciTech libraries live
|
||||
# for installation and linking. This allows you to have the source and
|
||||
# include files on local machines for compiling and have the libraries
|
||||
# located on a common network machine (for network builds).
|
||||
|
||||
export SCITECH_LIB=$SCITECH
|
||||
|
||||
# The PRIVATE variable points to where private source files reside that
|
||||
# do not live in the public source tree
|
||||
|
||||
export PRIVATE=$HOME/private
|
||||
|
||||
# The following define the locations of all the compilers that you may
|
||||
# be using. Change them to reflect where you have installed your
|
||||
# compilers.
|
||||
|
||||
export GCC_PATH=/usr/bin
|
||||
export TEMP=/tmp TMP=/tmp
|
||||
|
||||
# Add the Scitech bin path to the current PATH
|
||||
export PATH=$SCITECH/bin:$SCITECH/bin-linux:$PATH
|
||||
if [ "x$LIBC" = x ]; then
|
||||
export PATH=$SCITECH/bin-linux/glibc:$PATH
|
||||
else
|
||||
export PATH=$SCITECH/bin-linux/libc:$PATH
|
||||
fi
|
|
@ -1,37 +0,0 @@
|
|||
#! /bin/sh
|
||||
|
||||
# QNX 4 VERSION
|
||||
# Set the place where SciTech Software is installed, and where each
|
||||
# of the supported compilers is installed. These environment variables
|
||||
# are used by the batch files in the SCITECH\BIN directory.
|
||||
#
|
||||
# Modify the as appropriate for your compiler configuration (you should
|
||||
# only need to change things in this batch file).
|
||||
#
|
||||
# This version is for a normal Linux installation.
|
||||
|
||||
# The SCITECH variable points to where batch files, makefile startups,
|
||||
# include files and source files will be found when compiling.
|
||||
|
||||
export SCITECH=$MGL_ROOT
|
||||
|
||||
# The SCITECH_LIB variable points to where the SciTech libraries live
|
||||
# for installation and linking. This allows you to have the source and
|
||||
# include files on local machines for compiling and have the libraries
|
||||
# located on a common network machine (for network builds).
|
||||
|
||||
export SCITECH_LIB=$SCITECH
|
||||
|
||||
# The PRIVATE variable points to where private source files reside that
|
||||
# do not live in the public source tree
|
||||
|
||||
export PRIVATE=$HOME/private
|
||||
|
||||
# The following define the locations of all the compilers that you may
|
||||
# be using. Change them to reflect where you have installed your
|
||||
# compilers.
|
||||
|
||||
export WC10_PATH=/usr/watcom/10.6/usr
|
||||
|
||||
# Add the Scitech bin path to the current PATH
|
||||
export PATH=$SCITECH/bin:$SCITECH/bin-qnx:$PATH
|
|
@ -1,110 +0,0 @@
|
|||
@echo off
|
||||
REM:=========================================================================
|
||||
REM: Master batch file to set up all necessary environment variables for
|
||||
REM: the SciTech makefile utilities. This batch file should be executed
|
||||
REM: *first* before any other batch files when you start a command shell.
|
||||
REM: You should not need to modify any batch files except this one to
|
||||
REM: configure the makefile utilities.
|
||||
REM:=========================================================================
|
||||
|
||||
REM: Set the place where SciTech Software is installed, and where each
|
||||
REM: of the supported compilers is installed. These environment variables
|
||||
REM: are used by the batch files in the SCITECH\BIN directory.
|
||||
REM:
|
||||
REM: Modify the as appropriate for your compiler configuration (you should
|
||||
REM: only need to change things in this batch file).
|
||||
REM:
|
||||
REM: This version is for a normal MSDOS installation.
|
||||
|
||||
REM: The SCITECH variable points to where batch files, makefile startups,
|
||||
REM: include files and source files will be found when compiling.
|
||||
|
||||
SET SCITECH=c:\scitech
|
||||
|
||||
REM: The SCITECH_LIB variable points to where the SciTech libraries live
|
||||
REM: for installation and linking. This allows you to have the source and
|
||||
REM: include files on local machines for compiling and have the libraries
|
||||
REM: located on a common network machine (for network builds).
|
||||
|
||||
SET SCITECH_LIB=%SCITECH%
|
||||
|
||||
REM: The PRIVATE variable points to where private source files reside that
|
||||
REM: do not live in the public source tree
|
||||
|
||||
SET PRIVATE=c:\private
|
||||
|
||||
REM: The following sets up the path to the SciTech command line utilities
|
||||
REM: for the development operating system. We select either DOS hosted
|
||||
REM: tools or Win32 hosted tools depending on whether you are running
|
||||
REM: on NT or not. Windows 9x users can use the Win32 hosted tools but
|
||||
REM: they run slower, but you will have long filenames if you do this.
|
||||
|
||||
IF .%OS%==.Windows_NT goto Win32_path
|
||||
IF NOT .%WINDIR%==. goto Win32_path
|
||||
SET SCITECH_BIN=%SCITECH%\bin;%SCITECH%\bin-dos
|
||||
goto path_set
|
||||
|
||||
REM: The following sets up the path to the SciTech command line utilities
|
||||
REM: for the development operating system. This version uses the Win32
|
||||
REM: hosted tools by default, so you can use long filenames.
|
||||
|
||||
:Win32_path
|
||||
SET SCITECH_BIN=%SCITECH%\bin;%SCITECH%\bin-win32
|
||||
|
||||
:path_set
|
||||
|
||||
REM: Set the TMP variable for dmake if this is not already set
|
||||
|
||||
SET TMP=%SCITECH%
|
||||
|
||||
REM: Set the following environment variable to use the Netwide Assembler
|
||||
REM: (NASM) provided with the MGL tools to build all assembler modules.
|
||||
REM: If you have Turbo Assembler 4.0 or later and you wish to use it,
|
||||
REM: you can use it by removing the following line.
|
||||
|
||||
SET USE_NASM=1
|
||||
|
||||
REM: The following is used to set up DDK directories for device driver
|
||||
REM: development. They can safely be ignored unless you are using the
|
||||
REM: SciTech makefile utilities to build device drivers.
|
||||
|
||||
SET DDKDRIVE=c:
|
||||
SET MSSDK=c:\c\win32sdk
|
||||
SET W95_DDKROOT=c:\c\95ddk
|
||||
SET W98_DDKROOT=c:\c\98ddk
|
||||
SET NT_DDKROOT=c:\c\ntddk
|
||||
SET W2K_DDKROOT=c:\c\2000ddk
|
||||
SET MASM_ROOT=c:\c\masm611
|
||||
SET VTOOLSD=c:\c\vtd95
|
||||
SET SOFTICE_PATH=c:\c\sint
|
||||
|
||||
REM: The following define the locations of all the compilers that you may
|
||||
REM: be using. Change them to reflect where you have installed your
|
||||
REM: compilers.
|
||||
|
||||
SET BC3_PATH=c:\c\bc3
|
||||
SET BC4_PATH=c:\c\bc45
|
||||
SET BC5_PATH=c:\c\bc50
|
||||
SET BCB5_PATH=c:\c\bcb50
|
||||
SET VC_PATH=c:\c\msvc
|
||||
SET VC4_PATH=c:\c\vc42
|
||||
SET VC5_PATH=c:\c\vc50
|
||||
SET VC6_PATH=c:\c\vc60
|
||||
SET SC70_PATH=c:\c\sc75
|
||||
SET WC10A_PATH=c:\c\wc10a
|
||||
SET WC10_PATH=c:\c\wc10
|
||||
SET WC11_PATH=c:\c\wc11
|
||||
SET TNT_PATH=c:\c\tnt
|
||||
SET DJ_PATH=c:\c\djgpp
|
||||
SET GCC2_PATH=c:\unix\usr
|
||||
|
||||
REM: The following define the locations of the IDE and compiler path
|
||||
REM: tools for Visual C++. If you do a standard installation, you wont
|
||||
REM: need to change this. If however you did a custom install and changed
|
||||
REM: the paths to these directory, you will need to modify this to suit.
|
||||
|
||||
SET VC5_MSDevDir=%VC5_PATH%\sharedide
|
||||
SET VC5_MSVCDir=%VC5_PATH%\vc
|
||||
SET VC6_MSDevDir=%VC6_PATH%\common\msdev98
|
||||
SET VC6_MSVCDir=%VC6_PATH%\vc98
|
||||
|
|
@ -1,36 +0,0 @@
|
|||
@echo off
|
||||
REM Setup environment variables for Visual C++ 4.2 32 bit edition
|
||||
|
||||
if .%CHECKED%==.1 goto checked_build
|
||||
set LIB=%SCITECH_LIB%\LIB\RELEASE\WIN32\VC4;%VC4_PATH%\LIB;%TNT_PATH%\LIB;.
|
||||
echo Release build enabled.
|
||||
goto setvars
|
||||
|
||||
:checked_build
|
||||
set LIB=%SCITECH_LIB%\LIB\DEBUG\WIN32\VC4;%VC4_PATH%\LIB;%TNT_PATH%\LIB;.
|
||||
echo Checked debug build enabled.
|
||||
goto setvars
|
||||
|
||||
:setvars
|
||||
set TOOLROOTDIR=%VC4_PATH%
|
||||
set C_INCLUDE=%VC4_PATH%\INCLUDE;%TNT_PATH%\INCLUDE;
|
||||
set INCLUDE=.;INCLUDE;%SCITECH%\INCLUDE;%PRIVATE%\INCLUDE;%C_INCLUDE%
|
||||
set INIT=%VC4_PATH%
|
||||
SET MAKESTARTUP=%SCITECH%\MAKEDEFS\VC32.MK
|
||||
SET USE_TNT=
|
||||
SET USE_WIN16=
|
||||
SET USE_WIN32=1
|
||||
SET WIN32_GUI=
|
||||
SET USE_VXD=
|
||||
SET USE_NTDRV=
|
||||
SET USE_RTTARGET=
|
||||
SET USE_SNAP=
|
||||
SET VC_LIBBASE=VC4
|
||||
PATH %SCITECH_BIN%;%VC4_PATH%\BIN;%TNT_PATH%\BIN;%DEFPATH%%VC32_CD_PATH%
|
||||
|
||||
REM: Enable Win32 SDK if desired (sdk on command line)
|
||||
if NOT .%1%==.sdk goto done
|
||||
call win32sdk.bat
|
||||
|
||||
:done
|
||||
echo Visual C++ 4.2 32 bit Windows compilation environment set up
|
|
@ -1,27 +0,0 @@
|
|||
@echo off
|
||||
REM Setup environment variables for Visual C++ 1.52c 16 bit edition
|
||||
|
||||
if .%CHECKED%==.1 goto checked_build
|
||||
set LIB=%SCITECH_LIB%\LIB\RELEASE\DOS16\VC4;%VC_PATH%\LIB;.
|
||||
echo Release build enabled.
|
||||
goto setvars
|
||||
|
||||
:checked_build
|
||||
set LIB=%SCITECH_LIB%\LIB\DEBUG\DOS16\VC4;%VC_PATH%\LIB;.
|
||||
echo Checked debug build enabled.
|
||||
goto setvars
|
||||
|
||||
:setvars
|
||||
set TOOLROOTDIR=%VC_PATH%
|
||||
set INCLUDE=.;INCLUDE;%SCITECH%\INCLUDE;%PRIVATE%\INCLUDE;%VC_PATH%\INCLUDE;
|
||||
set INIT=%VC_PATH%
|
||||
SET MAKESTARTUP=%SCITECH%\MAKEDEFS\VC16.MK
|
||||
SET USE_WIN16=
|
||||
SET USE_WIN32=
|
||||
SET USE_RTTARGET=
|
||||
SET USE_SNAP=
|
||||
SET VC_LIBBASE=VC4
|
||||
PATH %SCITECH_BIN%;%VC_PATH%\BIN;%DEFPATH%%VC_CD_PATH%
|
||||
|
||||
echo Visual C++ 1.52c 16 DOS bit compilation environment set up.
|
||||
|
|
@ -1,21 +0,0 @@
|
|||
@echo off
|
||||
REM Setup environment variables for Visual C++ 4.2 32 bit edition
|
||||
|
||||
REM: First setup for Win32 console development
|
||||
call vc40-c32.bat > NUL
|
||||
|
||||
REM: Extra stuff to set up for Windows 9x DDK development
|
||||
set MASTER_MAKE=1
|
||||
set DDKROOT=%W95_DDKROOT%
|
||||
set SDKROOT=%MSSDK%
|
||||
set C16_ROOT=%VC_PATH%
|
||||
set C32_ROOT=%VC4_PATH%
|
||||
|
||||
if .%CHECKED%==.1 goto checked_build
|
||||
echo Release build enabled.
|
||||
goto done
|
||||
:checked_build
|
||||
echo Checked debug build enabled.
|
||||
goto done
|
||||
:done
|
||||
echo Visual C++ 4.2 Windows 9x driver compilation environment set up
|
|
@ -1,18 +0,0 @@
|
|||
@echo off
|
||||
REM Setup environment variables for Visual C++ 4.2 32 bit edition
|
||||
|
||||
REM: First setup for Win32 console development (with Platform SDK)
|
||||
call vc40-c32.bat sdk > NUL
|
||||
|
||||
REM: Extra stuff to set up for Windows NT DDK development
|
||||
SET BASEDIR=%NT_DDKROOT%
|
||||
SET PATH=%NT_DDKROOT%\bin;%PATH%
|
||||
|
||||
if .%CHECKED%==.1 goto checked_build
|
||||
echo Release build enabled.
|
||||
goto done
|
||||
:checked_build
|
||||
echo Checked debug build enabled.
|
||||
goto done
|
||||
:done
|
||||
echo Visual C++ 4.2 Windows NT driver compilation environment set up
|
|
@ -1,31 +0,0 @@
|
|||
@echo off
|
||||
REM Setup environment variables for Visual C++ 4.2 32 bit edition
|
||||
|
||||
if .%CHECKED%==.1 goto checked_build
|
||||
set LIB=%SCITECH_LIB%\LIB\RELEASE\SNAP\VC4;%VC4_PATH%\LIB;%TNT_PATH%\LIB;.
|
||||
echo Release build enabled.
|
||||
goto setvars
|
||||
|
||||
:checked_build
|
||||
set LIB=%SCITECH_LIB%\LIB\DEBUG\SNAP\VC4;%VC4_PATH%\LIB;%TNT_PATH%\LIB;.
|
||||
echo Checked debug build enabled.
|
||||
goto setvars
|
||||
|
||||
:setvars
|
||||
set TOOLROOTDIR=%VC4_PATH%
|
||||
set INCLUDE=.;INCLUDE;%SCITECH%\INCLUDE;%PRIVATE%\INCLUDE
|
||||
set INIT=%VC4_PATH%
|
||||
SET MAKESTARTUP=%SCITECH%\MAKEDEFS\VC32.MK
|
||||
SET USE_TNT=
|
||||
SET USE_WIN16=
|
||||
SET USE_WIN32=
|
||||
SET WIN32_GUI=
|
||||
SET USE_VXD=
|
||||
SET USE_NTDRV=
|
||||
SET USE_RTTARGET=
|
||||
SET USE_SNAP=1
|
||||
SET VC_LIBBASE=VC4
|
||||
PATH %SCITECH_BIN%;%VC4_PATH%\BIN;%TNT_PATH%\BIN;%DEFPATH%%VC32_CD_PATH%
|
||||
|
||||
echo Visual C++ 4.2 Snap compilation environment set up
|
||||
|
|
@ -1,42 +0,0 @@
|
|||
@echo off
|
||||
REM Setup environment variables for Visual C++ 4.2 32 bit edition
|
||||
|
||||
if .%CHECKED%==.1 goto checked_build
|
||||
set LIB=%SCITECH_LIB%\LIB\RELEASE\DOS32\VC4;%VC4_PATH%\LIB;%TNT_PATH%\COFFLIB;.
|
||||
echo Release build enabled.
|
||||
goto setvars
|
||||
|
||||
:checked_build
|
||||
set LIB=%SCITECH_LIB%\LIB\DEBUG\DOS32\VC4;%VC4_PATH%\LIB;%TNT_PATH%\COFFLIB;.
|
||||
echo Checked debug build enabled.
|
||||
goto setvars
|
||||
|
||||
:setvars
|
||||
set TOOLROOTDIR=%VC4_PATH%
|
||||
set INCLUDE=.;INCLUDE;%SCITECH%\INCLUDE;%PRIVATE%\INCLUDE;%VC4_PATH%\INCLUDE;%TNT_PATH%\INCLUDE;
|
||||
set INIT=%VC4_PATH%
|
||||
SET MAKESTARTUP=%SCITECH%\MAKEDEFS\VC32.MK
|
||||
SET USE_WIN16=
|
||||
SET USE_WIN32=
|
||||
SET USE_TNT=
|
||||
SET USE_VXD=
|
||||
SET USE_NTDRV=
|
||||
SET USE_RTTARGET=
|
||||
SET USE_SNAP=
|
||||
SET VC_LIBBASE=VC4
|
||||
PATH %SCITECH_BIN%;%VC4_PATH%\BIN;%TNT_PATH%\BIN;%DEFPATH%%VC32_CD_PATH%
|
||||
|
||||
REM If you set the following to a 1, a TNT DosStyle app will be created.
|
||||
REM Otherwise a TNT NtStyle app will be created. NtStyle apps will *only*
|
||||
REM run under real DOS when using our libraries, since we require access
|
||||
REM to functions that the Win32 API does not support (such as direct access
|
||||
REM to video memory, calling Int 10h BIOS functions etc). DosStyle apps
|
||||
REM will however run fine in both DOS and a Win95 DOS box (NT DOS boxes don't
|
||||
REM work too well).
|
||||
REM
|
||||
REM If you are using the RealTime DOS extender, your apps *must* be NtStyle,
|
||||
REM and hence will never be able to run under Win95 or WinNT, only DOS.
|
||||
|
||||
SET DOSSTYLE=
|
||||
|
||||
echo Visual C++ 4.2 32-bit DOS compilation environment set up (TNT).
|
|
@ -1,26 +0,0 @@
|
|||
@echo off
|
||||
REM Setup environment variables for Visual C++ 1.52c 16 bit edition
|
||||
|
||||
if .%CHECKED%==.1 goto checked_build
|
||||
set LIB=%SCITECH_LIB%\LIB\RELEASE\WIN16\VC4;%VC_PATH%\LIB;.
|
||||
echo Release build enabled.
|
||||
goto setvars
|
||||
|
||||
:checked_build
|
||||
set LIB=%SCITECH_LIB%\LIB\DEBUG\WIN16\VC4;%VC_PATH%\LIB;.
|
||||
echo Checked debug build enabled.
|
||||
goto setvars
|
||||
|
||||
:setvars
|
||||
set TOOLROOTDIR=%VC_PATH%
|
||||
set INCLUDE=.;INCLUDE;%SCITECH%\INCLUDE;%PRIVATE%\INCLUDE;%VC_PATH%\INCLUDE;
|
||||
set INIT=%VC_PATH%
|
||||
SET MAKESTARTUP=%SCITECH%\MAKEDEFS\VC16.MK
|
||||
SET USE_WIN16=1
|
||||
SET USE_WIN32=
|
||||
SET VC_LIBBASE=VC4
|
||||
SET USE_RTTARGET=
|
||||
SET USE_SNAP=
|
||||
PATH %SCITECH_BIN%;%VC_PATH%\BIN;%DEFPATH%%VC_CD_PATH%
|
||||
|
||||
echo Visual C++ 1.52c 16 bit Windows compilation environment set up.
|
|
@ -1,37 +0,0 @@
|
|||
@echo off
|
||||
REM Setup environment variables for Visual C++ 4.2 32 bit edition
|
||||
|
||||
if .%CHECKED%==.1 goto checked_build
|
||||
set LIB=%SCITECH_LIB%\LIB\RELEASE\WIN32\VC4;%VC4_PATH%\LIB;%TNT_PATH%\LIB;.
|
||||
echo Release build enabled.
|
||||
goto setvars
|
||||
|
||||
:checked_build
|
||||
set LIB=%SCITECH_LIB%\LIB\DEBUG\WIN32\VC4;%VC4_PATH%\LIB;%TNT_PATH%\LIB;.
|
||||
echo Checked debug build enabled.
|
||||
goto setvars
|
||||
|
||||
:setvars
|
||||
set TOOLROOTDIR=%VC4_PATH%
|
||||
set C_INCLUDE=%VC4_PATH%\INCLUDE;%TNT_PATH%\INCLUDE;
|
||||
set INCLUDE=.;INCLUDE;%SCITECH%\INCLUDE;%PRIVATE%\INCLUDE;%C_INCLUDE%
|
||||
set INIT=%VC4_PATH%
|
||||
SET MAKESTARTUP=%SCITECH%\MAKEDEFS\VC32.MK
|
||||
SET USE_TNT=
|
||||
SET USE_WIN16=
|
||||
SET USE_WIN32=1
|
||||
SET WIN32_GUI=1
|
||||
SET USE_VXD=
|
||||
SET USE_NTDRV=
|
||||
SET USE_RTTARGET=
|
||||
SET USE_SNAP=
|
||||
SET VC_LIBBASE=VC4
|
||||
PATH %SCITECH_BIN%;%VC4_PATH%\BIN;%TNT_PATH%\BIN;%DEFPATH%%VC32_CD_PATH%
|
||||
|
||||
REM: Enable Win32 SDK if desired (sdk on command line)
|
||||
if NOT .%1%==.sdk goto done
|
||||
call win32sdk.bat
|
||||
|
||||
:done
|
||||
echo Visual C++ 4.2 32 bit Windows compilation environment set up
|
||||
|
|
@ -1,20 +0,0 @@
|
|||
@echo off
|
||||
REM Setup environment variables for Visual C++ 4.2 32 bit edition
|
||||
|
||||
SET LIB=%VC4_PATH%\LIB;.
|
||||
SET TOOLROOTDIR=%VC4_PATH%
|
||||
SET INCLUDE=\xc\include;%VC4_PATH%\INCLUDE
|
||||
SET INIT=%VC4_PATH%
|
||||
SET MAKESTARTUP=%SCITECH%\MAKEDEFS\VC32.MK
|
||||
SET USE_TNT=
|
||||
SET USE_WIN16=
|
||||
SET USE_WIN32=1
|
||||
SET WIN32_GUI=1
|
||||
SET USE_VXD=
|
||||
SET USE_NTDRV=
|
||||
SET USE_RTTARGET=
|
||||
SET USE_SNAP=
|
||||
SET VC_LIBBASE=VC4
|
||||
PATH %SCITECH_BIN%;%VC4_PATH%\BIN;%DEFPATH%
|
||||
|
||||
echo Visual C++ 4.2 X11 compilation environment set up
|
|
@ -1,39 +0,0 @@
|
|||
@echo off
|
||||
REM Setup environment variables for Visual C++ 5.0 32 bit edition
|
||||
|
||||
SET MSDevDir=%VC5_MSDevDir%
|
||||
SET MSVCDir=%VC5_MSVCDir%
|
||||
|
||||
if .%CHECKED%==.1 goto checked_build
|
||||
set LIB=%SCITECH_LIB%\LIB\RELEASE\WIN32\VC5;%MSVCDir%\LIB;%TNT_PATH%\LIB;.
|
||||
echo Release build enabled.
|
||||
goto setvars
|
||||
|
||||
:checked_build
|
||||
set LIB=%SCITECH_LIB%\LIB\DEBUG\WIN32\VC5;%MSVCDir%\LIB;%TNT_PATH%\LIB;.
|
||||
echo Checked debug build enabled.
|
||||
goto setvars
|
||||
|
||||
:setvars
|
||||
set TOOLROOTDIR=%MSVCDir%
|
||||
set C_INCLUDE=%MSVCDir%\INCLUDE;%TNT_PATH%\INCLUDE;
|
||||
set INCLUDE=.;INCLUDE;%SCITECH%\INCLUDE;%PRIVATE%\INCLUDE;%C_INCLUDE%
|
||||
set INIT=%MSVCDir%
|
||||
SET MAKESTARTUP=%SCITECH%\MAKEDEFS\VC32.MK
|
||||
SET USE_TNT=
|
||||
SET USE_WIN16=
|
||||
SET USE_WIN32=1
|
||||
SET WIN32_GUI=
|
||||
SET USE_VXD=
|
||||
SET USE_NTDRV=
|
||||
SET USE_RTTARGET=
|
||||
SET USE_SNAP=
|
||||
SET VC_LIBBASE=vc5
|
||||
PATH %SCITECH_BIN%;%MSVCDir%\BIN;%MSDevDir%\BIN;%TNT_PATH%\BIN;%DEFPATH%%VC32_CD_PATH%
|
||||
|
||||
REM: Enable Win32 SDK if desired (sdk on command line)
|
||||
if NOT .%1%==.sdk goto done
|
||||
call win32sdk.bat
|
||||
|
||||
:done
|
||||
echo Visual C++ 5.0 32-bit Windows console compilation environment set up
|
|
@ -1,26 +0,0 @@
|
|||
@echo off
|
||||
REM Setup environment variables for Visual C++ 1.52c 16 bit edition
|
||||
|
||||
if .%CHECKED%==.1 goto checked_build
|
||||
set LIB=%SCITECH_LIB%\LIB\RELEASE\DOS16\VC5;%VC_PATH%\LIB;.
|
||||
echo Release build enabled.
|
||||
goto setvars
|
||||
|
||||
:checked_build
|
||||
set LIB=%SCITECH_LIB%\LIB\DEBUG\DOS16\VC5;%VC_PATH%\LIB;.
|
||||
echo Checked debug build enabled.
|
||||
goto setvars
|
||||
|
||||
:setvars
|
||||
set TOOLROOTDIR=%VC_PATH%
|
||||
set INCLUDE=.;INCLUDE;%SCITECH%\INCLUDE;%PRIVATE%\INCLUDE;%VC_PATH%\INCLUDE;
|
||||
set INIT=%VC_PATH%
|
||||
SET MAKESTARTUP=%SCITECH%\MAKEDEFS\VC16.MK
|
||||
SET USE_WIN16=
|
||||
SET USE_WIN32=
|
||||
SET USE_RTTARGET=
|
||||
SET USE_SNAP=
|
||||
SET VC_LIBBASE=vc5
|
||||
PATH %SCITECH_BIN%;%VC_PATH%\BIN;%DEFPATH%%VC_CD_PATH%
|
||||
|
||||
echo Visual C++ 1.52c 16-bit DOS compilation environment set up.
|
|
@ -1,21 +0,0 @@
|
|||
@echo off
|
||||
REM Setup environment variables for Visual C++ 6.0 32 bit edition
|
||||
|
||||
REM: First setup for Win32 console development
|
||||
call vc60-c32.bat > NUL
|
||||
|
||||
REM: Extra stuff to set up for Windows 9x DDK development
|
||||
set MASTER_MAKE=1
|
||||
set DDKROOT=%W95_DDKROOT%
|
||||
set SDKROOT=%MSSDK%
|
||||
set C16_ROOT=%VC_PATH%
|
||||
set C32_ROOT=%VC6_PATH%
|
||||
|
||||
if .%CHECKED%==.1 goto checked_build
|
||||
echo Release build enabled.
|
||||
goto done
|
||||
:checked_build
|
||||
echo Checked debug build enabled.
|
||||
goto done
|
||||
:done
|
||||
echo Visual C++ 6.0 Windows 9x driver compilation environment set up
|
|
@ -1,17 +0,0 @@
|
|||
@echo off
|
||||
REM Setup environment variables for Visual C++ 6.0 32 bit edition
|
||||
|
||||
REM: First setup for Win32 console development (with Platform SDK)
|
||||
call vc60-c32.bat sdk > NUL
|
||||
|
||||
REM: Now setup stuff for the NT DDK build environment
|
||||
call ntddk.bat
|
||||
|
||||
if .%CHECKED%==.1 goto checked_build
|
||||
echo Release build enabled.
|
||||
goto done
|
||||
:checked_build
|
||||
echo Checked debug build enabled.
|
||||
goto done
|
||||
:done
|
||||
echo Visual C++ 6.0 Windows NT driver compilation environment set up
|
|
@ -1,30 +0,0 @@
|
|||
@echo off
|
||||
REM Setup environment variables for Visual C++ 5.0 32 bit edition
|
||||
|
||||
if .%CHECKED%==.1 goto checked_build
|
||||
set LIB=%SCITECH_LIB%\LIB\RELEASE\WIN32\VC5;%VC5_PATH%\VC\LIB;%TNT_PATH%\LIB;.
|
||||
echo Release build enabled.
|
||||
goto setvars
|
||||
|
||||
:checked_build
|
||||
set LIB=%SCITECH_LIB%\LIB\DEBUG\WIN32\VC5;%VC5_PATH%\VC\LIB;%TNT_PATH%\LIB;.
|
||||
echo Checked debug build enabled.
|
||||
goto setvars
|
||||
|
||||
:setvars
|
||||
set TOOLROOTDIR=%VC5_PATH%\VC
|
||||
set INCLUDE=.;INCLUDE;%SCITECH%\INCLUDE;%PRIVATE%\INCLUDE;%VC5_PATH%\VC\INCLUDE;%TNT_PATH%\INCLUDE;
|
||||
set INIT=%VC5_PATH%\VC
|
||||
SET MAKESTARTUP=%SCITECH%\MAKEDEFS\VC32.MK
|
||||
SET USE_TNT=
|
||||
SET USE_WIN16=
|
||||
SET USE_WIN32=
|
||||
SET WIN32_GUI=
|
||||
SET USE_VXD=
|
||||
SET USE_NTDRV=
|
||||
SET USE_RTTARGET=1
|
||||
SET USE_SNAP=
|
||||
SET VC_LIBBASE=vc5
|
||||
PATH %SCITECH_BIN%;%VC5_PATH%\VC\BIN;%VC5_PATH%\SHAREDIDE\BIN;%TNT_PATH%\BIN;%DEFPATH%%VC32_CD_PATH%
|
||||
|
||||
echo Visual C++ 5.0 RTTarget-32 compilation environment set up
|
|
@ -1,33 +0,0 @@
|
|||
@echo off REM Setup environment variables for Visual C++ 5.0 32 bit
|
||||
edition
|
||||
|
||||
SET MSDevDir=%VC5_MSDevDir%
|
||||
SET MSVCDir=%VC5_MSVCDir%
|
||||
|
||||
if .%CHECKED%==.1 goto checked_build
|
||||
set LIB=%SCITECH_LIB%\LIB\RELEASE\SNAP\VC5;%MSVCDir%\LIB;%TNT_PATH%\LIB;.
|
||||
echo Release build enabled.
|
||||
goto setvars
|
||||
|
||||
:checked_build
|
||||
set LIB=%SCITECH_LIB%\LIB\DEBUG\SNAP\VC5;%MSVCDir%\LIB;%TNT_PATH%\LIB;.
|
||||
echo Checked debug build enabled.
|
||||
goto setvars
|
||||
|
||||
:setvars
|
||||
set TOOLROOTDIR=%MSVCDir%
|
||||
set INCLUDE=.;INCLUDE;%SCITECH%\INCLUDE;%PRIVATE%\INCLUDE
|
||||
set INIT=%MSVCDir%
|
||||
SET MAKESTARTUP=%SCITECH%\MAKEDEFS\VC32.MK
|
||||
SET USE_TNT=
|
||||
SET USE_WIN16=
|
||||
SET USE_WIN32=
|
||||
SET WIN32_GUI=
|
||||
SET USE_VXD=
|
||||
SET USE_NTDRV=
|
||||
SET USE_RTTARGET=
|
||||
SET USE_SNAP=1
|
||||
SET VC_LIBBASE=vc5
|
||||
PATH %SCITECH_BIN%;%MSVCDir%\BIN;%MSDevDir%\BIN;%TNT_PATH%\BIN;%DEFPATH%%VC32_CD_PATH%
|
||||
|
||||
echo Visual C++ 5.0 Snap compilation environment set up
|
|
@ -1,42 +0,0 @@
|
|||
@echo off
|
||||
REM Setup environment variables for Visual C++ 5.0 32 bit edition
|
||||
|
||||
if .%CHECKED%==.1 goto checked_build
|
||||
set LIB=%SCITECH_LIB%\LIB\RELEASE\DOS32\VC5;%VC5_PATH%\VC\LIB;%TNT_PATH%\COFFLIB;.
|
||||
echo Release build enabled.
|
||||
goto setvars
|
||||
|
||||
:checked_build
|
||||
set LIB=%SCITECH_LIB%\LIB\RELEASE\DOS32\VC5;%VC5_PATH%\VC\LIB;%TNT_PATH%\COFFLIB;.
|
||||
echo Checked debug build enabled.
|
||||
goto setvars
|
||||
|
||||
:setvars
|
||||
set TOOLROOTDIR=%VC5_PATH%\VC
|
||||
set INCLUDE=.;INCLUDE;%SCITECH%\INCLUDE;%PRIVATE%\INCLUDE;%VC5_PATH%\VC\INCLUDE;%TNT_PATH%\INCLUDE;
|
||||
set INIT=%VC5_PATH%\VC
|
||||
SET MAKESTARTUP=%SCITECH%\MAKEDEFS\VC32.MK
|
||||
SET USE_WIN16=
|
||||
SET USE_WIN32=
|
||||
SET USE_TNT=
|
||||
SET USE_VXD=
|
||||
SET USE_NTDRV=
|
||||
SET USE_RTTARGET=
|
||||
SET USE_SNAP=
|
||||
SET VC_LIBBASE=vc5
|
||||
PATH %SCITECH_BIN%;%VC5_PATH%\VC\BIN;%VC5_PATH%\SHAREDIDE\BIN;%TNT_PATH%\BIN;%DEFPATH%%VC32_CD_PATH%
|
||||
|
||||
REM If you set the following to a 1, a TNT DosStyle app will be created.
|
||||
REM Otherwise a TNT NtStyle app will be created. NtStyle apps will *only*
|
||||
REM run under real DOS when using our libraries, since we require access
|
||||
REM to functions that the Win32 API does not support (such as direct access
|
||||
REM to video memory, calling Int 10h BIOS functions etc). DosStyle apps
|
||||
REM will however run fine in both DOS and a Win95 DOS box (NT DOS boxes don't
|
||||
REM work too well).
|
||||
REM
|
||||
REM If you are using the RealTime DOS extender, your apps *must* be NtStyle,
|
||||
REM and hence will never be able to run under Win95 or WinNT, only DOS.
|
||||
|
||||
SET DOSSTYLE=
|
||||
|
||||
echo Visual C++ 5.0 32-bit compilation environment set up (with TNT).
|
|
@ -1,27 +0,0 @@
|
|||
@echo off
|
||||
REM Setup environment variables for Visual C++ 1.52c 16 bit edition
|
||||
|
||||
if .%CHECKED%==.1 goto checked_build
|
||||
set LIB=%SCITECH_LIB%\LIB\RELEASE\WIN16\VC5;%VC_PATH%\LIB;.
|
||||
echo Release build enabled.
|
||||
goto setvars
|
||||
|
||||
:checked_build
|
||||
set LIB=%SCITECH_LIB%\LIB\DEBUG\WIN16\VC5;%VC_PATH%\LIB;.
|
||||
echo Checked debug build enabled.
|
||||
goto setvars
|
||||
|
||||
:setvars
|
||||
set TOOLROOTDIR=%VC_PATH%
|
||||
set INCLUDE=.;INCLUDE;%SCITECH%\INCLUDE;%PRIVATE%\INCLUDE;%VC_PATH%\INCLUDE;
|
||||
set INIT=%VC_PATH%
|
||||
SET MAKESTARTUP=%SCITECH%\MAKEDEFS\VC16.MK
|
||||
SET USE_WIN16=1
|
||||
SET USE_WIN32=
|
||||
SET USE_RTTARGET=
|
||||
SET USE_SNAP=
|
||||
SET VC_LIBBASE=vc5
|
||||
PATH %SCITECH_BIN%;%VC_PATH%\BIN;%DEFPATH%%VC_CD_PATH%
|
||||
|
||||
echo Visual C++ 1.52c 16-bit Windows compilation environment set up.
|
||||
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue