<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>i.MX ProcessorsのトピックRe: Recipes go different folders under build/tmp/work/</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Recipes-go-different-folders-under-build-tmp-work/m-p/1212340#M167818</link>
    <description>&lt;P&gt;Adding below line in my custom &lt;STRONG&gt;.bb&lt;/STRONG&gt; has solved the issue.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;PACKAGE_ARCH = "${MACHINE_ARCH}"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Fri, 15 Jan 2021 10:46:02 GMT</pubDate>
    <dc:creator>albert_domingo</dc:creator>
    <dc:date>2021-01-15T10:46:02Z</dc:date>
    <item>
      <title>Recipes go different folders under build/tmp/work/</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Recipes-go-different-folders-under-build-tmp-work/m-p/682440#M105457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe that PACKAGE_ARCH will control the recipe going into one of the folders under build/tmp/work/. For example, most imx Linux recipes includes kernel.class, where PACKAGE_ARCH is assigned as ${MACHINE_ARCH}, which will make Linux build go to ${MACHINE}-poky-linux-gnueabi directory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is easy to understand that some recipes have an explicit assignment for PACKAGE_ARCH. But such as an explicit assignment can't be found in some recipes.&amp;nbsp;For example, alsa-lib, alsa-tools, alsa-state recipes reside in cortexa9hf-neon-mx6qdl-poky-linux-gnueabi,&amp;nbsp;&lt;SPAN&gt;cortexa9hf-neon-poky-linux-gnueabi, and&amp;nbsp;${MACHINE}-poky-linux-gnueabi directories respectively, but I can't find the explicit assignments in these recipes. They must be assigned implicitly somewhere in class, include, and configuration files.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In the example above, does&amp;nbsp;someone know how trace the PACKAGE_ARCH assignment to control a recipes going into different folders under build/tmp/work? Maybe my believe is wrong?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Yang Liu&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 May 2017 19:06:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Recipes-go-different-folders-under-build-tmp-work/m-p/682440#M105457</guid>
      <dc:creator>mail2yangliu</dc:creator>
      <dc:date>2017-05-16T19:06:26Z</dc:date>
    </item>
    <item>
      <title>Re: Recipes go different folders under build/tmp/work/</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Recipes-go-different-folders-under-build-tmp-work/m-p/682441#M105458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;bitbake.conf?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try bitbake alsa-lib -e | grep PACKAGE_ARCH&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 May 2017 19:21:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Recipes-go-different-folders-under-build-tmp-work/m-p/682441#M105458</guid>
      <dc:creator>daiane_angolini</dc:creator>
      <dc:date>2017-05-16T19:21:00Z</dc:date>
    </item>
    <item>
      <title>Re: Recipes go different folders under build/tmp/work/</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Recipes-go-different-folders-under-build-tmp-work/m-p/682442#M105459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for quick response, Daiane.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using the environment option is good choice.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 May 2017 19:39:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Recipes-go-different-folders-under-build-tmp-work/m-p/682442#M105459</guid>
      <dc:creator>mail2yangliu</dc:creator>
      <dc:date>2017-05-16T19:39:01Z</dc:date>
    </item>
    <item>
      <title>Re: Recipes go different folders under build/tmp/work/</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Recipes-go-different-folders-under-build-tmp-work/m-p/682443#M105460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is researching result using -e option:&lt;/P&gt;&lt;P&gt;alsa-tools:&lt;/P&gt;&lt;P&gt;========&lt;/P&gt;&lt;P&gt;# $PACKAGE_ARCH [2 operations]&lt;BR /&gt;# set /home/yangliu/data/var-imx-krogoth/sources/poky/meta/conf/bitbake.conf:144&lt;BR /&gt;# [_defaultval] "${TUNE_PKGARCH}"&lt;BR /&gt;# set /home/yangliu/data/var-imx-krogoth/sources/poky/meta/conf/documentation.conf:307&lt;BR /&gt;# [doc] "The architecture of the resulting package or packages."&lt;BR /&gt;# pre-expansion value:&lt;BR /&gt;# "${TUNE_PKGARCH}"&lt;BR /&gt;PACKAGE_ARCH="cortexa9hf-neon"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;alsa-lib:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;========&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;# $PACKAGE_ARCH_mx6&lt;BR /&gt;# set /home/yangliu/data/var-imx-krogoth/sources/meta-fsl-arm/recipes-multimedia/alsa/alsa-lib_%.bbappend:7&lt;BR /&gt;# "${MACHINE_SOCARCH}"&lt;BR /&gt;PACKAGE_ARCH_mx6="cortexa9hf-neon-mx6qdl"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# $PACKAGE_ARCH [6 operations]&lt;BR /&gt;# set /home/yangliu/data/var-imx-krogoth/sources/poky/meta/conf/bitbake.conf:144&lt;BR /&gt;# [_defaultval] "${TUNE_PKGARCH}"&lt;BR /&gt;# set /home/yangliu/data/var-imx-krogoth/sources/poky/meta/conf/documentation.conf:307&lt;BR /&gt;# [doc] "The architecture of the resulting package or packages."&lt;BR /&gt;# override[mx6]:set /home/yangliu/data/var-imx-krogoth/sources/meta-fsl-arm/recipes-multimedia/alsa/alsa-lib_%.bbappend:7&lt;BR /&gt;# "${MACHINE_SOCARCH}"&lt;BR /&gt;# override[mx6ul]:set /home/yangliu/data/var-imx-krogoth/sources/meta-fsl-arm/recipes-multimedia/alsa/alsa-lib_%.bbappend:8&lt;BR /&gt;# "${MACHINE_SOCARCH}"&lt;BR /&gt;# override[mx7]:set /home/yangliu/data/var-imx-krogoth/sources/meta-fsl-arm/recipes-multimedia/alsa/alsa-lib_%.bbappend:9&lt;BR /&gt;# "${MACHINE_SOCARCH}"&lt;BR /&gt;# override[mx8]:set /home/yangliu/data/var-imx-krogoth/sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-multimedia/alsa/alsa-lib_%.bbappend:12&lt;BR /&gt;# "${MACHINE_SOCARCH}"&lt;BR /&gt;# pre-expansion value:&lt;BR /&gt;# "${MACHINE_SOCARCH}"&lt;BR /&gt;PACKAGE_ARCH="cortexa9hf-neon-mx6qdl"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;alsa-state:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;========&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;# $PACKAGE_ARCH_mx6&lt;BR /&gt;# set /home/yangliu/data/var-imx-krogoth/sources/meta-fsl-arm/recipes-bsp/alsa-state/alsa-state.bbappend:6&lt;BR /&gt;# "${MACHINE_ARCH}"&lt;BR /&gt;PACKAGE_ARCH_mx6="var_som_mx6"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# $PACKAGE_ARCH [6 operations]&lt;BR /&gt;# set /home/yangliu/data/var-imx-krogoth/sources/poky/meta/conf/bitbake.conf:144&lt;BR /&gt;# [_defaultval] "${TUNE_PKGARCH}"&lt;BR /&gt;# set /home/yangliu/data/var-imx-krogoth/sources/poky/meta/conf/documentation.conf:307&lt;BR /&gt;# [doc] "The architecture of the resulting package or packages."&lt;BR /&gt;# override[mx6]:set /home/yangliu/data/var-imx-krogoth/sources/meta-fsl-arm/recipes-bsp/alsa-state/alsa-state.bbappend:6&lt;BR /&gt;# "${MACHINE_ARCH}"&lt;BR /&gt;# override[mx6ul]:set /home/yangliu/data/var-imx-krogoth/sources/meta-fsl-arm/recipes-bsp/alsa-state/alsa-state.bbappend:7&lt;BR /&gt;# "${MACHINE_ARCH}"&lt;BR /&gt;# override[mx7]:set /home/yangliu/data/var-imx-krogoth/sources/meta-fsl-arm/recipes-bsp/alsa-state/alsa-state.bbappend:8&lt;BR /&gt;# "${MACHINE_ARCH}"&lt;BR /&gt;# override[mx8]:set /home/yangliu/data/var-imx-krogoth/sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-bsp/alsa-state/alsa-state.bbappend:3&lt;BR /&gt;# "${MACHINE_ARCH}"&lt;BR /&gt;# pre-expansion value:&lt;BR /&gt;# "${MACHINE_ARCH}"&lt;BR /&gt;PACKAGE_ARCH="var_som_mx6"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is why these three recipes going to different folders. Cheers!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 May 2017 21:08:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Recipes-go-different-folders-under-build-tmp-work/m-p/682443#M105460</guid>
      <dc:creator>mail2yangliu</dc:creator>
      <dc:date>2017-05-16T21:08:31Z</dc:date>
    </item>
    <item>
      <title>Re: Recipes go different folders under build/tmp/work/</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Recipes-go-different-folders-under-build-tmp-work/m-p/1212340#M167818</link>
      <description>&lt;P&gt;Adding below line in my custom &lt;STRONG&gt;.bb&lt;/STRONG&gt; has solved the issue.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;PACKAGE_ARCH = "${MACHINE_ARCH}"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jan 2021 10:46:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Recipes-go-different-folders-under-build-tmp-work/m-p/1212340#M167818</guid>
      <dc:creator>albert_domingo</dc:creator>
      <dc:date>2021-01-15T10:46:02Z</dc:date>
    </item>
  </channel>
</rss>

