diff options
Diffstat (limited to 'recipes/linux/linux_2.6.23+2.6.24-rc6.bb')
-rw-r--r-- | recipes/linux/linux_2.6.23+2.6.24-rc6.bb | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/recipes/linux/linux_2.6.23+2.6.24-rc6.bb b/recipes/linux/linux_2.6.23+2.6.24-rc6.bb new file mode 100644 index 0000000000..73100b62c3 --- /dev/null +++ b/recipes/linux/linux_2.6.23+2.6.24-rc6.bb @@ -0,0 +1,32 @@ +require linux.inc + +# Mark archs/machines that this kernel supports +DEFAULT_PREFERENCE = "-1" + +PR = "r0" + +SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-2.6.23.tar.bz2 \ + ${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/testing/patch-2.6.24-rc6.bz2;patch=1 \ + file://defconfig \ + " + +S = "${WORKDIR}/linux-2.6.23" + +SRC_URI_append_at91sam9260ek = "\ + file://0001-2.6.23-at91.patch;patch=1 \ + " +CMDLINE_at91sam9260ek = "mem=64M console=ttyS0,115200 root=/dev/mtdblock0 rw rootfstype=jffs2" + +FILES_kernel-image_at91sam9260ek = "" + +do_devicetree_image() { + if test -n "${DEVICETREE}" ; then + dtc -I dts -O dtb -o ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGE_BASE_NAME}.dtb ${DEVICETREE} + + cd ${DEPLOY_DIR_IMAGE} + rm -f ${KERNEL_IMAGE_SYMLINK_NAME}.dtb + ln -sf ${KERNEL_IMAGE_BASE_NAME}.dtb ${KERNEL_IMAGE_SYMLINK_NAME}.dtb + fi +} + +addtask devicetree_image after do_deploy before do_package |