I'm hoping one of you can help me, my google foo isn't working here and neither is IRC. Probably simple, i'v never built a kernel before.
So I got the source from: github.com/MotorolaMobilityLLC/
and I'm trying to build a stand alone kernel, so I setup my build environment:
and then I make the config file:
By the way, what is the difference between msm8610_defconfig and msm8610-perf_defconfig?
I would now use menuconfig but I don't want to try to customize the kernel this first go, although I get the same results using menuconfig or not.
So now I just make right?
i have checked of course, smd_private.h is right where it should be and where make says it isn't. What gives?
So I got the source from: github.com/MotorolaMobilityLLC/
and I'm trying to build a stand alone kernel, so I setup my build environment:
Code:
export CROSS_COMPILE=~/NDK/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/arm-linux-androideabi-
export ARCH=arm
and then I make the config file:
Code:
me@ubuntu:~/android/kernel$ make msm8610_defconfig
drivers/usb/gadget/Kconfig:881:warning: defaults for choice values not supported
arch/arm/configs/msm8610_defconfig:443:warning: override: reassigning to symbol REGULATOR_TPS65132
arch/arm/configs/msm8610_defconfig:528:warning: override: reassigning to symbol PPP
arch/arm/configs/msm8610_defconfig:529:warning: override: reassigning to symbol PPP_ASYNC
arch/arm/configs/msm8610_defconfig:531:warning: override: reassigning to symbol PPP_DEFLATE
arch/arm/configs/msm8610_defconfig:532:warning: override: reassigning to symbol PPP_BSDCOMP
arch/arm/configs/msm8610_defconfig:534:warning: override: reassigning to symbol PPPOLAC
arch/arm/configs/msm8610_defconfig:535:warning: override: reassigning to symbol PPPOPNS
arch/arm/configs/msm8610_defconfig:536:warning: override: reassigning to symbol PPP_MPPE
arch/arm/configs/msm8610_defconfig:544:warning: override: reassigning to symbol MOT_UTAG
arch/arm/configs/msm8610_defconfig:546:warning: override: reassigning to symbol SECURITY
arch/arm/configs/msm8610_defconfig:547:warning: override: reassigning to symbol AUDIT
arch/arm/configs/msm8610_defconfig:548:warning: override: reassigning to symbol SECURITY_NETWORK
#
# configuration written to .config
#
By the way, what is the difference between msm8610_defconfig and msm8610-perf_defconfig?
I would now use menuconfig but I don't want to try to customize the kernel this first go, although I get the same results using menuconfig or not.
So now I just make right?
Code:
me@ubuntu:~/android/kernel$ make
scripts/kconfig/conf --silentoldconfig Kconfig
drivers/usb/gadget/Kconfig:881:warning: defaults for choice values not supported
CHK include/linux/version.h
CHK include/generated/utsrelease.h
UPD include/generated/utsrelease.h
make[1]: `include/generated/mach-types.h' is up to date.
CC arch/arm/kernel/asm-offsets.s
GEN include/generated/asm-offsets.h
CALL scripts/checksyscalls.sh
CC init/main.o
CHK include/generated/compile.h
CC init/version.o
CC init/do_mounts.o
CC init/do_mounts_rd.o
CC init/do_mounts_initrd.o
...
CC arch/arm/mach-msm/perf_trace_counters.o
CC arch/arm/mach-msm/perf_debug.o
CC arch/arm/mach-msm/platsmp.o
CC arch/arm/mach-msm/hotplug.o
AS arch/arm/mach-msm/idle-v7.o
CC arch/arm/mach-msm/smd.o
CC arch/arm/mach-msm/smd_debug.o
CC arch/arm/mach-msm/remote_spinlock.o
/tmp/ccNV5VPY.s: Assembler messages:
/tmp/ccNV5VPY.s:174: Warning: swp{b} use is deprecated for ARMv6 and ARMv7
/tmp/ccNV5VPY.s:201: Warning: swp{b} use is deprecated for ARMv6 and ARMv7
CC arch/arm/mach-msm/smd_private.o
CC arch/arm/mach-msm/smem.o
CC arch/arm/mach-msm/smd_init_dt.o
arch/arm/mach-msm/smd_init_dt.c:24:25: fatal error: smd_private.h: No such file or directory
#include <smd_private.h>
^
compilation terminated.
make[1]: *** [arch/arm/mach-msm/smd_init_dt.o] Error 1
make: *** [arch/arm/mach-msm] Error 2
me@ubuntu:~/android/kernel$
i have checked of course, smd_private.h is right where it should be and where make says it isn't. What gives?
Last edited: