MiCode / Xiaomi_Kernel_OpenSource

Xiaomi Mobile Phone Kernel OpenSource
8.72k stars 3.22k forks source link

Found more defconfig file in arch/arm64/config/ folder in redmi note 7 #1246

Open figforg opened 4 years ago

figforg commented 4 years ago

I found many defconfig file in path arch/arm64/config folder. I'not sure which one must be modify for building compile kernel of Redmi Note 7. Please help me.

I found below defconfig file in config folder.

defconfig msm-auto-gvm-perf_defconfig msm_defconfig fsmcortex_defconfig msm-auto-perf_defconfig msm-perf_defconfig fsmcortex-perf_defconfig msmcortex_defconfig ranchu64_defconfig lavender-perf_defconfig msmcortex_mediabox_defconfig sdm660_defconfig msm-auto_defconfig msmcortex_mediabox-perf_defconfig sdm660-perf_defconfig msm-auto-gvm_defconfig msmcortex-perf_defconfig

PIPIPIG233666 commented 4 years ago

https://github.com/MiCode/Xiaomi_Kernel_OpenSource/commit/1b35cb9e684cbc58867ee44718eb92e7ff951b3a The kernel config file used is lavender-perf_defconfig

figforg commented 4 years ago

Yes, I compiled that lavender-perf_defcnfig file. But I found below error,

fatal error: btfm_slim.h: No such file or directory

include

                   ^

compilation terminated. make[2]: [scripts/Makefile.build:283: drivers/bluetooth/btfm_slim.o] Error 1 make[1]: [scripts/Makefile.build:489: drivers/bluetooth] Error 2 make: *** [Makefile:1010: drivers] Error 2

How can I fix it? I saw some fixed solution in forum as : replacing <> with "" in header file. But I don't understand where is header file and where I should replace. Please help me.

Aquarius223 commented 4 years ago

将输出目录定向到out文件夹 即make O=out xxxxxx_defconfig 然后make O=out -j线程数即可

Direct the output directory to the out folder Ie make O = out xxxxxx_defconfig Then make O = out -j thread count