linux-leviathan: depend on android-image-utils and prepare kernel image that can...
authorMichael 'Mickey' Lauer <mickey@vanille-media.de>
Sun, 14 Mar 2010 14:16:12 +0000 (15:16 +0100)
committerMichael 'Mickey' Lauer <mickey@vanille-media.de>
Sun, 14 Mar 2010 14:16:12 +0000 (15:16 +0100)
recipes/linux/linux-leviathan_git.bb

index 8ea4bfb..a14fb21 100644 (file)
@@ -1,10 +1,10 @@
 require linux.inc
+DEPENDS = "android-image-utils-native"
 
 PV = "2.6.32+${PR}+gitr${SRCREV}"
-PR = "r0"
+PR = "r1"
 
 COMPATIBLE_MACHINE = "htcdream"
-# CMDLINE is irrelevant on this hardware as we need a special userland tool to cook the image
 CMDLINE = "console=tty0 no_console_suspend=1 root=/dev/mmcblk0p1 rootdelay=8 fbcon=rotate:1 panic=30 mem=110M"
 
 SRCREV_LAST_GOOD = "deabc32225429b3c0db44f7e62d95d0d2525290b"
@@ -15,3 +15,11 @@ SRC_URI = "\
   file://defconfig \
 "
 S = "${WORKDIR}/git"
+
+do_deploy_append() {
+    touch -f empty
+    mkbootimg --kernel ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGE_BASE_NAME}.bin \
+              --ramdisk empty \
+              --cmdline '"${CMDLINE}"' \
+              --output ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGE_BASE_NAME}.fastboot
+}