Version: 3.10.86 Shipped with: Android 6.0 Marshmallow Type: adapted for aosp build tree
This is the kernel 3.10.86 shipped with the Marshmallow release for Huawei Mate 7. This is the adapted version to build with the aosp tree, please see the branch 3.10.86-stock to get the stock version or the branch 3.10.86-adapted to get the compilable stock version
Work in progress...
The branch differs from the stock one in these edited files:
modified: drivers/hisi/modem_hi363/drv/Makefile
Here's the differences:
diff --git a/drivers/hisi/modem_hi3630/drv/Makefile b/drivers/hisi/modem_hi3630/drv/Makefile
index 430a5b8..24668a2 100755
--- a/drivers/hisi/modem_hi3630/drv/Makefile
+++ b/drivers/hisi/modem_hi3630/drv/Makefile
@@ -75,7 +75,9 @@ ifeq ($(strip $(CFG_CONFIG_IPF)),YES)
obj-y += ipf/
endif
obj-y += lowpower_mntn/
-obj-$(CONFIG_BALONG_OAM_PS) += $(if $(findstring .o,$(shell ls $(CURDIR)/drivers/hisi/modem_hi3630/drv/balong_oam_ps)), balong_oam_ps/, )
+#EDIT TO GET IT WORK - gabry3795
+#obj-$(CONFIG_BALONG_OAM_PS) += $(if $(findstring .o,$(shell ls $(CURDIR)/drivers/hisi/modem_hi3630/drv/balong_oam_ps)), balong_oam_ps/, )
++obj-$(CONFIG_BALONG_OAM_PS) += $(if $(findstring .o,$(shell ls $(BALONG_TOPDIR)/../../../drivers/hisi/modem_hi3630/drv/balong_oam_ps)), balong_oam_ps/, )
subdir-ccflags-y := -Werror
Please read README_Kernel.txt
In Android.mk edit the line
KERNEL_TOOLCHAIN := /home/gabry3795/cyanogen/bin/gcc-linaro-arm-linux-gnueabihf-4.7/bin
with the directory where you have the linaro cross compiling toolchain binaries.
Thanks to:
- @ruffy91 for his first compiling suggestions XDA Post
- @acbka for the hisi_partitions.h header - XDA post
That's all.