MotorolaMobilityLLC / kernel-mtk

Linux Kernel for devices using MTK-based chipset
Other
95 stars 72 forks source link

Build issues with pie-9.0.0-release-poker branch #46

Closed Vasant-1234 closed 1 year ago

Vasant-1234 commented 3 years ago

I was trying to build for my Motorola E6 Plus phone and build fails in kernel-mtk/tinno/common_features/touch/focaltech_touch_screen/. It is missing focaltech_config.h among other things. Please fix build.

blankting commented 3 years ago

I was trying to build for my Motorola E6 Plus phone and build fails in kernel-mtk/tinno/common_features/touch/focaltech_touch_screen/. It is missing focaltech_config.h among other things. Please fix build.

@Vasant-1234 Did you choose a right defconfig, such as "p161m_defconfig"?

Vasant-1234 commented 3 years ago

I used the config that I extracted from my Moto E6 Plus phone (/proc/config.gz).

blankting commented 3 years ago

@Vasant-1234 The code contains the "focaltech_config.h" you mentioned,see "tinno/p160an/touchpanel/focaltech_touch_screen/focaltech_config.h"

Please refer to follow steps: my_top_dir =$PWD Download prebuilts folder from Android distribution and checkout corresponding branch. For example: git clone https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9

cd arm-linux-androideabi-4.9

git checkout pie-release

cd $my_top_dir

cross=$my_top_dir/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-

kernel_out_dir=$my_top_dir/out

cd kernel-mtk

make ARCH=arm CROSS_COMPILE=$cross O=$kernel_out_dir p161m_defconfig

make ARCH=arm CROSS_COMPILE=$cross O=$kernel_out_dir KCFLAGS=-mno-android headers_install

TARGET_PRODUCT=p161m make ARCH=arm CROSS_COMPILE=$cross O=$kernel_out_dir KCFLAGS=-mno-android -j8

KatoTempest commented 2 years ago

this commands really work on the arm64 variant? i try to adapt these instructions for my variant but recive various errors

