the dependency of sysgen variables, and how to map sysgen to modules

The bat files in public/cebase/oak/misc define the dependency between sysgen variables. And add modules to image according to the sysgen variable definations.

 

For example, if SYSGEN_ISAPI_CONFIG depends on SYSGEN_HTTPD, you have to add this line in service.bat

 if "%SYSGEN_ISAPI_CONFIG%"=="1" set SYSGEN_HTTPD=1

 

And this code tells build window to add the module httpdadm to image, if SYSGEN_ISAPI_CONFIG is defined in service.bat

if "%SYSGEN_ISAPI_CONFIG%"=="1" set SERVERS_MODULES=%SERVERS_MODULES% httpdadm

你可能感兴趣的:(technique)