Creating an IBY File for a Component
The .iby file for a component primarily contains keywords that point to
various files pertaining to the particular component. Two of the basic keywords
used in a component's .iby file are data and
file.
The file indicated in the syntax of the data keyword is included in the
ROM OBY file without any processing. The file keyword primarily resolves an
executable or a .dll file that gets executed at ROM or ROFS build time. The
executable files are stripped of their relocation information before getting
added to the ROM image.
Consider the following .iby file for the SQL component:
#ifndef __SQL_IBY__
#define __SQL_IBY__
REM SQL
file=ABI_DIR\BUILD_DIR\sqldb.dll System\Libs\sqldb.dll
file=ABI_DIR\BUILD_DIR\sqlsrv.exe System\Programs\sqlsrv.exe
data=ZPRIVATE\10281e17\backup_registration.xml \PRIVATE\10281e17\backup_registration.xml
#endif
In this example, the file keyword refers to the executable and the .dll
file of the component while the data keyword refers to an XML file. These
keywords indicate the location of the files specific to the SQL component that
should be used while building the ROM OBY file. For detailed information on
keywords, refer to Keywords.