<?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>topic Re: Problem setting alternate build directory w/ Android 10 in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Problem-setting-alternate-build-directory-w-Android-10/m-p/1228327#M169183</link>
    <description>&lt;P&gt;I'm facing a similar issue with Android 11.&amp;nbsp; Did you ever figure out a solution? Setting the OUR_DIR did not help either.&lt;/P&gt;</description>
    <pubDate>Tue, 09 Feb 2021 00:18:20 GMT</pubDate>
    <dc:creator>cjcdev</dc:creator>
    <dc:date>2021-02-09T00:18:20Z</dc:date>
    <item>
      <title>Problem setting alternate build directory w/ Android 10</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Problem-setting-alternate-build-directory-w-Android-10/m-p/1085900#M159210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to customize the android output build directory for automation&amp;nbsp;and OTA purposes. &amp;nbsp;I'm simply setting the environment variable OUT_DIR_COMMON_BASE before calling build/envsetup.sh and lunch.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works properly in Android 9. &amp;nbsp;In the Android 10 build, the build is failing at:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;device/fsl/common/build/dtbo.mk:37 writing to read only directory 'out/target/product/XXX/dtbo-XXX.img'&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure if this is a problem with the dtbo&amp;nbsp;makefile or is something wrong with my specific product. &amp;nbsp;Any suggestion where to find the source of this problem? &amp;nbsp;If I simply compile to the normal out directory w/ out setting the environment variable then compilation works fine. &amp;nbsp;Also, before the failure, other targets are being built in the new OUT directory fine. So it appears to be something just with this makefile or target. &amp;nbsp;I usually am calling imx-make.sh but this error also occurs if I just call make.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jun 2020 14:56:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Problem-setting-alternate-build-directory-w-Android-10/m-p/1085900#M159210</guid>
      <dc:creator>dennis3</dc:creator>
      <dc:date>2020-06-24T14:56:41Z</dc:date>
    </item>
    <item>
      <title>Re: Problem setting alternate build directory w/ Android 10</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Problem-setting-alternate-build-directory-w-Android-10/m-p/1163574#M162994</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;If this is still relevant, please try setting the environment variable OUT_DIR.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Aldo.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Oct 2020 18:25:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Problem-setting-alternate-build-directory-w-Android-10/m-p/1163574#M162994</guid>
      <dc:creator>AldoG</dc:creator>
      <dc:date>2020-10-06T18:25:18Z</dc:date>
    </item>
    <item>
      <title>Re: Problem setting alternate build directory w/ Android 10</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Problem-setting-alternate-build-directory-w-Android-10/m-p/1228327#M169183</link>
      <description>&lt;P&gt;I'm facing a similar issue with Android 11.&amp;nbsp; Did you ever figure out a solution? Setting the OUR_DIR did not help either.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Feb 2021 00:18:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Problem-setting-alternate-build-directory-w-Android-10/m-p/1228327#M169183</guid>
      <dc:creator>cjcdev</dc:creator>
      <dc:date>2021-02-09T00:18:20Z</dc:date>
    </item>
    <item>
      <title>Re: Problem setting alternate build directory w/ Android 10</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Problem-setting-alternate-build-directory-w-Android-10/m-p/1241855#M170507</link>
      <description>&lt;P&gt;I found the issue with the NXP BSP (11.0.1).&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You do need to make sure you set the OUT_DIR env variable in your build. However, in order for the dtbo.mk NXP makefile to use this OUT_DIR, you need to fix the path of the DTBOIMAGE.&lt;/P&gt;&lt;P&gt;This is what the NXP BSP currently has:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;BOARD_PREBUILT_DTBOIMAGE := out/target/product/evk_8mn/dtbo-imx8mn.img&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Change this to&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;BOARD_PREBUILT_DTBOIMAGE := $(OUT_DIR)/target/product/evk_8mn/dtbo-imx8mn.img&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Mar 2021 16:22:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Problem-setting-alternate-build-directory-w-Android-10/m-p/1241855#M170507</guid>
      <dc:creator>cjcdev</dc:creator>
      <dc:date>2021-03-08T16:22:10Z</dc:date>
    </item>
  </channel>
</rss>

