diff options
Diffstat (limited to 'documentation/ref-manual/ref-classes.xml')
| -rw-r--r-- | documentation/ref-manual/ref-classes.xml | 66 |
1 files changed, 65 insertions, 1 deletions
diff --git a/documentation/ref-manual/ref-classes.xml b/documentation/ref-manual/ref-classes.xml index abb40a8e1b..74478981d0 100644 --- a/documentation/ref-manual/ref-classes.xml +++ b/documentation/ref-manual/ref-classes.xml | |||
| @@ -1393,7 +1393,7 @@ | |||
| 1393 | </para> | 1393 | </para> |
| 1394 | </section> | 1394 | </section> |
| 1395 | 1395 | ||
| 1396 | <section id='ref-classes-populate_sdk'> | 1396 | <section id='ref-classes-populate-sdk'> |
| 1397 | <title><filename>populate_sdk.bbclass</filename></title> | 1397 | <title><filename>populate_sdk.bbclass</filename></title> |
| 1398 | 1398 | ||
| 1399 | <para> | 1399 | <para> |
| @@ -1402,6 +1402,70 @@ | |||
| 1402 | </para> | 1402 | </para> |
| 1403 | </section> | 1403 | </section> |
| 1404 | 1404 | ||
| 1405 | <section id='ref-classes-populate-sdk-*'> | ||
| 1406 | <title><filename>populate_sdk_*.bbclass</filename></title> | ||
| 1407 | |||
| 1408 | <para> | ||
| 1409 | The <filename>populate_sdk_*</filename> family of classes support | ||
| 1410 | SDK creation. | ||
| 1411 | This family of classes consists of the following: | ||
| 1412 | <itemizedlist> | ||
| 1413 | <listitem><para><emphasis><filename>populate_sdk_base</filename>:</emphasis> | ||
| 1414 | The base class supporting SDK creation under all package | ||
| 1415 | managers (i.e. DEB, RPM, and IPK).</para></listitem> | ||
| 1416 | <listitem><para><emphasis><filename>populate_sdk_deb</filename>:</emphasis> | ||
| 1417 | Supports creation of the SDK given the Debian package manager. | ||
| 1418 | </para></listitem> | ||
| 1419 | <listitem><para><emphasis><filename>populate_sdk_rpm</filename>:</emphasis> | ||
| 1420 | Supports creation of the SDK given the RPM package manager. | ||
| 1421 | </para></listitem> | ||
| 1422 | <listitem><para><emphasis><filename>populate_sdk_ipk</filename>:</emphasis> | ||
| 1423 | Supports creation of the SDK given the IPK package manager. | ||
| 1424 | </para></listitem> | ||
| 1425 | </itemizedlist> | ||
| 1426 | </para> | ||
| 1427 | |||
| 1428 | <para> | ||
| 1429 | The <filename>populate_sdk_base</filename> package inherits the | ||
| 1430 | appropriate <filename>populate_sdk_*</filename> (i.e. | ||
| 1431 | <filename>deb</filename>, <filename>rpm</filename>, and | ||
| 1432 | <filename>ipk</filename>) based on | ||
| 1433 | <link linkend='var-IMAGE_PKGTYPE'><filename>IMAGE_PKGTYPE</filename></link>. | ||
| 1434 | </para> | ||
| 1435 | |||
| 1436 | <para> | ||
| 1437 | The base class ensures all source and destination directories are | ||
| 1438 | established and then populates the SDK. | ||
| 1439 | After populating the SDK, the <filename>populate_sdk_base</filename> | ||
| 1440 | class constructs two images: | ||
| 1441 | <link linkend='var-SDK_ARCH'><filename>SDK_ARCH</filename></link><filename>-nativesdk</filename>, | ||
| 1442 | which contains the cross-compiler and associated tooling, and the | ||
| 1443 | target, which contains a target root filesystem that is configured for | ||
| 1444 | the SDK usage. | ||
| 1445 | These two images reside in | ||
| 1446 | <link linkend='var-SDK_OUTPUT'><filename>SDK_OUTPUT</filename></link>, | ||
| 1447 | which consists of the following: | ||
| 1448 | <literallayout class='monospaced'> | ||
| 1449 | ${SDK_OUTPUT}/<sdk_arch-nativesdk pkgs> | ||
| 1450 | ${SDK_OUTPUT}/${SDKTARGETSYSROOT}/<target pkgs> | ||
| 1451 | </literallayout> | ||
| 1452 | </para> | ||
| 1453 | |||
| 1454 | <para> | ||
| 1455 | Finally, the base populate SDK class creates the toolchain | ||
| 1456 | environment setup script, the tarball of the SDK, and the installer. | ||
| 1457 | </para> | ||
| 1458 | |||
| 1459 | <para> | ||
| 1460 | The respective <filename>populate_sdk_deb</filename>, | ||
| 1461 | <filename>populate_sdk_rpm</filename>, and | ||
| 1462 | <filename>populate_sdk_ipk</filename> classes each support the | ||
| 1463 | specific type of SDK. | ||
| 1464 | These classes are inherited by and used with the | ||
| 1465 | <filename>populate_sdk_base</filename> class. | ||
| 1466 | </para> | ||
| 1467 | </section> | ||
| 1468 | |||
| 1405 | <section id='ref-classes-perl'> | 1469 | <section id='ref-classes-perl'> |
| 1406 | <title>Perl Modules - <filename>cpan.bbclass</filename></title> | 1470 | <title>Perl Modules - <filename>cpan.bbclass</filename></title> |
| 1407 | 1471 | ||
