diff options
author | Simon 'Morphis' Busch <morphis@gravedo.de> | 2010-01-20 18:14:42 +0100 |
---|---|---|
committer | Michael 'Mickey' Lauer <mickey@vanille-media.de> | 2010-01-20 18:14:42 +0100 |
commit | c87ea56a9e59dd4b3ddf67d900f4e14c1168bcd0 (patch) | |
tree | 8af6982d99943fbd57dde9acfc59ed25dcff5d38 /recipes/preboot/linux-preboot-palmpre_2.6.24.bb | |
parent | 78c0a878694ec91eb3c793e37642819bc3edc87a (diff) |
preboot: new recipe; a dual boot solution for the palm pre (WIP)
Diffstat (limited to 'recipes/preboot/linux-preboot-palmpre_2.6.24.bb')
-rw-r--r-- | recipes/preboot/linux-preboot-palmpre_2.6.24.bb | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/recipes/preboot/linux-preboot-palmpre_2.6.24.bb b/recipes/preboot/linux-preboot-palmpre_2.6.24.bb new file mode 100644 index 0000000000..e2d278cb68 --- /dev/null +++ b/recipes/preboot/linux-preboot-palmpre_2.6.24.bb @@ -0,0 +1,24 @@ +require linux-preboot.inc + +DEFAULT_PREFERENCE = "-1" +DEFAULT_PREFERENCE_palmpre = "-1" + +# Hacks should clearly named and at the bottom +SRC_URI += "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-2.6.24.tar.bz2 \ + " + +SRC_URI_append_palmpre = "\ +http://palm.cdnetworks.net/opensource/1.3.1/linuxkernel-2.6.24-patch.gz;patch=1 \ +" +S = "${WORKDIR}/linux-2.6.24" + +# We try to build the identical kernel as Palms here, use their defconfig. +do_configure_prepend() { + install -m 0644 ${S}/arch/arm/configs/omap_sirloin_3430_defconfig ${WORKDIR}/defconfig +} + +# linux.inc overrides LOCAVERSION but we like to stay with the one used originally +do_compile_prepend() { + sed -i -e '/CONFIG_LOCALVERSION=/d' ${S}/.config + echo 'CONFIG_LOCALVERSION="-joplin-3430"' >>${S}/.config +} |