/********************************************************************************* * Android Kernel S Ave Defalut Config * Description: * One did not pay attention to setting the environment variable, the default configuration file to the operation is gone. * 2017-11-13 Shenzhen Nanshan Ping Shan village Zengjianfeng ******************************************************** ************************/First, get the config file name including./system/netd/server/android.mk. including ./system/security/keystore-engine/android.mk. including ./system/security/keystore/android.mk. including ./system/security/softkeymaster/android.mk. including ./system/vold/android.mk. including ./tools/external/fat32lib/android.mk ... NoPrivateRecovery resources forTarget_device SABRESD_6DQ make-C kernel_imx imx_v7_android_defconfig arch=arm cross_compile= ' pwd '/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-loadaddr=0x10008000make[1]: Entering directory '/home/desk/myandroid/kernel_imx'# # Configuration written to. config # make[1]: Leaving directory '/home/desk/myandroid/kernel_imx'Install-d Kernel_imx/.config out/target/product/sabresd_6dq/. config make-C kernel_imx-j20 uimage arch=arm cross_compile= ' pwd '/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-loadaddr=0x10008000make[1]: Entering directory '/home/desk/myandroid/kernel_imx'Scripts/kconfig/conf--silentoldconfig Kconfig make[1]: Leaving directory '/home/desk/myandroid/kernel_imx'make[1]: Entering directory '/home/desk/myandroid/kernel_imx'CHK include/config/kernel.release CHK include/generated/uapi/linux/Version.h^cmake[1]: * * * [include/config/Kernel.release] Interrupt make:*** [ out/target/product/sabresd_6dq/Kernel] Interrupt second, find out the location of the file [email protected]-ubuntu:~/myandroid/kernel_imx$ Find *-Iname imx_v7_android_defconfig Arch/arm/configs/Imx_v7_android_defconfig Three, operation Process1to set the ARM environment variable, no person will enter the x86 kernel state: Export ARCH=Arm Export Cross_compile=~/myandroid/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-2. Make Menuconfig3. Make Savedefconfig4. CP Defconfig Arch/arm/configs/imx_v7_android_defconfig
Android Kernel Save Defalut Config