So being a noob, I think I'm doing something wrong. After several tries of putting different things in different places, I was able to get 'brunch' to run, but when I make bacon I get an error. Could someone double check my work? Here's what I've done:
Code:
mkdir cm9
repo init -u git://github.com/CyanogenMod/android.git -b ics
Then I created the .repo/local_manifest.xml with this in it
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project path="device/lge/VM670" name="tdm/android_device_lge_VM670" remote="github" revision="ics-cm" />
<project path="vendor/lge/VM670" name="tdm/android_vendor_lge_VM670" remote="github" revision="ics-cm" />
<project path="device/lge/thunderc-common" name="tdm/android_device_lge_thunderc-common" remote="github" revision="ics-cm" />
</manifest>
Everything checks out fine. Then I run 'brunch VM670' and this message prints out twice :
Code:
Looking for dependencies
Dependencies file not found, bailing out.
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.0.4
TARGET_PRODUCT=cm_VM670
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv6-vfp
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=IMM76D
============================================
But when I make -j8 bacon, I get this error:
Code:
build/core/tasks/kernel.mk:37: ***************************************************************
build/core/tasks/kernel.mk:38: * *
build/core/tasks/kernel.mk:39: * No kernel source found, and no fallback prebuilt defined. *
build/core/tasks/kernel.mk:40: * Please make sure your device is properly configured to *
build/core/tasks/kernel.mk:41: * download the kernel repository to kernel/lge/VM670
build/core/tasks/kernel.mk:42: * and add the TARGET_KERNEL_CONFIG variable to AndroidBoard.mk*
build/core/tasks/kernel.mk:43: * *
build/core/tasks/kernel.mk:44: * As an alternative, define the TARGET_PREBUILT_KERNEL *
build/core/tasks/kernel.mk:45: * variable with the path to the prebuilt binary kernel image *
build/core/tasks/kernel.mk:46: * in your AndroidBoard.mk file *
build/core/tasks/kernel.mk:47: * *
build/core/tasks/kernel.mk:48: ***************************************************************
build/core/tasks/kernel.mk:49: *** "NO KERNEL". Stop.
I'm not sure which kernel I need to use. Should I be using the codeaurora one from tdm's repo, or lupohirp's lge-kernel-msm7x27, or just grabbing pre-built kernel image out of one of the ROMs?