summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--documentation/ref-manual/ref-variables.xml34
1 files changed, 21 insertions, 13 deletions
diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml
index 78036dcf19..b9b0dfc09a 100644
--- a/documentation/ref-manual/ref-variables.xml
+++ b/documentation/ref-manual/ref-variables.xml
@@ -2669,20 +2669,15 @@
2669 Defines the package type (DEB, RPM, IPK, or TAR) used 2669 Defines the package type (DEB, RPM, IPK, or TAR) used
2670 by the OpenEmbedded build system. 2670 by the OpenEmbedded build system.
2671 The variable is defined appropriately by the 2671 The variable is defined appropriately by the
2672 <link linkend='ref-classes-package_deb'><filename>package_deb</filename></link> 2672 <link linkend='ref-classes-package_deb'><filename>package_deb</filename></link>,
2673 class, the 2673 <link linkend='ref-classes-package_rpm'><filename>package_rpm</filename></link>,
2674 <link linkend='ref-classes-package_rpm'><filename>package_rpm</filename></link> 2674 <link linkend='ref-classes-package_ipk'><filename>package_ipk</filename></link>,
2675 class, the 2675 or
2676 <link linkend='ref-classes-package_ipk'><filename>package_ipk</filename></link>
2677 class, or the
2678 <link linkend='ref-classes-package_tar'><filename>package_tar</filename></link> 2676 <link linkend='ref-classes-package_tar'><filename>package_tar</filename></link>
2679 class as follows: 2677 class.
2680 <literallayout class='monospaced'> 2678 </para>
2681 IMAGE_PKGTYPE ?= "deb" 2679
2682 IMAGE_PKGTYPE ?= "ipk" 2680 <para>
2683 IMAGE_PKGTYPE ?= "rpm"
2684 IMAGE_PKGTYPE ?= "tar"
2685 </literallayout>
2686 The 2681 The
2687 <link linkend='ref-classes-populate-sdk-*'><filename>package_sdk_base</filename></link> 2682 <link linkend='ref-classes-populate-sdk-*'><filename>package_sdk_base</filename></link>
2688 and 2683 and
@@ -2690,6 +2685,19 @@
2690 classes use the <filename>IMAGE_PKGTYPE</filename> for 2685 classes use the <filename>IMAGE_PKGTYPE</filename> for
2691 packaging up images and SDKs. 2686 packaging up images and SDKs.
2692 </para> 2687 </para>
2688
2689 <para>
2690 You should not set the <filename>IMAGE_PKGTYPE</filename>
2691 manually.
2692 Rather, the variable is set indirectly through the
2693 appropriate
2694 <link linkend='ref-classes-package'><filename>package_*</filename></link>
2695 class using the
2696 <link linkend='var-PACKAGE_CLASSES'><filename>PACKAGE_CLASSES</filename></link>
2697 variable.
2698 The OpenEmbedded build system uses the first package type
2699 (e.g. DEB, RPM, or IPK) that appears with the variable
2700 </para>
2693 </glossdef> 2701 </glossdef>
2694 </glossentry> 2702 </glossentry>
2695 2703