<?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のトピックAndroid 11 Build failed after changes in menuconfig</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Android-11-Build-failed-after-changes-in-menuconfig/m-p/1604396#M201921</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I am using Android 11.2.6.0. I have made changes in menuconfig to enable DM-Verity and copied the .config to imx_v8_android_defconf&lt;/P&gt;&lt;P&gt;Steps:&lt;/P&gt;&lt;P&gt;IN VENDOR/NXP-OPENSOURCE/KERNEL_IMX folder&lt;BR /&gt;1&amp;gt; export ARCH=arm64&lt;BR /&gt;2&amp;gt; export AARCH64_GCC_CROSS_COMPILE=/opt/gcc-arm-9.2-2019.12-x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu-&lt;BR /&gt;3&amp;gt; export CLANG_PATH=/opt/prebuilt-android-clang&lt;BR /&gt;4&amp;gt; make imx_v8_android_defconfig&lt;BR /&gt;5&amp;gt; make menuconfig ---&amp;gt; do your changes --&amp;gt; save changes&lt;BR /&gt;6&amp;gt; cp&amp;nbsp;.config ./arch/arm64/configs/imx_v8_android_defconfig&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But now I am getting this error when trying to build the kernel:&lt;/P&gt;&lt;P&gt;Command: ./imx-make.sh kernel -j4&lt;/P&gt;&lt;P&gt;make: Entering directory '/home/dev1/sinlap_11_2_6/simpli-aosp-11_2_6_0'&lt;BR /&gt;mkdir -p /home/dev1/sinlap_11_2_6/simpli-aosp-11_2_6_0/out/target/product/evk_8mp/obj/KERNEL_OBJ&lt;BR /&gt;Merging KERNEL config srcs: /home/dev1/sinlap_11_2_6/simpli-aosp-11_2_6_0/vendor/nxp-opensource/kernel_imx/arch/arm64/configs/gki_defconfig /home/dev1/sinlap_11_2_6/simpli-aosp-11_2_6_0/device/nxp/imx8m/evk_8mp/android_addition_defconfig /home/dev1/sinlap_11_2_6/simpli-aosp-11_2_6_0/vendor/nxp-opensource/kernel_imx/arch/arm64/configs/imx8mp_gki.fragment&lt;BR /&gt;Using /home/dev1/sinlap_11_2_6/simpli-aosp-11_2_6_0/vendor/nxp-opensource/kernel_imx/arch/arm64/configs/gki_defconfig as base&lt;BR /&gt;Merging /home/dev1/sinlap_11_2_6/simpli-aosp-11_2_6_0/device/nxp/imx8m/evk_8mp/android_addition_defconfig&lt;BR /&gt;Merging /home/dev1/sinlap_11_2_6/simpli-aosp-11_2_6_0/vendor/nxp-opensource/kernel_imx/arch/arm64/configs/imx8mp_gki.fragment&lt;BR /&gt;Value of CONFIG_STATIC_USERMODEHELPER_PATH is redefined by fragment /home/dev1/sinlap_11_2_6/simpli-aosp-11_2_6_0/vendor/nxp-opensource/kernel_imx/arch/arm64/configs/imx8mp_gki.fragment:&lt;BR /&gt;Previous value: CONFIG_STATIC_USERMODEHELPER_PATH=""&lt;BR /&gt;New value: CONFIG_STATIC_USERMODEHELPER_PATH="/system/bin/sh"&lt;/P&gt;&lt;P&gt;Value of CONFIG_LTO_CLANG_FULL is redefined by fragment /home/dev1/sinlap_11_2_6/simpli-aosp-11_2_6_0/vendor/nxp-opensource/kernel_imx/arch/arm64/configs/imx8mp_gki.fragment:&lt;BR /&gt;Previous value: CONFIG_LTO_CLANG_FULL=y&lt;BR /&gt;New value: # CONFIG_LTO_CLANG_FULL is not set&lt;/P&gt;&lt;P&gt;Value of CONFIG_CFI_CLANG is redefined by fragment /home/dev1/sinlap_11_2_6/simpli-aosp-11_2_6_0/vendor/nxp-opensource/kernel_imx/arch/arm64/configs/imx8mp_gki.fragment:&lt;BR /&gt;Previous value: CONFIG_CFI_CLANG=y&lt;BR /&gt;New value: # CONFIG_CFI_CLANG is not set&lt;/P&gt;&lt;P&gt;Value of CONFIG_RCU_FAST_NO_HZ is redefined by fragment /home/dev1/sinlap_11_2_6/simpli-aosp-11_2_6_0/vendor/nxp-opensource/kernel_imx/arch/arm64/configs/imx8mp_gki.fragment:&lt;BR /&gt;Previous value: CONFIG_RCU_FAST_NO_HZ=y&lt;BR /&gt;New value: # CONFIG_RCU_FAST_NO_HZ is not set&lt;/P&gt;&lt;P&gt;make[1]: Entering directory '/home/dev1/sinlap_11_2_6/simpli-aosp-11_2_6_0/vendor/nxp-opensource/kernel_imx'&lt;BR /&gt;make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.&lt;BR /&gt;make[2]: Entering directory '/home/dev1/sinlap_11_2_6/simpli-aosp-11_2_6_0/out/target/product/evk_8mp/obj/KERNEL_OBJ'&lt;BR /&gt;***&lt;BR /&gt;*** The source tree is not clean, please run 'make mrproper'&lt;BR /&gt;*** in /home/dev1/sinlap_11_2_6/simpli-aosp-11_2_6_0/vendor/nxp-opensource/kernel_imx&lt;BR /&gt;***&lt;BR /&gt;make[2]: *** [/home/dev1/sinlap_11_2_6/simpli-aosp-11_2_6_0/vendor/nxp-opensource/kernel_imx/Makefile:562: outputmakefile] Error 1&lt;BR /&gt;make[2]: Leaving directory '/home/dev1/sinlap_11_2_6/simpli-aosp-11_2_6_0/out/target/product/evk_8mp/obj/KERNEL_OBJ'&lt;BR /&gt;make[1]: *** [Makefile:185: __sub-make] Error 2&lt;BR /&gt;make[1]: Leaving directory '/home/dev1/sinlap_11_2_6/simpli-aosp-11_2_6_0/vendor/nxp-opensource/kernel_imx'&lt;BR /&gt;make: *** [/home/dev1/sinlap_11_2_6/simpli-aosp-11_2_6_0/device/nxp/common/build/kernel.mk:187: /home/dev1/sinlap_11_2_6/simpli-aosp-11_2_6_0/out/target/product/evk_8mp/obj/KERNEL_OBJ/.config] Error 2&lt;BR /&gt;make: Leaving directory '/home/dev1/sinlap_11_2_6/simpli-aosp-11_2_6_0'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But if I run make mrproper still the build is not getting successful.&lt;/P&gt;&lt;P&gt;It is showing error as below :&lt;/P&gt;&lt;P&gt;============================================&lt;BR /&gt;PLATFORM_VERSION_CODENAME=REL&lt;BR /&gt;PLATFORM_VERSION=11&lt;BR /&gt;TARGET_PRODUCT=evk_8mp&lt;BR /&gt;TARGET_BUILD_VARIANT=userdebug&lt;BR /&gt;TARGET_BUILD_TYPE=release&lt;BR /&gt;TARGET_ARCH=arm64&lt;BR /&gt;TARGET_ARCH_VARIANT=armv8-a&lt;BR /&gt;TARGET_CPU_VARIANT=cortex-a53&lt;BR /&gt;TARGET_2ND_ARCH=arm&lt;BR /&gt;TARGET_2ND_ARCH_VARIANT=armv7-a-neon&lt;BR /&gt;TARGET_2ND_CPU_VARIANT=cortex-a9&lt;BR /&gt;HOST_ARCH=x86_64&lt;BR /&gt;HOST_2ND_ARCH=x86&lt;BR /&gt;HOST_OS=linux&lt;BR /&gt;HOST_OS_EXTRA=Linux-5.15.0-60-generic-x86_64-Ubuntu-20.04.3-LTS&lt;BR /&gt;HOST_CROSS_OS=windows&lt;BR /&gt;HOST_CROSS_ARCH=x86&lt;BR /&gt;HOST_CROSS_2ND_ARCH=x86_64&lt;BR /&gt;HOST_BUILD_TYPE=release&lt;BR /&gt;BUILD_ID=RQ3A.211001.001&lt;BR /&gt;OUT_DIR=out&lt;BR /&gt;PRODUCT_SOONG_NAMESPACES=device/generic/goldfish device/generic/goldfish-opengl external/mesa3d vendor/nxp-opensource/imx/power hardware/google/pixel hardware/google/camera vendor/nxp-opensource/imx/came&lt;BR /&gt;ra vendor/partner_gms&lt;BR /&gt;============================================&lt;BR /&gt;FAILED: ninja: unknown target 'mrproper'&lt;BR /&gt;13:03:05 ninja failed with: exit status 1&lt;/P&gt;&lt;P&gt;#### failed to build some targets (6 seconds) ####&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please tell me how to resolve this issue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;Abhiroop Nandi Ray&lt;/P&gt;</description>
    <pubDate>Thu, 23 Feb 2023 08:23:56 GMT</pubDate>
    <dc:creator>abhiroopnray</dc:creator>
    <dc:date>2023-02-23T08:23:56Z</dc:date>
    <item>
      <title>Android 11 Build failed after changes in menuconfig</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Android-11-Build-failed-after-changes-in-menuconfig/m-p/1604396#M201921</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I am using Android 11.2.6.0. I have made changes in menuconfig to enable DM-Verity and copied the .config to imx_v8_android_defconf&lt;/P&gt;&lt;P&gt;Steps:&lt;/P&gt;&lt;P&gt;IN VENDOR/NXP-OPENSOURCE/KERNEL_IMX folder&lt;BR /&gt;1&amp;gt; export ARCH=arm64&lt;BR /&gt;2&amp;gt; export AARCH64_GCC_CROSS_COMPILE=/opt/gcc-arm-9.2-2019.12-x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu-&lt;BR /&gt;3&amp;gt; export CLANG_PATH=/opt/prebuilt-android-clang&lt;BR /&gt;4&amp;gt; make imx_v8_android_defconfig&lt;BR /&gt;5&amp;gt; make menuconfig ---&amp;gt; do your changes --&amp;gt; save changes&lt;BR /&gt;6&amp;gt; cp&amp;nbsp;.config ./arch/arm64/configs/imx_v8_android_defconfig&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But now I am getting this error when trying to build the kernel:&lt;/P&gt;&lt;P&gt;Command: ./imx-make.sh kernel -j4&lt;/P&gt;&lt;P&gt;make: Entering directory '/home/dev1/sinlap_11_2_6/simpli-aosp-11_2_6_0'&lt;BR /&gt;mkdir -p /home/dev1/sinlap_11_2_6/simpli-aosp-11_2_6_0/out/target/product/evk_8mp/obj/KERNEL_OBJ&lt;BR /&gt;Merging KERNEL config srcs: /home/dev1/sinlap_11_2_6/simpli-aosp-11_2_6_0/vendor/nxp-opensource/kernel_imx/arch/arm64/configs/gki_defconfig /home/dev1/sinlap_11_2_6/simpli-aosp-11_2_6_0/device/nxp/imx8m/evk_8mp/android_addition_defconfig /home/dev1/sinlap_11_2_6/simpli-aosp-11_2_6_0/vendor/nxp-opensource/kernel_imx/arch/arm64/configs/imx8mp_gki.fragment&lt;BR /&gt;Using /home/dev1/sinlap_11_2_6/simpli-aosp-11_2_6_0/vendor/nxp-opensource/kernel_imx/arch/arm64/configs/gki_defconfig as base&lt;BR /&gt;Merging /home/dev1/sinlap_11_2_6/simpli-aosp-11_2_6_0/device/nxp/imx8m/evk_8mp/android_addition_defconfig&lt;BR /&gt;Merging /home/dev1/sinlap_11_2_6/simpli-aosp-11_2_6_0/vendor/nxp-opensource/kernel_imx/arch/arm64/configs/imx8mp_gki.fragment&lt;BR /&gt;Value of CONFIG_STATIC_USERMODEHELPER_PATH is redefined by fragment /home/dev1/sinlap_11_2_6/simpli-aosp-11_2_6_0/vendor/nxp-opensource/kernel_imx/arch/arm64/configs/imx8mp_gki.fragment:&lt;BR /&gt;Previous value: CONFIG_STATIC_USERMODEHELPER_PATH=""&lt;BR /&gt;New value: CONFIG_STATIC_USERMODEHELPER_PATH="/system/bin/sh"&lt;/P&gt;&lt;P&gt;Value of CONFIG_LTO_CLANG_FULL is redefined by fragment /home/dev1/sinlap_11_2_6/simpli-aosp-11_2_6_0/vendor/nxp-opensource/kernel_imx/arch/arm64/configs/imx8mp_gki.fragment:&lt;BR /&gt;Previous value: CONFIG_LTO_CLANG_FULL=y&lt;BR /&gt;New value: # CONFIG_LTO_CLANG_FULL is not set&lt;/P&gt;&lt;P&gt;Value of CONFIG_CFI_CLANG is redefined by fragment /home/dev1/sinlap_11_2_6/simpli-aosp-11_2_6_0/vendor/nxp-opensource/kernel_imx/arch/arm64/configs/imx8mp_gki.fragment:&lt;BR /&gt;Previous value: CONFIG_CFI_CLANG=y&lt;BR /&gt;New value: # CONFIG_CFI_CLANG is not set&lt;/P&gt;&lt;P&gt;Value of CONFIG_RCU_FAST_NO_HZ is redefined by fragment /home/dev1/sinlap_11_2_6/simpli-aosp-11_2_6_0/vendor/nxp-opensource/kernel_imx/arch/arm64/configs/imx8mp_gki.fragment:&lt;BR /&gt;Previous value: CONFIG_RCU_FAST_NO_HZ=y&lt;BR /&gt;New value: # CONFIG_RCU_FAST_NO_HZ is not set&lt;/P&gt;&lt;P&gt;make[1]: Entering directory '/home/dev1/sinlap_11_2_6/simpli-aosp-11_2_6_0/vendor/nxp-opensource/kernel_imx'&lt;BR /&gt;make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.&lt;BR /&gt;make[2]: Entering directory '/home/dev1/sinlap_11_2_6/simpli-aosp-11_2_6_0/out/target/product/evk_8mp/obj/KERNEL_OBJ'&lt;BR /&gt;***&lt;BR /&gt;*** The source tree is not clean, please run 'make mrproper'&lt;BR /&gt;*** in /home/dev1/sinlap_11_2_6/simpli-aosp-11_2_6_0/vendor/nxp-opensource/kernel_imx&lt;BR /&gt;***&lt;BR /&gt;make[2]: *** [/home/dev1/sinlap_11_2_6/simpli-aosp-11_2_6_0/vendor/nxp-opensource/kernel_imx/Makefile:562: outputmakefile] Error 1&lt;BR /&gt;make[2]: Leaving directory '/home/dev1/sinlap_11_2_6/simpli-aosp-11_2_6_0/out/target/product/evk_8mp/obj/KERNEL_OBJ'&lt;BR /&gt;make[1]: *** [Makefile:185: __sub-make] Error 2&lt;BR /&gt;make[1]: Leaving directory '/home/dev1/sinlap_11_2_6/simpli-aosp-11_2_6_0/vendor/nxp-opensource/kernel_imx'&lt;BR /&gt;make: *** [/home/dev1/sinlap_11_2_6/simpli-aosp-11_2_6_0/device/nxp/common/build/kernel.mk:187: /home/dev1/sinlap_11_2_6/simpli-aosp-11_2_6_0/out/target/product/evk_8mp/obj/KERNEL_OBJ/.config] Error 2&lt;BR /&gt;make: Leaving directory '/home/dev1/sinlap_11_2_6/simpli-aosp-11_2_6_0'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But if I run make mrproper still the build is not getting successful.&lt;/P&gt;&lt;P&gt;It is showing error as below :&lt;/P&gt;&lt;P&gt;============================================&lt;BR /&gt;PLATFORM_VERSION_CODENAME=REL&lt;BR /&gt;PLATFORM_VERSION=11&lt;BR /&gt;TARGET_PRODUCT=evk_8mp&lt;BR /&gt;TARGET_BUILD_VARIANT=userdebug&lt;BR /&gt;TARGET_BUILD_TYPE=release&lt;BR /&gt;TARGET_ARCH=arm64&lt;BR /&gt;TARGET_ARCH_VARIANT=armv8-a&lt;BR /&gt;TARGET_CPU_VARIANT=cortex-a53&lt;BR /&gt;TARGET_2ND_ARCH=arm&lt;BR /&gt;TARGET_2ND_ARCH_VARIANT=armv7-a-neon&lt;BR /&gt;TARGET_2ND_CPU_VARIANT=cortex-a9&lt;BR /&gt;HOST_ARCH=x86_64&lt;BR /&gt;HOST_2ND_ARCH=x86&lt;BR /&gt;HOST_OS=linux&lt;BR /&gt;HOST_OS_EXTRA=Linux-5.15.0-60-generic-x86_64-Ubuntu-20.04.3-LTS&lt;BR /&gt;HOST_CROSS_OS=windows&lt;BR /&gt;HOST_CROSS_ARCH=x86&lt;BR /&gt;HOST_CROSS_2ND_ARCH=x86_64&lt;BR /&gt;HOST_BUILD_TYPE=release&lt;BR /&gt;BUILD_ID=RQ3A.211001.001&lt;BR /&gt;OUT_DIR=out&lt;BR /&gt;PRODUCT_SOONG_NAMESPACES=device/generic/goldfish device/generic/goldfish-opengl external/mesa3d vendor/nxp-opensource/imx/power hardware/google/pixel hardware/google/camera vendor/nxp-opensource/imx/came&lt;BR /&gt;ra vendor/partner_gms&lt;BR /&gt;============================================&lt;BR /&gt;FAILED: ninja: unknown target 'mrproper'&lt;BR /&gt;13:03:05 ninja failed with: exit status 1&lt;/P&gt;&lt;P&gt;#### failed to build some targets (6 seconds) ####&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please tell me how to resolve this issue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;Abhiroop Nandi Ray&lt;/P&gt;</description>
      <pubDate>Thu, 23 Feb 2023 08:23:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Android-11-Build-failed-after-changes-in-menuconfig/m-p/1604396#M201921</guid>
      <dc:creator>abhiroopnray</dc:creator>
      <dc:date>2023-02-23T08:23:56Z</dc:date>
    </item>
  </channel>
</rss>

