From: Michael 'Mickey' Lauer Date: Sun, 14 Mar 2010 14:16:12 +0000 (+0100) Subject: linux-leviathan: depend on android-image-utils and prepare kernel image that can... X-Git-Tag: Release-2010-05/1~340^2~128^2~88 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e0a5c66df54995c23976707a157537a50d83fc4c;p=openembedded.git linux-leviathan: depend on android-image-utils and prepare kernel image that can be booted via fastboot --- diff --git a/recipes/linux/linux-leviathan_git.bb b/recipes/linux/linux-leviathan_git.bb index 8ea4bfbb7b..a14fb21092 100644 --- a/recipes/linux/linux-leviathan_git.bb +++ b/recipes/linux/linux-leviathan_git.bb @@ -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 +}