`~/android/kernel-mtk$ bash build.sh Makefile:422: KBUILD_CFLAGS -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 drivers/../tinno/common_features/dev_info/Makefile:5: ---[WD]--- cat: /home/licht/android/kernel-mtk/build.ini: No existe el archivo o el directorio cat: /home/licht/android/kernel-mtk/build.ini: No existe el archivo o el directorio drivers/../tinno/common_features/fingerprint/Makefile:11: ---------------fingerprint_supprot---------------- cat: /home/licht/android/kernel-mtk/build.ini: No existe el archivo o el directorio . . . . PLATFORM = DEVAPC platform code exists... **** drivers/trusty/mtee-kree mk **** build trng... TCORE_UT_FWK_SUPPORT = n TCORE_PROFILING_SUPPORT = n TCORE_PROFILING_AUTO_DUMP = n PMEM_MOCK_OBJECT_SUPPORT = n TCORE_MEMORY_LEAK_DETECTION_SUPPORT = n Makefile:422: KBUILD_CFLAGS -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 drivers/../tinno/common_features/dev_info/Makefile:5: ---[WD]--- cat: /home/licht/android/kernel-mtk/build.ini: No existe el archivo o el directorio cat: /home/licht/android/kernel-mtk/build.ini: No existe el archivo o el directorio drivers/../tinno/common_features/fingerprint/Makefile:11: ---------------fingerprint_supprot---------------- cat: /home/licht/android/kernel-mtk/build.ini: No existe el archivo o el directorio . . . . PLATFORM = DEVAPC platform code exists... **** drivers/trusty/mtee-kree mk **** build trng... TCORE_UT_FWK_SUPPORT = n TCORE_PROFILING_SUPPORT = n TCORE_PROFILING_AUTO_DUMP = n PMEM_MOCK_OBJECT_SUPPORT = n TCORE_MEMORY_LEAK_DETECTION_SUPPORT = n make[1]: se entra en el directorio '/home/licht/out' /home/licht/android/kernel-mtk/Makefile:422: KBUILD_CFLAGS -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 HOSTCC scripts/basic/fixdep HOSTCC scripts/basic/bin2c GEN ./Makefile HOSTCC scripts/kconfig/conf.o HOSTCC scripts/kconfig/zconf.tab.o HOSTLD scripts/kconfig/conf arch/arm64/configs/p161bn_defconfig:482:warning: override: reassigning to symbol MTK_PWM #

configuration written to .config

# make[1]: se sale del directorio '/home/licht/out' make[1]: se entra en el directorio '/home/licht/out' /home/licht/android/kernel-mtk/Makefile:422: KBUILD_CFLAGS -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 CHK include/generated/uapi/linux/version.h HOSTCC scripts/unifdef INSTALL usr/include/asm-generic/ (35 files) INSTALL usr/include/drm/ (21 files) INSTALL usr/include/linux/android/ (1 file) INSTALL usr/include/linux/byteorder/ (2 files) INSTALL usr/include/linux/caif/ (2 files) INSTALL usr/include/linux/can/ (5 files) INSTALL usr/include/linux/dvb/ (8 files) INSTALL usr/include/linux/hdlc/ (1 file) INSTALL usr/include/linux/hsi/ (2 files) INSTALL usr/include/linux/iio/ (2 files) INSTALL usr/include/linux/isdn/ (1 file) INSTALL usr/include/linux/mmc/ (1 file) INSTALL usr/include/linux/netfilter/ipset/ (4 files) INSTALL usr/include/linux/netfilter/ (87 files) INSTALL usr/include/linux/netfilter_arp/ (2 files) INSTALL usr/include/linux/netfilter_bridge/ (17 files) INSTALL usr/include/linux/netfilter_ipv4/ (9 files) INSTALL usr/include/linux/netfilter_ipv6/ (12 files) INSTALL usr/include/linux/nfsd/ (5 files) INSTALL usr/include/linux/raid/ (2 files) INSTALL usr/include/linux/spi/ (1 file) INSTALL usr/include/linux/sunrpc/ (1 file) INSTALL usr/include/linux/tc_act/ (14 files) INSTALL usr/include/linux/tc_ematch/ (4 files) INSTALL usr/include/linux/usb/ (11 files) INSTALL usr/include/linux/wimax/ (1 file) INSTALL usr/include/linux/ (438 files) INSTALL usr/include/misc/ (1 file) INSTALL usr/include/mtd/ (5 files) INSTALL usr/include/rdma/hfi/ (1 file) INSTALL usr/include/rdma/ (14 files) INSTALL usr/include/scsi/fc/ (4 files) INSTALL usr/include/scsi/ (4 files) INSTALL usr/include/sound/ (15 files) INSTALL usr/include/video/ (3 files) INSTALL usr/include/xen/ (4 files) INSTALL usr/include/uapi/ (0 file) INSTALL usr/include/asm/ (36 files) make[1]: se sale del directorio '/home/licht/out' make[1]: se entra en el directorio '/home/licht/out' /home/licht/android/kernel-mtk/Makefile:422: KBUILD_CFLAGS -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 /home/licht/android/kernel-mtk/Makefile:422: KBUILD_CFLAGS -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 GEN ./Makefile scripts/kconfig/conf --silentoldconfig Kconfig /home/licht/android/kernel-mtk/Makefile:422: KBUILD_CFLAGS -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 CHK include/config/kernel.release GEN ./Makefile CHK include/generated/uapi/linux/version.h CHK include/generated/utsrelease.h rm -f dtboimg.cfg.tmp echo /home/licht/out/arch/arm64/boot/dts/mediatek/p161bn.dtb >>dtboimg.cfg.tmp; echo " id=0" >>dtboimg.cfg.tmp; if ! cmp -s dtboimg.cfg.tmp dtboimg.cfg; then \ mv dtboimg.cfg.tmp dtboimg.cfg; \ else \ rm dtboimg.cfg.tmp; \ fi /home/licht/android/kernel-mtk/drivers/../tinno/common_features/dev_info/Makefile:5: ---[WD]--- cat: /home/licht/android/kernel-mtk/build.ini: No existe el archivo o el directorio cat: /home/licht/android/kernel-mtk/build.ini: No existe el archivo o el directorio /home/licht/android/kernel-mtk/drivers/../tinno/common_features/fingerprint/Makefile:11: ---------------fingerprint_supprot---------------- Using /home/licht/android/kernel-mtk as source for kernel HOSTCC scripts/dtc/dtc.o HOSTCC scripts/dtc/flattree.o HOSTCC scripts/dtc/fstree.o HOSTCC scripts/dtc/data.o HOSTCC scripts/dtc/livetree.o HOSTCC scripts/dtc/treesource.o HOSTCC scripts/genksyms/genksyms.o CC scripts/mod/empty.o HOSTCC scripts/genksyms/parse.tab.o HOSTCC scripts/genksyms/lex.lex.o HOSTCC scripts/mod/mk_elfconfig CC scripts/mod/devicetable-offsets.s HOSTCC scripts/dtc/srcpos.o HOSTCC scripts/dtc/checks.o HOSTCC scripts/dtc/util.o CHK scripts/mod/devicetable-offsets.h HOSTCC scripts/dtc/dtc-lexer.lex.o MKELF scripts/mod/elfconfig.h HOSTCC scripts/mod/modpost.o HOSTCC scripts/selinux/genheaders/genheaders HOSTCC scripts/kallsyms HOSTCC scripts/dtc/dtc-parser.tab.o HOSTLD scripts/genksyms/genksyms HOSTCC scripts/pnmtologo HOSTCC scripts/selinux/mdp/mdp HOSTLD scripts/dtc/dtc HOSTCC scripts/sortextable HOSTCC scripts/mod/file2alias.o HOSTCC scripts/mod/sumversion.o /home/licht/android/kernel-mtk FDVT: Drv use 4.0 folder /home/licht/android/kernel-mtk /home/licht/android/kernel-mtk/drivers/misc/mediatek/ccu/src/1.1/Makefile:23: CCU_INC=/home/licht/android/kernel-mtk/drivers/misc/mediatek/ccu/src/mt6765/ccu_ext_interface /home/licht/android/kernel-mtk /home/licht/android/kernel-mtk CC kernel/bounds.s PLATFORM = mt6765 DEVAPC platform code exists... CHK include/generated/timeconst.h CHK include/generated/bounds.h CC arch/arm64/kernel/asm-offsets.s *MTK_GPU_VERSION 2 = doma imgsensor drv by platform ./camera_project/p161bn/v1/s5k3l6_sunwin_p161bn_mipi_raw/ ./camera_project/p161bn/v1/sp2509v_sunwin_p161bn_mipi_raw/ ./camera_project/p161bn/v1/s5k4h7yx_sunwin_p161m_mipi_raw/ ./camera_project/p161bn/v1/s5k3l6_tsp_p161m_mipi_raw/ ./camera_project/p161bn/v1/s5k4h7yx_tsp_p161m_mipi_raw/ HOSTLD scripts/mod/modpost DTC arch/arm64/boot/dts/mediatek/mt6765.dtb DTC arch/arm64/boot/dts/mediatek/p161bn.dtb arch/arm64/boot/dts/mediatek/p161bn.dtb: Warning (reg_format): "reg" property in /fragment@8/overlay/cap_touch@38 has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1) arch/arm64/boot/dts/mediatek/p161bn.dtb: Warning (reg_format): "reg" property in /fragment@29/overlay/fingerprint@0 has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1) arch/arm64/boot/dts/mediatek/p161bn.dtb: Warning (reg_format): "reg" property in /fragment@32/overlay/bq24157@6a has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1) arch/arm64/boot/dts/mediatek/p161bn.dtb: Warning (avoid_default_addr_size): Relying on default #address-cells value for /fragment@8/overlay/cap_touch@38 arch/arm64/boot/dts/mediatek/p161bn.dtb: Warning (avoid_default_addr_size): Relying on default #size-cells value for /fragment@8/overlay/cap_touch@38 arch/arm64/boot/dts/mediatek/p161bn.dtb: Warning (avoid_default_addr_size): Relying on default #address-cells value for /fragment@29/overlay/fingerprint@0 arch/arm64/boot/dts/mediatek/p161bn.dtb: Warning (avoid_default_addr_size): Relying on default #size-cells value for /fragment@29/overlay/fingerprint@0 arch/arm64/boot/dts/mediatek/p161bn.dtb: Warning (avoid_default_addr_size): Relying on default #address-cells value for /fragment@32/overlay/bq24157@6a arch/arm64/boot/dts/mediatek/p161bn.dtb: Warning (avoid_default_addr_size): Relying on default #size-cells value for /fragment@32/overlay/bq24157@6a for i in ./arch/arm64/boot/dts/mediatek/p161bn.dtb; do \ /home/licht/android/kernel-mtk/scripts/dtc/ufdt_apply_overlay ./arch/arm64/boot/dts/mediatek/mt6765.dtb $i $i.merge;\ done CHK include/generated/asm-offsets.h CALL /home/licht/android/kernel-mtk/scripts/checksyscalls.sh ufdt_apply_overlay: took 0.000000000 secs "CONFIG_MICROTRUST_TEE_VERSION="280"" "CONFIG_MICROTRUST_TEE_SUPPORT=y" "CONFIG_MICROTRUST_TZ_DRIVER=Y" "CONFIG_MICROTRUST_VFS_DRIVER=Y" "CONFIG_MICROTRUST_FP_DRIVER=Y" "CONFIG_MICROTRUST_TUI_DRIVER=" "CONFIG_MICROTRUST_DEBUG=" "CONFIG_MICROTRUST_TEST_DRIVERS=" build trng... LDS arch/arm64/kernel/vdso/vdso.lds VDSOA arch/arm64/kernel/vdso/gettimeofday.o VDSOA arch/arm64/kernel/vdso/note.o VDSOA arch/arm64/kernel/vdso/sigreturn.o VDSOL arch/arm64/kernel/vdso/vdso.so.dbg VDSOSYM include/generated/vdso-offsets.h HOSTCC usr/gen_init_cpio CC init/main.o CHK include/generated/compile.h CC init/do_mounts.o CC init/do_mounts_initrd.o CC init/do_mounts_dm.o GEN usr/initramfs_data.cpio.gz CC arch/arm64/mm/dma-mapping.o CC init/noinitramfs.o AS usr/initramfs_data.o LD usr/built-in.o CC init/initramfs.o CC arch/arm64/kernel/debug-monitors.o CC arch/arm64/crypto/sha2-ce-glue.o CC arch/arm64/mm/extable.o CC init/calibrate.o AS arch/arm64/kernel/entry.o CC arch/arm64/mm/fault.o CC init/init_task.o CC arch/arm64/mm/init.o CC arch/arm64/kernel/irq.o AS arch/arm64/crypto/sha2-ce-core.o CC arch/arm64/kernel/fpsimd.o CC arch/arm64/crypto/aes-ce-cipher-glue.o CC kernel/fork.o CC kernel/exec_domain.o CC kernel/panic.o AS arch/arm64/kernel/entry-fpsimd.o CC init/version.o CC arch/arm64/crypto/aes-ce-cipher-core.o CC arch/arm64/kernel/process.o CC arch/arm64/kernel/ptrace.o CC arch/arm64/kernel/setup.o AS arch/arm64/mm/cache.o CC arch/arm64/mm/copypage.o CC arch/arm64/kernel/signal.o CC arch/arm64/crypto/aes-glue-ce.o LD init/mounts.o LD init/built-in.o CC arch/arm64/kernel/sys.o CC arch/arm64/mm/flush.o CC arch/arm64/mm/ioremap.o CC arch/arm64/kernel/stacktrace.o AS arch/arm64/crypto/aes-ce.o CC arch/arm64/kernel/time.o CC arch/arm64/mm/mmap.o LD arch/arm64/crypto/sha2-ce.o LD arch/arm64/crypto/aes-ce-cipher.o LD arch/arm64/crypto/aes-ce-blk.o LD arch/arm64/crypto/built-in.o CC arch/arm64/mm/pgd.o CC kernel/cpu.o CC kernel/exit.o CC arch/arm64/mm/mmu.o CC arch/arm64/mm/context.o AS arch/arm64/mm/proc.o CC arch/arm64/kernel/traps.o CC arch/arm64/mm/pageattr.o CC arch/arm64/kernel/io.o CC kernel/softirq.o AS arch/arm64/mm/cache-mtk-v8.o CC mm/filemap.o CC kernel/resource.o CC kernel/sysctl.o CC arch/arm64/kernel/vdso.o LD arch/arm64/mm/built-in.o AS arch/arm64/kernel/hyp-stub.o CC arch/arm64/kernel/psci.o CC arch/arm64/kernel/cpu_ops.o CC arch/arm64/kernel/insn.o CC kernel/sysctl_binary.o CC kernel/capability.o CC kernel/ptrace.o CC kernel/user.o CC arch/arm64/kernel/return_address.o CC arch/arm64/kernel/cpuinfo.o CC kernel/signal.o CC fs/open.o CC arch/arm64/kernel/cpu_errata.o CC security/hie/hie.o CC mm/mempool.o CC mm/oom_kill.o CC arch/arm64/kernel/cpufeature.o CC security/integrity/iint.o CC kernel/sys.o LD security/hie/built-in.o CC arch/arm64/kernel/alternative.o CC security/integrity/integrity_audit.o CC arch/arm64/kernel/cacheinfo.o CC fs/read_write.o LD security/integrity/integrity.o CC fs/file_table.o LD security/integrity/built-in.o CC mm/maccess.o CC mm/page_alloc.o CC arch/arm64/kernel/smp.o CC security/keys/gc.o CC security/keys/key.o CC security/keys/keyring.o CC security/selinux/avc.o CC security/selinux/hooks.o CC arch/arm64/kernel/smp_spin_table.o CC fs/super.o CC kernel/kmod.o CC arch/arm64/kernel/topology.o CC kernel/workqueue.o CC security/keys/keyctl.o In file included from /home/licht/android/kernel-mtk/include/linux/printk.h:438:0, from /home/licht/android/kernel-mtk/include/linux/kernel.h:13, from /home/licht/android/kernel-mtk/include/asm-generic/bug.h:13, from /home/licht/android/kernel-mtk/arch/arm64/include/asm/bug.h:68, from /home/licht/android/kernel-mtk/include/linux/bug.h:4, from /home/licht/android/kernel-mtk/include/linux/mmdebug.h:4, from /home/licht/android/kernel-mtk/include/linux/gfp.h:4, from /home/licht/android/kernel-mtk/include/linux/slab.h:14, from /home/licht/android/kernel-mtk/fs/super.c:24: /home/licht/android/kernel-mtk/fs/super.c: In function 'generic_shutdown_super': /home/licht/android/kernel-mtk/include/linux/dynamic_debug.h:74:16: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] static struct _ddebug aligned(8) \ ^ /home/licht/android/kernel-mtk/include/linux/dynamic_debug.h:110:2: note: in expansion of macro 'DEFINE_DYNAMIC_DEBUG_METADATA_KEY' DEFINE_DYNAMIC_DEBUG_METADATA_KEY(name, fmt, 0, 0) ^ /home/licht/android/kernel-mtk/include/linux/dynamic_debug.h:124:2: note: in expansion of macro 'DEFINE_DYNAMIC_DEBUG_METADATA' DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt); \ ^ /home/licht/android/kernel-mtk/include/linux/printk.h:442:2: note: in expansion of macro 'dynamic_pr_debug' dynamic_pr_debug(KLOG_MODNAME fmt, ##__VA_ARGS) ^ /home/licht/android/kernel-mtk/fs/super.c:448:6: note: in expansion of macro 'pr_debug' pr_debug("VFS: inode=0x%p, ino=%d\n", ^ CC security/keys/permission.o AS arch/arm64/kernel/smccc-call.o CC security/keys/process_keys.o CC arch/arm64/kernel/sys32.o CC kernel/pid.o CC security/selinux/selinuxfs.o CC fs/char_dev.o AS arch/arm64/kernel/kuser32.o CC security/keys/request_key.o CC arch/arm64/kernel/signal32.o CC mm/page-writeback.o CC security/keys/request_key_auth.o CC security/selinux/netlink.o CC fs/stat.o CC arch/arm64/kernel/sys_compat.o CC kernel/task_work.o CC security/keys/user_defined.o CC fs/exec.o CC security/selinux/nlmsgtab.o CC fs/pipe.o CC kernel/extable.o CC security/keys/compat.o CC fs/namei.o AS arch/arm64/kernel/entry32.o CC arch/arm64/kernel/arm64ksyms.o CC kernel/params.o CC security/selinux/netif.o CC security/keys/proc.o CC mm/readahead.o CC security/keys/sysctl.o CC security/selinux/netnode.o CC security/selinux/netport.o CC arch/arm64/kernel/module.o CC kernel/kthread.o LD security/keys/built-in.o CC arch/arm64/kernel/module-plts.o CC mm/swap.o CC arch/arm64/kernel/perf_regs.o CC security/selinux/exports.o CC block/bio.o CC block/elevator.o CC crypto/api.o CC arch/arm64/kernel/perf_callchain.o CC security/selinux/ss/ebitmap.o CC kernel/sys_ni.o CC arch/arm64/kernel/perf_event.o CC kernel/nsproxy.o CC crypto/cipher.o CC security/selinux/ss/hashtab.o CC arch/arm64/kernel/hw_breakpoint.o CC security/selinux/ss/symtab.o CC fs/fcntl.o CC kernel/notifier.o CC mm/truncate.o CC fs/ioctl.o CC block/blk-core.o CC crypto/compress.o CC security/selinux/ss/sidtab.o AS arch/arm64/kernel/sleep.o CC arch/arm64/kernel/suspend.o CC kernel/ksysfs.o CC crypto/memneq.o CC arch/arm64/kernel/cpuidle.o CC mm/vmscan.o CC fs/readdir.o CC security/selinux/ss/avtab.o CC security/selinux/ss/policydb.o CC kernel/cred.o CC arch/arm64/kernel/armv8_deprecated.o CC crypto/crypto_wq.o CC fs/select.o CC fs/dcache.o CC arch/arm64/kernel/kaslr.o CC kernel/reboot.o CC crypto/algapi.o CC arch/arm64/kernel/ssbd.o OBJCOPY arch/arm64/kernel/vdso/vdso.so AS arch/arm64/kernel/vdso/vdso.o CC security/selinux/ss/services.o LD arch/arm64/kernel/vdso/built-in.o AS arch/arm64/kernel/head.o CC kernel/async.o LDS arch/arm64/kernel/vmlinux.lds LD arch/arm64/kernel/built-in.o CC security/selinux/ss/conditional.o CC block/blk-tag.o CC block/blk-sysfs.o CC crypto/scatterwalk.o CC kernel/range.o CC kernel/smpboot.o CC mm/shmem.o CC fs/inode.o CC crypto/proc.o CC fs/attr.o CC block/blk-flush.o CC block/blk-settings.o CC crypto/aead.o CC security/selinux/ss/mls.o CC kernel/ucount.o CC block/blk-ioc.o CC fs/bad_inode.o CC kernel/groups.o CC security/selinux/ss/status.o CC fs/file.o CC fs/filesystems.o CC crypto/ablkcipher.o CC kernel/bpf/core.o CC kernel/bpf/syscall.o CC block/blk-map.o LD security/selinux/selinux.o CC mm/util.o LD security/selinux/built-in.o CC security/commoncap.o CC mm/mmzone.o CC fs/namespace.o CC crypto/blkcipher.o CC fs/seq_file.o CC block/blk-exec.o CC mm/vmstat.o CC security/min_addr.o CC security/security.o CC kernel/bpf/verifier.o CC fs/xattr.o CC block/blk-merge.o CC crypto/skcipher.o CC crypto/seqiv.o CC mm/backing-dev.o CC block/blk-softirq.o CC fs/libfs.o CC crypto/echainiv.o CC crypto/ahash.o CC block/blk-timeout.o CC drivers/../tinno/common_features/charger/bq24157/bq24157.o CC security/lsm_audit.o CC drivers/amba/bus.o CC mm/mm_init.o CC fs/fs-writeback.o CC block/blk-lib.o CC crypto/shash.o CC mm/mmu_context.o CC kernel/bpf/inode.o LD drivers/amba/built-in.o LD security/built-in.o CC fs/pnode.o CC mm/percpu.o LD drivers/../tinno/common_features/charger/bq24157/built-in.o LD drivers/../tinno/common_features/charger/built-in.o /home/licht/android/kernel-mtk/drivers/../tinno/common_features/dev_info/Makefile:5: ---[WD]--- CC drivers/../tinno/common_features/dev_info/dev_info.o CC block/blk-mq.o CC drivers/../tinno/common_features/dev_info/external.o CC mm/slab_common.o CC crypto/akcipher.o CC crypto/kpp.o LD drivers/../tinno/common_features/dev_info/built-in.o cat: /home/licht/android/kernel-mtk/build.ini: No existe el archivo o el directorio cat: /home/licht/android/kernel-mtk/build.ini: No existe el archivo o el directorio /home/licht/android/kernel-mtk/drivers/../tinno/common_features/fingerprint/Makefile:11: ---------------fingerprint_supprot---------------- CC drivers/../tinno/common_features/fingerprint/fp_drv/fp_drv.o CC kernel/bpf/helpers.o LD drivers/../tinno/common_features/fingerprint/fp_drv/built-in.o LD drivers/../tinno/common_features/fingerprint/built-in.o CC drivers/../tinno/common_features/lcm/ili9881c_p160_hdplus_dsi_vdo_lch/ili9881c_p160_hdplus_dsi_vdo_lch.o CC kernel/bpf/hashtab.o CC kernel/bpf/arraymap.o CC kernel/bpf/percpu_freelist.o CC crypto/algboss.o LD drivers/../tinno/common_features/lcm/ili9881c_p160_hdplus_dsi_vdo_lch/built-in.o CC drivers/../tinno/common_features/lcm/jd9365z_p160_hdplus_dsi_vdo_hlt/jd9365z_p160_hdplus_dsi_vdo_hlt.o CC fs/splice.o CC crypto/testmgr.o LD drivers/../tinno/common_features/lcm/jd9365z_p160_hdplus_dsi_vdo_hlt/built-in.o LD drivers/../tinno/common_features/lcm/built-in.o CC kernel/bpf/stackmap.o CC mm/compaction.o CC mm/vmacache.o CC drivers/../tinno/common_features/touch/tgesture/tgesture.o CC block/blk-mq-tag.o CC drivers/../tinno/common_features/touch/focaltech_touch_screen/focaltech_ex_fun.o CC block/blk-mq-sysfs.o CC crypto/hmac.o /home/licht/android/kernel-mtk/drivers/../tinno/common_features/touch/tgesture/tgesture.c: In function 'TGesture_store_key': /home/licht/android/kernel-mtk/drivers/../tinno/common_features/touch/tgesture/tgesture.c:141:3: error: format '%d' expects argument of type 'int', but argument 5 has type 'size_t' [-Werror=format=] APS_ERR("invalid enable content: '%s', length = %d\n", buf, count); ^ /home/licht/android/kernel-mtk/drivers/../tinno/common_features/touch/tgesture/tgesture.c: In function 'TGesture_config_write_proc': /home/licht/android/kernel-mtk/drivers/../tinno/common_features/touch/tgesture/tgesture.c:176:5: error: format '%d' expects argument of type 'int', but argument 2 has type 'size_t' [-Werror=format=] printk("====LGC=========TGesture_config_write_procwrite count %d\n", count); ^ /home/licht/android/kernel-mtk/drivers/../tinno/common_features/touch/tgesture/tgesture.c:180:9: error: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' [-Werror=format=] printk("size not match [%d:%d]\n", TGesture_CONFIG_MAX_LENGTH, count); ^ cc1: all warnings being treated as errors make[5]: [/home/licht/android/kernel-mtk/scripts/Makefile.build:335: drivers/../tinno/common_features/touch/tgesture/tgesture.o] Error 1 make[4]: [/home/licht/android/kernel-mtk/scripts/Makefile.build:648: drivers/../tinno/common_features/touch/tgesture] Error 2 make[4]: Se espera a que terminen otras tareas.... CC crypto/xcbc.o CC kernel/bpf/cgroup.o CC fs/sync.o CC drivers/../tinno/common_features/touch/focaltech_touch_screen/focaltech_flash.o CC fs/utimes.o CC fs/stack.o CC block/blk-mq-cpumap.o CC crypto/crypto_null.o CC crypto/md5.o CC mm/interval_tree.o CC block/ioctl.o CC fs/fs_struct.o LD kernel/bpf/built-in.o CC kernel/events/core.o CC fs/statfs.o CC mm/list_lru.o CC drivers/../tinno/common_features/touch/focaltech_touch_screen/focaltech_gesture.o CC block/genhd.o CC kernel/irq/irqdesc.o CC crypto/sha1_generic.o CC fs/fs_pin.o CC drivers/../tinno/common_features/touch/focaltech_touch_screen/focaltech_core.o CC mm/workingset.o CC block/scsi_ioctl.o CC fs/nsfs.o CC kernel/irq/handle.o CC crypto/sha256_generic.o CC mm/debug.o CC fs/buffer.o CC kernel/events/ring_buffer.o CC drivers/../tinno/common_features/touch/focaltech_touch_screen/focaltech_esdcheck.o CC kernel/irq/manage.o CC block/partition-generic.o CC mm/gup.o CC drivers/../tinno/common_features/touch/focaltech_touch_screen/focaltech_ex_mode.o CC crypto/sha512_generic.o CC crypto/gf128mul.o CC drivers/../tinno/common_features/touch/focaltech_touch_screen/focaltech_proximity.o CC block/ioprio.o CC mm/highmem.o CC kernel/irq/spurious.o CC drivers/../tinno/common_features/touch/focaltech_touch_screen/focaltech_i2c.o CC kernel/irq/resend.o CC crypto/ecb.o CC mm/memory.o CC kernel/irq/chip.o CC block/badblocks.o CC drivers/../tinno/common_features/touch/focaltech_touch_screen/focaltech_point_report_check.o CC block/partitions/check.o CC fs/block_dev.o CC crypto/cbc.o CC drivers/../tinno/common_features/touch/focaltech_touch_screen/focaltech_flash/focaltech_upgrade_ft5446.o CC kernel/events/callchain.o CC block/partitions/msdos.o CC block/partitions/efi.o CC crypto/cts.o CC kernel/irq/dummychip.o LD drivers/../tinno/common_features/touch/focaltech_touch_screen/focaltech_flash/built-in.o CC kernel/events/hw_breakpoint.o CC drivers/../tinno/common_features/touch/focaltech_touch_screen/focaltech_test/focaltech_test.o CC drivers/../tinno/common_features/touch/focaltech_touch_screen/focaltech_test/focaltech_test_ini.o CC fs/direct-io.o CC kernel/irq/devres.o CC crypto/xts.o LD block/partitions/built-in.o CC block/noop-iosched.o LD kernel/events/built-in.o CC fs/mpage.o CC mm/mincore.o CC block/deadline-iosched.o CC kernel/irq/autoprobe.o CC crypto/ctr.o CC mm/mlock.o CC fs/proc_namespace.o CC block/cfq-iosched.o CC drivers/../tinno/common_features/touch/focaltech_touch_screen/focaltech_test/supported_ic/focaltech_test_ft5446.o CC kernel/irq/irqdomain.o CC crypto/gcm.o CC block/compat_ioctl.o CC kernel/irq/proc.o CC kernel/irq/cpuhotplug.o CC mm/mmap.o CC kernel/locking/mutex.o CC crypto/cryptd.o LD drivers/../tinno/common_features/touch/focaltech_touch_screen/focaltech_test/supported_ic/built-in.o LD drivers/../tinno/common_features/touch/focaltech_touch_screen/focaltech_test/built-in.o CC fs/configfs/inode.o LD drivers/../tinno/common_features/touch/focaltech_touch_screen/built-in.o make[3]: [/home/licht/android/kernel-mtk/scripts/Makefile.build:648: drivers/../tinno/common_features/touch] Error 2 make[2]: [/home/licht/android/kernel-mtk/scripts/Makefile.build:648: drivers/../tinno/common_features] Error 2 make[1]: [/home/licht/android/kernel-mtk/Makefile:1112: drivers] Error 2 make[1]: Se espera a que terminen otras tareas.... CC fs/configfs/file.o CC kernel/irq/pm.o CC fs/configfs/dir.o CC fs/configfs/symlink.o CC fs/configfs/mount.o CC kernel/locking/semaphore.o CC kernel/irq/affinity.o CC kernel/locking/rwsem.o CC crypto/des_generic.o CC kernel/locking/percpu-rwsem.o LD kernel/irq/built-in.o CC kernel/locking/spinlock.o CC fs/configfs/item.o CC kernel/printk/printk.o CC kernel/power/qos.o CC kernel/power/main.o CC mm/mprotect.o CC kernel/locking/osq_lock.o CC crypto/twofish_generic.o LD fs/configfs/configfs.o LD fs/configfs/built-in.o CC fs/crypto/crypto.o CC kernel/locking/rtmutex.o CC fs/crypto/fname.o CC mm/mremap.o CC kernel/power/process.o CC crypto/twofish_common.o LD block/built-in.o CC kernel/power/suspend.o CC kernel/power/autosleep.o CC kernel/locking/rwsem-xadd.o CC fs/crypto/hooks.o CC kernel/power/wakelock.o CC mm/msync.o CC fs/debugfs/inode.o LD kernel/printk/built-in.o CC fs/devpts/inode.o CC crypto/aes_generic.o CC crypto/arc4.o LD kernel/locking/built-in.o CC fs/crypto/keyinfo.o CC mm/rmap.o CC crypto/deflate.o LD fs/devpts/devpts.o CC kernel/power/poweroff.o LD fs/devpts/built-in.o CC kernel/power/wakeup_reason.o CC fs/debugfs/file.o CC crypto/crc32c_generic.o CC kernel/rcu/update.o CC crypto/authenc.o CC kernel/rcu/sync.o CC fs/crypto/policy.o LD kernel/power/built-in.o CC fs/crypto/bio.o CC crypto/authencesn.o CC mm/vmalloc.o CC kernel/sched/core.o LD fs/debugfs/debugfs.o LD fs/debugfs/built-in.o CC crypto/lzo.o CC kernel/rcu/srcu.o CC kernel/rcu/tree.o LD fs/crypto/fscrypto.o LD fs/crypto/built-in.o CC mm/pagewalk.o CC mm/pgtable-generic.o CC crypto/lz4.o CC mm/process_vm_access.o CC fs/ext4/balloc.o CC fs/ext4/bitmap.o CC crypto/rng.o CC crypto/drbg.o CC crypto/jitterentropy.o CC fs/ext4/dir.o CC fs/fat/cache.o CC mm/init-mm.o CC mm/nobootmem.o CC fs/fat/dir.o CC crypto/jitterentropy-kcapi.o CC crypto/ghash-generic.o CC mm/fadvise.o CC fs/ext4/file.o CC crypto/ablk_helper.o CC fs/ext4/fsync.o CC kernel/sched/loadavg.o LD kernel/rcu/built-in.o CC mm/madvise.o CC kernel/time/time.o CC fs/ext4/ialloc.o CC kernel/time/timer.o LD crypto/crypto.o LD crypto/crypto_algapi.o LD crypto/crypto_blkcipher.o LD crypto/crypto_hash.o LD crypto/cryptomgr.o LD crypto/jitterentropy_rng.o LD crypto/built-in.o CC fs/ext4/inode.o CC fs/fat/fatent.o CC fs/ext4/page-io.o CC mm/memblock.o In file included from /home/licht/android/kernel-mtk/include/linux/ktime.h:309:0, from /home/licht/android/kernel-mtk/include/linux/timer.h:5, from /home/licht/android/kernel-mtk/include/linux/clocksource.h:16, from /home/licht/android/kernel-mtk/include/linux/timekeeper_internal.h:9, from /home/licht/android/kernel-mtk/kernel/time/time.c:33: /home/licht/android/kernel-mtk/kernel/time/time.c: In function 'SyS_settimeofday': /home/licht/android/kernel-mtk/include/linux/timekeeping.h:29:7: warning: 'new_ts.tv_sec' may be used uninitialized in this function [-Wmaybe-uninitialized] ts64 = timespec_to_timespec64(tv); ^ /home/licht/android/kernel-mtk/kernel/time/time.c:199:18: note: 'new_ts.tv_sec' was declared here struct timespec new_ts; ^ In file included from /home/licht/android/kernel-mtk/include/linux/ktime.h:309:0, from /home/licht/android/kernel-mtk/include/linux/timer.h:5, from /home/licht/android/kernel-mtk/include/linux/clocksource.h:16, from /home/licht/android/kernel-mtk/include/linux/timekeeper_internal.h:9, from /home/licht/android/kernel-mtk/kernel/time/time.c:33: /home/licht/android/kernel-mtk/include/linux/timekeeping.h:29:7: warning: 'new_ts.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] ts64 = timespec_to_timespec64(tv); ^ /home/licht/android/kernel-mtk/kernel/time/time.c:199:18: note: 'new_ts.tv_nsec' was declared here struct timespec new_ts; ^ CC fs/ext4/ioctl.o CC mm/page_io.o CC fs/fat/file.o CC fs/ext4/namei.o CC fs/fuse/dev.o CC mm/swap_state.o CC kernel/time/hrtimer.o CC fs/fuse/dir.o CC fs/fat/inode.o CC mm/swapfile.o CC kernel/sched/clock.o CC kernel/time/itimer.o CC fs/fuse/file.o CC fs/fuse/inode.o CC fs/fuse/control.o CC fs/fat/misc.o CC kernel/sched/cputime.o CC kernel/time/posix-timers.o CC fs/fuse/xattr.o CC fs/ext4/super.o CC mm/dmapool.o CC kernel/sched/idle_task.o CC fs/fat/nfs.o CC fs/ext4/symlink.o CC fs/ext4/hash.o CC mm/sparse.o CC kernel/sched/fair.o CC kernel/sched/rt.o CC fs/fat/namei_vfat.o CC fs/fat/namei_msdos.o CC kernel/time/posix-cpu-timers.o CC fs/fuse/acl.o CC mm/sparse-vmemmap.o LD fs/fuse/fuse.o LD fs/fuse/built-in.o CC mm/slub.o CC mm/migrate.o LD fs/fat/fat.o LD fs/fat/vfat.o /home/licht/android/kernel-mtk/kernel/time/posix-cpu-timers.c: In function 'set_process_cpu_timer': /home/licht/android/kernel-mtk/kernel/time/posix-cpu-timers.c:1239:13: warning: 'now' may be used uninitialized in this function [-Wmaybe-uninitialized] oldval -= now; ^ LD fs/fat/msdos.o LD fs/fat/built-in.o CC kernel/sched/deadline.o CC kernel/time/timekeeping.o CC kernel/sched/stop_task.o CC mm/page_isolation.o CC kernel/time/ntp.o CC kernel/sched/wait.o CC fs/isofs/namei.o CC kernel/sched/swait.o CC fs/isofs/inode.o CC kernel/time/clocksource.o CC kernel/time/jiffies.o CC fs/isofs/dir.o CC fs/jbd2/transaction.o CC mm/zsmalloc.o CC fs/jbd2/commit.o CC fs/isofs/util.o CC fs/isofs/rock.o CC kernel/time/timer_list.o CC kernel/time/timeconv.o CC fs/isofs/export.o CC fs/isofs/joliet.o CC kernel/time/timecounter.o CC kernel/time/posix-clock.o CC fs/isofs/compress.o CC kernel/time/alarmtimer.o CC fs/jbd2/recovery.o CC mm/early_ioremap.o CC fs/jbd2/checkpoint.o In file included from /home/licht/android/kernel-mtk/include/linux/kernel.h:13:0, from /home/licht/android/kernel-mtk/include/linux/list.h:8, from /home/licht/android/kernel-mtk/include/linux/preempt.h:10, from /home/licht/android/kernel-mtk/include/linux/spinlock.h:50, from /home/licht/android/kernel-mtk/include/linux/seqlock.h:35, from /home/licht/android/kernel-mtk/include/linux/time.h:5, from /home/licht/android/kernel-mtk/kernel/time/alarmtimer.c:18: /home/licht/android/kernel-mtk/kernel/time/alarmtimer.c: In function 'alarmtimer_suspend': /home/licht/android/kernel-mtk/include/linux/printk.h:528:3: warning: 'temp.tv64' may be used uninitialized in this function [-Wmaybe-uninitialized] printk(fmt, ##__VA_ARGS__); \ ^ /home/licht/android/kernel-mtk/kernel/time/alarmtimer.c:230:20: note: 'temp.tv64' was declared here ktime_t min, now, temp; ^ LD fs/isofs/isofs.o LD fs/isofs/built-in.o CC mm/cma.o CC mm/usercopy.o CC kernel/trace/trace_clock.o CC fs/jbd2/revoke.o CC kernel/time/clockevents.o CC fs/jbd2/journal.o CC fs/ext4/resize.o CC kernel/trace/ring_buffer.o CC kernel/trace/trace.o LD mm/built-in.o CC kernel/trace/trace_output.o CC kernel/freezer.o CC kernel/time/tick-common.o CC fs/ext4/extents.o CC kernel/profile.o CC kernel/time/tick-broadcast.o CC kernel/trace/trace_seq.o CC kernel/trace/trace_stat.o LD fs/jbd2/jbd2.o LD fs/jbd2/built-in.o CC fs/kernfs/mount.o CC fs/kernfs/inode.o CC fs/kernfs/dir.o CC fs/nls/nls_base.o CC kernel/time/tick-broadcast-hrtimer.o CC fs/nls/nls_cp437.o CC kernel/trace/trace_printk.o CC kernel/time/sched_clock.o CC fs/nls/nls_cp950.o CC fs/kernfs/file.o CC kernel/sched/completion.o CC kernel/time/tick-oneshot.o CC fs/nls/nls_ascii.o CC fs/ext4/ext4_jbd2.o CC kernel/sched/idle.o CC fs/ext4/migrate.o CC kernel/time/tick-sched.o CC fs/nls/nls_iso8859-1.o CC kernel/trace/trace_sched_switch.o CC fs/kernfs/symlink.o CC kernel/sched/cpupri.o CC fs/nls/nls_utf8.o CC fs/ext4/mballoc.o CC kernel/stacktrace.o CC kernel/sched/cpudeadline.o LD fs/kernfs/built-in.o CC kernel/sched/energy.o CC kernel/trace/trace_nop.o LD fs/nls/built-in.o CC fs/ext4/block_validity.o CC fs/notify/fsnotify.o CC fs/notify/notification.o CC kernel/time/timekeeping_debug.o CC kernel/futex.o CC kernel/sched/walt.o CC kernel/trace/blktrace.o CC fs/notify/group.o LD kernel/time/built-in.o CC fs/ext4/move_extent.o CC fs/notify/inode_mark.o CC fs/notify/mark.o CC fs/notify/vfsmount_mark.o CC kernel/sched/stats.o CC kernel/trace/trace_events.o CC kernel/trace/trace_export.o CC kernel/sched/debug.o CC fs/ext4/mmp.o CC fs/ext4/indirect.o CC fs/notify/fdinfo.o CC fs/notify/dnotify/dnotify.o CC kernel/futex_compat.o CC fs/ext4/extents_status.o LD fs/notify/dnotify/built-in.o CC fs/notify/inotify/inotify_fsnotify.o CC fs/pstore/inode.o CC kernel/smp.o CC fs/notify/inotify/inotify_user.o CC fs/proc/task_mmu.o CC fs/quota/dquot.o CC kernel/trace/trace_event_perf.o CC fs/pstore/platform.o CC fs/ext4/xattr.o CC fs/ext4/xattr_user.o LD fs/notify/inotify/built-in.o LD fs/notify/built-in.o CC kernel/sched/tune.o CC fs/proc/inode.o CC fs/ramfs/inode.o CC kernel/trace/trace_events_filter.o CC fs/quota/quota_v2.o CC fs/pstore/pmsg.o CC fs/proc/root.o CC fs/ramfs/file-mmu.o CC fs/pstore/ram.o CC fs/pstore/ram_core.o CC fs/ext4/xattr_trusted.o CC fs/proc/base.o CC fs/quota/quota_tree.o CC kernel/sched/cpuacct.o LD fs/ramfs/ramfs.o LD fs/ramfs/built-in.o CC fs/proc/generic.o CC fs/ext4/inline.o CC kernel/uid16.o CC kernel/trace/trace_events_trigger.o LD fs/pstore/pstore.o LD fs/pstore/ramoops.o LD fs/pstore/built-in.o CC fs/proc/array.o CC kernel/sched/cpufreq.o CC fs/quota/quota.o CC kernel/sched/cpufreq_schedplus.o CC fs/quota/kqid.o CC kernel/module.o CC kernel/kallsyms.o CC fs/proc/fd.o CC fs/ext4/readpage.o CC kernel/trace/power-traces.o CC kernel/compat.o CC fs/quota/netlink.o LD kernel/sched/built-in.o CC fs/proc/proc_tty.o CC fs/proc/cmdline.o CC kernel/cgroup.o CC fs/ext4/sysfs.o CC fs/proc/consoles.o LD fs/quota/built-in.o In file included from /home/licht/android/kernel-mtk/include/linux/ktime.h:309:0, from /home/licht/android/kernel-mtk/include/linux/rcupdate.h:47, from /home/licht/android/kernel-mtk/include/linux/rbtree.h:34, from /home/licht/android/kernel-mtk/include/linux/sched.h:21, from /home/licht/android/kernel-mtk/arch/arm64/include/asm/compat.h:25, from /home/licht/android/kernel-mtk/arch/arm64/include/asm/stat.h:23, from /home/licht/android/kernel-mtk/include/linux/stat.h:5, from /home/licht/android/kernel-mtk/include/linux/compat.h:12, from /home/licht/android/kernel-mtk/kernel/compat.c:15: /home/licht/android/kernel-mtk/kernel/compat.c: In function 'compat_SyS_settimeofday': /home/licht/android/kernel-mtk/include/linux/timekeeping.h:29:7: error: 'new_ts.tv_sec' may be used uninitialized in this function [-Werror=maybe-uninitialized] ts64 = timespec_to_timespec64(tv); ^ /home/licht/android/kernel-mtk/kernel/compat.c:112:18: note: 'new_ts.tv_sec' was declared here struct timespec new_ts; ^ In file included from /home/licht/android/kernel-mtk/include/linux/ktime.h:309:0, from /home/licht/android/kernel-mtk/include/linux/rcupdate.h:47, from /home/licht/android/kernel-mtk/include/linux/rbtree.h:34, from /home/licht/android/kernel-mtk/include/linux/sched.h:21, from /home/licht/android/kernel-mtk/arch/arm64/include/asm/compat.h:25, from /home/licht/android/kernel-mtk/arch/arm64/include/asm/stat.h:23, from /home/licht/android/kernel-mtk/include/linux/stat.h:5, from /home/licht/android/kernel-mtk/include/linux/compat.h:12, from /home/licht/android/kernel-mtk/kernel/compat.c:15: /home/licht/android/kernel-mtk/include/linux/timekeeping.h:29:7: error: 'new_ts.tv_nsec' may be used uninitialized in this function [-Werror=maybe-uninitialized] ts64 = timespec_to_timespec64(tv); ^ /home/licht/android/kernel-mtk/kernel/compat.c:112:18: note: 'new_ts.tv_nsec' was declared here struct timespec new_ts; ^ CC fs/proc/cpuinfo.o CC fs/sdcardfs/dentry.o CC fs/sdcardfs/file.o CC fs/proc/devices.o CC fs/ext4/xattr_security.o CC kernel/trace/rpm-traces.o CC fs/proc/interrupts.o cc1: all warnings being treated as errors make[2]: ** [/home/licht/android/kernel-mtk/scripts/Makefile.build:334: kernel/compat.o] Error 1 make[2]: Se espera a que terminen otras tareas.... CC fs/sdcardfs/inode.o CC kernel/trace/mtk_trace.o CC fs/proc/loadavg.o LD fs/ext4/ext4.o CC fs/proc/meminfo.o LD fs/ext4/built-in.o CC fs/sysfs/file.o CC fs/proc/stat.o CC fs/proc/uptime.o CC fs/sysfs/dir.o CC fs/sdcardfs/main.o CC fs/proc/version.o LD kernel/trace/built-in.o CC fs/tracefs/inode.o CC fs/proc/softirqs.o CC fs/sdcardfs/super.o CC fs/proc/namespaces.o CC fs/proc/self.o CC fs/sysfs/symlink.o CC fs/sysfs/mount.o CC fs/eventpoll.o LD fs/tracefs/tracefs.o LD fs/tracefs/built-in.o CC fs/sdcardfs/lookup.o CC fs/anon_inodes.o CC fs/signalfd.o CC fs/proc/thread_self.o CC fs/timerfd.o CC fs/sysfs/group.o CC fs/proc/uid.o CC fs/proc/proc_sysctl.o CC fs/sdcardfs/mmap.o CC fs/proc/proc_net.o CC fs/eventfd.o CC fs/sdcardfs/packagelist.o CC fs/proc/kmsg.o LD fs/sysfs/built-in.o CC fs/proc/page.o CC fs/aio.o CC fs/locks.o make[1]: [/home/licht/android/kernel-mtk/Makefile:1112: kernel] Error 2 CC fs/sdcardfs/derived_perm.o CC fs/compat.o CC fs/compat_ioctl.o LD fs/proc/proc.o LD fs/proc/built-in.o CC fs/binfmt_script.o CC fs/binfmt_elf.o CC fs/compat_binfmt_elf.o CC fs/mbcache.o CC fs/posix_acl.o LD fs/sdcardfs/sdcardfs.o LD fs/sdcardfs/built-in.o CC fs/coredump.o CC fs/drop_caches.o CC fs/dcookies.o LD fs/built-in.o make[1]: se sale del directorio '/home/licht/out' make: [Makefile:152: sub-make] Error 2 `

ItsIgnacioPortal commented 1 year ago

Does anyone know the difference between these two kernels?

They're both for the poker branch, but which one should be used for the arm64 variant?

UPDATE: Imediatly after asking this I found the answer. The only difference is this bugfix. They're both good for the arm64 variant, but the MMI-PTB29.401-25 version doesn't have the boot up take 10 mins after recovery bug.

asbraga-motorola commented 1 year ago

I'm closing this issue as it is too old and did not inform the specific build id. Please open a new one if still necessary.

ItsIgnacioPortal commented 1 year ago

How would one get the specific build id?