Override TARGET_PREBUILT_KERNEL the correct way.
diff --git a/products/cyanogen_bravo.mk b/products/cyanogen_bravo.mk
index 671657c..5a2516f 100644
--- a/products/cyanogen_bravo.mk
+++ b/products/cyanogen_bravo.mk
@@ -18,6 +18,9 @@
PRODUCT_BUILD_PROP_OVERRIDES += BUILD_ID=FRF85B BUILD_DISPLAY_ID=FRF85B PRODUCT_NAME=passion BUILD_FINGERPRINT=google/passion/passion/mahimahi:2.2/FRF85B/42745:user/release-keys TARGET_BUILD_TYPE=userdebug
PRIVATE_BUILD_DESC="passion-user 2.2 FRF85B 42745 release-keys"
+# Build Kernel
+PRODUCT_SPECIFIC_DEFINES += TARGET_PREBUILT_KERNEL= device/htc/bravo-common/kernel
+
# Extra Passion overlay
PRODUCT_PACKAGE_OVERLAYS += vendor/cyanogen/overlay/passion
diff --git a/products/cyanogen_espresso.mk b/products/cyanogen_espresso.mk
index c41c461..e9de376 100644
--- a/products/cyanogen_espresso.mk
+++ b/products/cyanogen_espresso.mk
@@ -18,6 +18,9 @@
PRODUCT_BUILD_PROP_OVERRIDES += BUILD_ID=FRF85B BUILD_DISPLAY_ID=FRF85B PRODUCT_NAME=espresso BUILD_FINGERPRINT=google/passion/passion/mahimahi:2.2/FRF85B/42745:user/release-keys
PRIVATE_BUILD_DESC="espresso-user 2.2 42745 release-keys"
+# Build Kernel
+PRODUCT_SPECIFIC_DEFINES += TARGET_PREBUILT_KERNEL= device/htc/espresso/kernel
+
#
# Set ro.modversion
#
diff --git a/products/cyanogen_hero.mk b/products/cyanogen_hero.mk
index ff30996..0a8ab14 100644
--- a/products/cyanogen_hero.mk
+++ b/products/cyanogen_hero.mk
@@ -18,6 +18,9 @@
PRODUCT_BUILD_PROP_OVERRIDES += BUILD_ID=FRF83 BUILD_DISPLAY_ID=FRF83 PRODUCT_NAME=passion BUILD_FINGERPRINT=/passion/passion/mahimahi:2.2/FRF83/42295:user/release-keys
PRIVATE_BUILD_DESC="hero-user 2.2 FRF83 42295 release-keys"
+# Build Kernel
+PRODUCT_SPECIFIC_DEFINES += TARGET_PREBUILT_KERNEL= device/htc/hero/kernel
+
#
# Set ro.modversion
#
diff --git a/products/cyanogen_sholes.mk b/products/cyanogen_sholes.mk
index acb4b82..7ac4212 100644
--- a/products/cyanogen_sholes.mk
+++ b/products/cyanogen_sholes.mk
@@ -15,6 +15,9 @@
PRODUCT_MODEL := Droid
PRODUCT_MANUFACTURER := Motorola
+# Build Kernel
+PRODUCT_SPECIFIC_DEFINES += TARGET_PREBUILT_KERNEL= device/motorola/sholes/kernel
+
#
# Set ro.modversion
#
@@ -29,4 +32,4 @@
PRODUCT_BUILD_PROP_OVERRIDES := BUILD_ID=FRF84B BUILD_DISPLAY_ID=FRF84B PRODUCT_NAME=voles TARGET_DEVICE=sholes BUILD_FINGERPRINT=verizon/voles/sholes/sholes:2.2/FRF84B/42477:user/release-keys PRODUCT_BRAND=verizon PRIVATE_BUILD_DESC="voles-user 2.2 FRF84B 42477 release-keys" BUILD_NUMBER=42477 BUILD_UTC_DATE=1277333704 TARGET_BUILD_TYPE=user BUILD_VERSION_TAGS=release-keys USER=android-build
PRODUCT_COPY_FILES += \
- vendor/cyanogen/prebuilt/passion/media/bootanimation.zip:system/media/bootanimation.zip
\ No newline at end of file
+ vendor/cyanogen/prebuilt/passion/media/bootanimation.zip:system/media/bootanimation.zip