Xiaomi_Kernel_OpenSource icon indicating copy to clipboard operation
Xiaomi_Kernel_OpenSource copied to clipboard

Problems when compiling the titing kernel

Open 500zxy opened this issue 2 years ago • 3 comments

I tried to compile the kernel source code of the Android device code named titing. The compilation configuration file I used is the gki_defconfig in the configs directory. The error is as follows:

Drivers/misc/Kconfig: 540: can't open file "drivers/misc/hwid/Kconfig" Make [2]: *** [../scripts/kconfig/Makefile: 88: gki_defconfig] error 1 Make [1 ]: *** [/ home/xiaohua/desktop/Kernel/Makefile: 619: gki_defconfig] error 2 Make [1]: leave directory "/home/xiaohua/desktop/Kernel/output" Make : *** [ Makefile: 185: __sub-make] error 2

500zxy avatar Oct 15 '23 06:10 500zxy

请开源完整的内核源码

500zxy avatar Oct 15 '23 08:10 500zxy

I have the same problem. When I build fuxi kernel, it notify me missing driver/mics/hwid and missing driver/staging/binder_pro. Remove relation Makefile and Kconfig will can be built it, but I think the kenel source code is not complete.

I do not know why Xiaomi not opens ouce hwid, but you can try to remove hwid from driver/misc/Kconfig and driver/misc/Makefile.

ghost avatar Oct 24 '23 08:10 ghost

I have the same problem. When I build fuxi kernel, it notify me missing driver/mics/hwid and missing driver/staging/binder_pro. Remove relation Makefile and Kconfig will can be built it, but I think the kenel source code is not complete.

I do not know why Xiaomi not opens ouce hwid, but you can try to remove hwid from driver/misc/Kconfig and driver/misc/Makefile.

Pin it, it's from my deleted account. (an unuse account)

yomihime avatar Oct 24 '23 08:10 yomihime

and me too

BrokenWingsIcarus avatar Jun 27 '24 06:06 BrokenWingsIcarus