summaryrefslogtreecommitdiff
path: root/recipes/linux/linux-leviathan_git.bb
blob: f5a7d21e0e40b143b9aba7bed86c9cdb99b414bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
require linux.inc
DEPENDS += "android-image-utils-native"

PV = "2.6.32+${PR}+gitr${SRCREV}"
PR = "r19"

COMPATIBLE_MACHINE = "htcdream"
CMDLINE = "console=tty1 root=/dev/mmcblk0p1 rootdelay=8 fbcon=rotate:1 panic=30 mem=110M"

SRCREV_LAST_GOOD = "2402bb32e564fb3b802c4a23d4a3f1fd0faa8d17"
SRCREV = "636fa4daf243826ef6cebb64dd0509f3b079fcb5"

SRC_URI = "\
  git://gitorious.org/htc-msm-2-6-32/leviathan-incoming.git;protocol=git;branch=msm-gnuconform \
  file://defconfig \
"
S = "${WORKDIR}/git"

do_deploy_append() {
    if [ ! -e empty.gz ];then
        if [ ! -e empty ];then
            touch empty
        fi
        gzip empty
    fi
    mkbootimg --kernel ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGE_BASE_NAME}.bin \
              --ramdisk empty.gz \
              --cmdline "${CMDLINE}" \
              --output ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGE_BASE_NAME}.fastboot
}