diff options
author | Cliff Brake <cbrake@bec-systems.com> | 2008-02-04 22:04:14 +0000 |
---|---|---|
committer | Cliff Brake <cbrake@bec-systems.com> | 2008-02-04 22:04:14 +0000 |
commit | 28c06cd45d6a08b347bc2a8cf78c2382f77fbf30 (patch) | |
tree | ae2c6663684d33cbb9a528e59ccdf4d3933c0139 /packages/linux/linux_2.6.24.bb | |
parent | 71393cf671133717cd85ed0e9f49effb364eb070 (diff) |
gesbc-9302, linux-2.6.24: update gesbc-9302 to 2.6.24 released kernel version
Diffstat (limited to 'packages/linux/linux_2.6.24.bb')
-rw-r--r-- | packages/linux/linux_2.6.24.bb | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/packages/linux/linux_2.6.24.bb b/packages/linux/linux_2.6.24.bb new file mode 100644 index 0000000000..ba8ce52dc5 --- /dev/null +++ b/packages/linux/linux_2.6.24.bb @@ -0,0 +1,35 @@ +require linux.inc + +# Mark archs/machines that this kernel supports +DEFAULT_PREFERENCE = "-1" +DEFAULT_PREFERENCE_gesbc-9302 = "1" + +PR = "r0" + +SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-2.6.24.tar.bz2 \ + file://defconfig \ + " + +S = "${WORKDIR}/linux-2.6.24" + +SRC_URI_append_gesbc-9302 = " \ + file://0001-gesbc-nand.patch;patch=1 \ + file://0002-gesbc-eth-platform.patch;patch=1 \ + " + +CMDLINE_gesbc-9302 = "console=ttyAM0 root=mtd5 rootfstype=jffs2 mtdparts=GESBC-NAND:64m(app),-(data)" + +FILES_kernel-image_gesbc-9302 = "" + +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 + |