Attention Core Devs And Users
Posted: Tue Mar 22, 2011 4:31 am
Yes, that's just me, Sean0, and Preston! (for now, come on people, step up!)
Conditional compilation has been added for the following temporary reasons:
1) Preconfigured/tuned builds for core members who for any reason are building and burning often and require their code to actually work
2) XGATE development without affecting users who do not require XGATE functionality to run their engines.
Currently the following options are supported:
Build with XGATE enabled:
Build with specific data, settings, scheduling, etc:
If no arguments are passed, you get a non-XGATE firmware without any events scheduled.
Note, if you do:
and then run one of the above, it will not build anything as the flags do not know about time stamps. Hence the clean target being included. You don't have to clean every time, but you do have to clean before the first time with a specific CLIFLAG argument or you will not get the desired result.
To get your data/config/settings/etc into the code base, you need to meet these requirements as found in the code:
All of these will be removed once we have a loader that can do partial loads, and a tuner that can do full configuration, with save and restore in a readable format. Give it six months, I guess.
Enjoy!
Fred.
Conditional compilation has been added for the following temporary reasons:
1) Preconfigured/tuned builds for core members who for any reason are building and burning often and require their code to actually work
2) XGATE development without affecting users who do not require XGATE functionality to run their engines.
Currently the following options are supported:
Build with XGATE enabled:
Code: Select all
CLIFLAGS="-D XGATE=1" make clean s19
Code: Select all
CLIFLAGS="-D HOTEL=1" make clean s19
CLIFLAGS="-D PRESTO=1" make clean s19
CLIFLAGS="-D TRUCK=1" make clean s19
CLIFLAGS="-D SEANKLT1=1" make clean s19
CLIFLAGS="-D SEANKR1=1" make clean s19
Note, if you do:
Code: Select all
make s19
To get your data/config/settings/etc into the code base, you need to meet these requirements as found in the code:
Code: Select all
/*&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&*/
/*&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& RULES FOR HAVING CONFIG IN THE CODE &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&*/
/*&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&*/
/*&&&&&&&&&&&&&&& you are building frequently, for a vehicle, and contributing dev time &&&&&&&&&&&&&&&&*/
/*&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&*/
Enjoy!
Fred.