summaryrefslogtreecommitdiffstats
path: root/documentation/ref-manual/ref-classes.xml
diff options
context:
space:
mode:
authorScott Rifenbark <scott.m.rifenbark@intel.com>2013-12-04 04:55:45 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-12-11 14:17:47 +0000
commit2a21166e3c4c6edc2ebedf97c05ffbbf5c9f0e8b (patch)
tree17131a1b66aaf216dd8770dd0669d5a2c533b1d1 /documentation/ref-manual/ref-classes.xml
parent39eab266c26564fffa2b2eac0741597231c4b5f9 (diff)
downloadpoky-2a21166e3c4c6edc2ebedf97c05ffbbf5c9f0e8b.tar.gz
ref-manual: Added populate_sdk_* class and some new variables.
Variables added: IMAGE_PKGTYPE SDK_OUTPUT SKD_DIR (From yocto-docs rev: 90cd5ad1235a66117a86182bd6bf9bc75f09c424) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/ref-manual/ref-classes.xml')
-rw-r--r--documentation/ref-manual/ref-classes.xml66
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}/&lt;sdk_arch-nativesdk pkgs&gt;
1450 ${SDK_OUTPUT}/${SDKTARGETSYSROOT}/&lt;target pkgs&gt;
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