summaryrefslogtreecommitdiff
path: root/packages/linux
diff options
context:
space:
mode:
Diffstat (limited to 'packages/linux')
-rw-r--r--packages/linux/linux-kaiser_2.6.24+git.bb7
-rw-r--r--packages/linux/linux.inc9
2 files changed, 13 insertions, 3 deletions
diff --git a/packages/linux/linux-kaiser_2.6.24+git.bb b/packages/linux/linux-kaiser_2.6.24+git.bb
index ba4e6c1973..758cbdcc0b 100644
--- a/packages/linux/linux-kaiser_2.6.24+git.bb
+++ b/packages/linux/linux-kaiser_2.6.24+git.bb
@@ -1,15 +1,16 @@
require linux.inc
PV = "2.6.24+git${SRCREV}"
+PR = "r1"
COMPATIBLE_MACHINE = "htckaiser"
-SRC_URI = "git://git.android.com/kernel.git;branch=android-msm;protocol=git \
- http://baliniak.pl/android/kernel.diff;patch=1"
+SRC_URI = "git://git.linuxtogo.org/home/groups/mobile-linux/kernel.git;branch=htc-msm;protocol=git"
S = "${WORKDIR}/git"
do_configure_prepend() {
- cp .config ../defconfig
+ cp arch/arm/configs/htckaiser_defconfig ../defconfig
}
+
diff --git a/packages/linux/linux.inc b/packages/linux/linux.inc
index 679f73a7f4..a6bffe728a 100644
--- a/packages/linux/linux.inc
+++ b/packages/linux/linux.inc
@@ -142,3 +142,12 @@ do_devicetree_image() {
}
addtask devicetree_image after do_deploy before do_package
+
+pkg_postinst_kernel-devicetree () {
+ cd /${KERNEL_IMAGEDEST}; update-alternatives --install /${KERNEL_IMAGEDEST}/devicetree devicetree devicetree-${KERNEL_VERSION} ${KERNEL_PRIORITY} || true
+}
+
+pkg_postrm_kernel-devicetree () {
+ cd /${KERNEL_IMAGEDEST}; update-alternatives --remove devicetree devicetree-${KERNEL_VERSION} || true
+}
+