env.sh:
export TOP_DIR=$(pwd)
export KERNEL_DIR=${TOP_DIR}/kernel
#export ANDROID_KERNEL_DIR=${TOP_DIR}/android_kernel
export ANDROID_KERNEL_DIR=/android/mydroid0715/kernel
export BUILD_OUT_DIR=${TOP_DIR}/output
export ROOT_SRC=${TOP_DIR}/buildroot-2010.05
export COMMON_DIR=${TOP_DIR}/common
export BOOT_SRC=${TOP_DIR}/uboot
export KERNEL_SVN=https://svn-sc.amlogic.com/svn/Project_ARMLinux/trunk/kernel/v2.6.34
export ANDROID_KERNEL_GIT=git://10.8.9.8/m1-kernel-android.git
export ANDROID_KERNEL_BRANCH=
export BUILD_ROOT_SVN=https://10.18.11.250/svn/model_linux/branches/buildroot-2010.05
export BOOT_SVN=https://svn-bj.amlogic.com/svn/model_ae/u-boot-arm/trunk
export PATH=/android/arm-2010q1/bin:$PATH
make menuconfig:
# . env.sh
# cd build_kernel/android_build/
# cp /android/mydroid0715/kernel/arch/arm/configs/meson_refc01_defconfig kernel_config
# make menuconfig
mkdir -p /android/arm_ref/output
mkdir -p /android/mydroid0715/kernel
mkdir -p /android/arm_ref/build_kernel/android_build/build
cp -rf kernel_config /android/arm_ref/build_kernel/android_build/build/.config
make -C /android/mydroid0715/kernel menuconfig O=/android/arm_ref/build_kernel/android_build/build
make[1]: Entering directory `/android/mydroid0715/kernel'
GEN /android/arm_ref/build_kernel/android_build/build/Makefile
scripts/kconfig/mconf arch/arm/Kconfig
#
# configuration written to .config
#
*** End of Linux kernel configuration.
*** Execute 'make' to build the kernel or try 'make help'.
make[1]: Leaving directory `/android/mydroid0715/kernel'
cp -rf /android/arm_ref/build_kernel/android_build/build/.config kernel_config
# make menuconfig
mkdir -p /android/arm_ref/output
mkdir -p /android/mydroid0715/kernel
mkdir -p /android/arm_ref/build_kernel/android_build/build
cp -rf kernel_config /android/arm_ref/build_kernel/android_build/build/.config
make -C /android/mydroid0715/kernel menuconfig O=/android/arm_ref/build_kernel/android_build/build
make[1]: Entering directory `/android/mydroid0715/kernel'
GEN /android/arm_ref/build_kernel/android_build/build/Makefile
scripts/kconfig/mconf arch/arm/Kconfig
*** End of Linux kernel configuration.
*** Execute 'make' to build the kernel or try 'make help'.
make[1]: Leaving directory `/android/mydroid0715/kernel'
cp -rf /android/arm_ref/build_kernel/android_build/build/.config kernel_config
#
# make -j9
mkdir -p /android/arm_ref/output
mkdir -p /android/mydroid0715/kernel
mkdir -p /android/arm_ref/build_kernel/android_build/build
cp -rf kernel_config /android/arm_ref/build_kernel/android_build/build/.config
make -C /android/mydroid0715/kernel O=/android/arm_ref/build_kernel/android_build/build uImage ugImage uzImage
make[1]: Entering directory `/android/mydroid0715/kernel'
GEN /android/arm_ref/build_kernel/android_build/build/Makefile
scripts/kconfig/conf -s arch/arm/Kconfig
GEN /android/arm_ref/build_kernel/android_build/build/Makefile
CHK include/linux/version.h
CHK include/generated/utsrelease.h
Using /android/mydroid0715/kernel as source for kernel
CC scripts/mod/empty.o
MKELF scripts/mod/elfconfig.h
HOSTCC scripts/mod/file2alias.o
HOSTCC scripts/mod/modpost.o
HOSTCC scripts/mod/sumversion.o
HOSTLD scripts/mod/modpost
Generating include/generated/mach-types.h
CC kernel/bounds.s
GEN include/generated/bounds.h
CC arch/arm/kernel/asm-offsets.s
GEN include/generated/asm-offsets.h
CALL /android/mydroid0715/kernel/scripts/checksyscalls.sh
CC init/main.o
CHK include/generated/compile.h
CC init/do_mounts.o
CC init/do_mounts_initrd.o
CC init/initramfs.o
CC init/calibrate.o
CC init/do_mounts_rd.o
HOSTCC usr/gen_init_cpio
UPD include/generated/compile.h
CC init/version.o
CC arch/arm/kernel/compat.o
CC arch/arm/kernel/elf.o
AS arch/arm/kernel/entry-armv.o
GEN usr/initramfs_data.cpio
AS arch/arm/kernel/entry-common.o
CC arch/arm/kernel/irq.o
CC arch/arm/kernel/process.o
CC arch/arm/kernel/ptrace.o
CC arch/arm/kernel/return_address.o
CC arch/arm/kernel/setup.o
CC arch/arm/kernel/signal.o
/android/mydroid0715/kernel/arch/arm/kernel/process.c: In function 'arm_machine_restart':
/android/mydroid0715/kernel/arch/arm/kernel/process.c:121: warning: passing argument 1 of 'flush_cache_vmap' makes integer from pointer without a cast
/android/mydroid0715/kernel/arch/arm/include/asm/cacheflush.h:434: note: expected 'long unsigned int' but argument is of type 'volatile u32 *'
/android/mydroid0715/kernel/arch/arm/kernel/process.c:121: warning: passing argument 2 of 'flush_cache_vmap' makes integer from pointer without a cast
/android/mydroid0715/kernel/arch/arm/include/asm/cacheflush.h:434: note: expected 'long unsigned int' but argument is of type 'volatile u32 *'
AS usr/initramfs_data.o
CC arch/arm/kernel/sys_arm.o
CC arch/arm/kernel/stacktrace.o
CC arch/arm/kernel/time.o
LD usr/built-in.o
CC arch/arm/kernel/traps.o
LD init/mounts.o
CC arch/arm/mm/dma-mapping.o
LD init/built-in.o
CC arch/arm/kernel/fiq.o
CC arch/arm/kernel/armksyms.o
CC arch/arm/kernel/module.o
CC arch/arm/common/clkdev.o
AS arch/arm/kernel/relocate_kernel.o
CC arch/arm/kernel/machine_kexec.o
CC arch/arm/kernel/atags.o
CC arch/arm/kernel/pmu.o
CC arch/arm/kernel/io.o
AS arch/arm/kernel/head.o
CC arch/arm/kernel/init_task.o
LDS arch/arm/kernel/vmlinux.lds