variant_cfg.txt 996 B

1234567891011121314151617181920212223242526
  1. The pre-included header file used in builds (.hrh) is normally defined
  2. inside a text file located at $(EPOCROOT)/epoc32/tools/variant/variant.cfg
  3. in each kit.
  4. This is an unnecessary extra file to maintain if you already define all the
  5. other kit properties in an XML file in the $(EPOCROOT)/epoc32/sbs_config
  6. folder.
  7. This change allows kit owners to define the .hrh file name in the XML instead
  8. of using an additional variant.cfg file.
  9. An example of this is shown in $(SBS_HOME)/examples/os_properties.xml
  10. where the VARIANT_HRH parameter is set as follows,
  11. <set name='VARIANT_HRH' value='$(EPOCINCLUDE)/feature_settings.hrh'/>
  12. In the unusual case where you want to build without a .hrh file at all (maybe
  13. to create an epoc32 tree from scratch) there is a variant "nohrh" which
  14. simply sets VARIANT_HRH as above to an empty file. Example usage would be,
  15. sbs -b bootstrap/bld.inf -c tools2.nohrh
  16. Note that, in general, actual code will not build properly without a .hrh
  17. file to configure it.