romfile_nokia_iby.txt 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. The ROMFILE global target now supports the generation of .iby files that
  2. make use of newer, "Nokia format", macros.
  3. The new files are generated by default into the same location as the older,
  4. "Symbian format", files but with the addition of "n" within the filename.
  5. In the general case, the following .iby files are now created in response to
  6. ROMFILE for a component's release and test builds:
  7. $EPOCROOT/epoc32/rom/path/to/component/bldinf/platform.iby
  8. $EPOCROOT/epoc32/rom/path/to/component/bldinf/platformn.iby
  9. $EPOCROOT/epoc32/rom/path/to/component/bldinf/platformtest.iby
  10. $EPOCROOT/epoc32/rom/path/to/component/bldinf/platformtestn.iby
  11. For example, the default test ROMFILE output for e32test is now:
  12. M:\epoc32\rom\sf\os\kernelhwsrv\kerneltest\e32test\group\armv5test.iby
  13. M:\epoc32\rom\sf\os\kernelhwsrv\kerneltest\e32test\group\armv5testn.iby
  14. The following functional differences exist between the previous "non-n" and
  15. the new "n" files:
  16. Symbian Nokia
  17. ------- -----
  18. device[MAGIC] device[VARID]
  19. /epoc32/release/##KMAIN## ABI_DIR
  20. ##BUILD## BUILD_DIR
  21. In addition to the auto-generation of Nokia format files, Raptor now ships
  22. an FLM that allows custom entries to be appended to the vanilla Raptor
  23. generated .iby files as part of ROMFILE operation. It can be used as follows:
  24. PRJ_[TEST]EXTENSIONS
  25. START EXTENSION utility.append_iby
  26. OPTION IBY_TYPE NOKIA|SYMBIAN
  27. OPTION APPEND_FILE text_file_content_to_append.txt
  28. END
  29. IBY_TYPE is optional and defaults to NOKIA if unspecified.
  30. APPEND_FILE is assumed to be a text file, and is located relative to the
  31. bld.inf file.
  32. Multiple "START EXTENSION utility.append_iby" blocks can exist that target the
  33. same .iby file. However, the order of application of these files cannot be
  34. guaranteed, so file content should not be sensitive in this way.
  35. For example, to append the content of a component local nokia_test.txt file
  36. to the <platform>testn.iby files created by Raptor:
  37. PRJ_TESTEXTENSIONS
  38. START EXTENSION utility.append_iby
  39. OPTION APPEND_FILE iby_appends/nokia_test.txt
  40. END