[Miscellaneous Android Development] abiolakunle:
p

abiol@abiol-HP-ProBook-4320s:~/Kernel/kernel$ export TARGET_BUILD_VARIANT=user TARGET_PRODUCT=mt6592 MTK_ROOT_CUSTOM=/mediatek/custom/ TARGET_KERNEL_VERSION=mt6592 &&export PATH=/home/abiol/Kernel/kernel/toolchain/bin:$PATH&&export CROSS_COMPILE=arm-eabi-&&export ARCH=arm
abiol@abiol-HP-ProBook-4320s:~/Kernel/kernel$ cp mediatek/config/mt6592/autoconfig/kconfig/platform .config
abiol@abiol-HP-ProBook-4320s:~/Kernel/kernel$ export ARCH_MTK_PLATFORM=mt6592
abiol@abiol-HP-ProBook-4320s:~/Kernel/kernel$ make menuconfig
scripts/kconfig/mconf Kconfig
.config:2512:warning: override: reassigning to symbol MTK_SCHED_RQAVG_US
.config:2513:warning: override: reassigning to symbol MTK_SCHED_RQAVG_KS
#
# configuration written to .config
#

*** End of the configuration.
*** Execute 'make' to start the build or try 'make help'.

abiol@abiol-HP-ProBook-4320s:~/Kernel/kernel$ make
scripts/kconfig/conf --silentoldconfig Kconfig
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[1]: 'include/generated/mach-types.h' is up to date.
CC kernel/bounds.s
GEN include/generated/bounds.h
CC arch/arm/kernel/asm-offsets.s
In file included from include/linux/sched.h:58:0,
from arch/arm/kernel/asm-offsets.c:13:
include/linux/jiffies.h:257:31: warning: "CLOCK_TICK_RATE" is not defined [-Wundef]
include/linux/jiffies.h:257:31: warning: "CLOCK_TICK_RATE" is not defined [-Wundef]
include/linux/jiffies.h:43:42: error: division by zero in #if
include/linux/jiffies.h:257:31: warning: "CLOCK_TICK_RATE" is not defined [-Wundef]
include/linux/jiffies.h:257:31: warning: "CLOCK_TICK_RATE" is not defined [-Wundef]
include/linux/jiffies.h:43:42: error: division by zero in #if
include/linux/jiffies.h:257:31: warning: "CLOCK_TICK_RATE" is not defined [-Wundef]
include/linux/jiffies.h:257:31: warning: "CLOCK_TICK_RATE" is not defined [-Wundef]
include/linux/jiffies.h:43:42: error: division by zero in #if
include/linux/jiffies.h:43:42: error: division by zero in #if
include/linux/jiffies.h:257:31: warning: "CLOCK_TICK_RATE" is not defined [-Wundef]
include/linux/jiffies.h:257:31: warning: "CLOCK_TICK_RATE" is not defined [-Wundef]
include/linux/jiffies.h:43:42: error: division by zero in #if
include/linux/jiffies.h:257:31: warning: "CLOCK_TICK_RATE" is not defined [-Wundef]
include/linux/jiffies.h:257:31: warning: "CLOCK_TICK_RATE" is not defined [-Wundef]
include/linux/jiffies.h:43:42: error: division by zero in #if
include/linux/jiffies.h:257:31: warning: "CLOCK_TICK_RATE" is not defined [-Wundef]
include/linux/jiffies.h:257:31: warning: "CLOCK_TICK_RATE" is not defined [-Wundef]
include/linux/jiffies.h:43:42: error: division by zero in #if
include/linux/jiffies.h:43:42: error: division by zero in #if
include/linux/jiffies.h:257:31: warning: "CLOCK_TICK_RATE" is not defined [-Wundef]
include/linux/jiffies.h:257:31: warning: "CLOCK_TICK_RATE" is not defined [-Wundef]
include/linux/jiffies.h:43:42: error: division by zero in #if
include/linux/jiffies.h:257:31: warning: "CLOCK_TICK_RATE" is not defined [-Wundef]
include/linux/jiffies.h:257:31: warning: "CLOCK_TICK_RATE" is not defined [-Wundef]
include/linux/jiffies.h:43:42: error: division by zero in #if
include/linux/jiffies.h:257:31: warning: "CLOCK_TICK_RATE" is not defined [-Wundef]
include/linux/jiffies.h:257:31: warning: "CLOCK_TICK_RATE" is not defined [-Wundef]
include/linux/jiffies.h:43:42: error: division by zero in #if
include/linux/jiffies.h:257:31: warning: "CLOCK_TICK_RATE" is not defined [-Wundef]
include/linux/jiffies.h:257:31: warning: "CLOCK_TICK_RATE" is not defined [-Wundef]
include/linux/jiffies.h:43:42: error: division by zero in #if
include/linux/jiffies.h:257:31: warning: "CLOCK_TICK_RATE" is not defined [-Wundef]
include/linux/jiffies.h:257:31: warning: "CLOCK_TICK_RATE" is not defined [-Wundef]
include/linux/jiffies.h:43:42: error: division by zero in #if
include/linux/jiffies.h:257:31: warning: "CLOCK_TICK_RATE" is not defined [-Wundef]
include/linux/jiffies.h:257:31: warning: "CLOCK_TICK_RATE" is not defined [-Wundef]
include/linux/jiffies.h:43:42: error: division by zero in #if
include/linux/jiffies.h:43:42: error: division by zero in #if
/home/abiol/Kernel/kernel/./Kbuild:81: recipe for target 'arch/arm/kernel/asm-offsets.s' failed
make[1]: *** [arch/arm/kernel/asm-offsets.s] Error 1
Makefile:1008: recipe for target 'prepare0' failed
make: *** [prepare0] Error 2
abiol@abiol-HP-ProBook-4320s:~/Kernel/kernel$

this is the log for error i get when i try to compile

i.e

make zImage

pls i need help.