diff options
author | Adrian Alonso <aalonso00@gmail.com> | 2010-08-03 06:23:17 +0000 |
---|---|---|
committer | Frans Meulenbroeks <fransmeulenbroeks@gmail.com> | 2010-08-04 19:47:02 +0200 |
commit | 77de950be036d6e91b26e872f4848e3c339e2399 (patch) | |
tree | 5b5c61a93455cb74f532df66656bed0a8ebcb848 /recipes/linux/linux-xilinx_git.bb | |
parent | 11962546eb53a07d4214d9b258b0c0e62d42f8e5 (diff) |
linux-xilinx: kernel recipe for xilinx virtex platforms
* Kernel recipe for generic xilinx platforms
* Inherits xilinx-bsp.bbclass to pass device
tree for the final target
* v2 reorder patch set
Signed-off-by: Adrian Alonso <aalonso00@gmail.com>
Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/linux/linux-xilinx_git.bb')
-rw-r--r-- | recipes/linux/linux-xilinx_git.bb | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/recipes/linux/linux-xilinx_git.bb b/recipes/linux/linux-xilinx_git.bb new file mode 100644 index 0000000000..6f6d5a537f --- /dev/null +++ b/recipes/linux/linux-xilinx_git.bb @@ -0,0 +1,35 @@ +require linux.inc + +DESCRIPTION = "Linux kernel for Xilinx platforms" + +COMPATIBLE_MACHINE = "xilinx-virtex4|xilinx-virtex5|xilinx-mb-gen" +DEFAULT_PREFERENCE = "-1" +DEFAULT_PREFERENCE_xilinx-virtex4 = "1" +DEFAULT_PREFERENCE_xilinx-virtex5 = "1" +DEFAULT_PREFERENCE_xilinx-mb-gen = "1" + +PV = "2.6.33+git" +PR = "r0" + +SRCREV = "17431547113100a3ae0a622b9f76ad17fb76eb56" +SRC_URI = "git://git.xilinx.com/linux-2.6-xlnx.git;protocol=git \ + file://xilinxfb-update-tft-comp.patch \ + file://defconfig" + +PV_xilinx-mb-gen = "2.6.34+git" +SRCREV_xilinx-mb-gen = "382e23534109197daddbcbcdf5aae75c674638e7" +SRC_URI_xilinx-mb-gen = "git://developer.petalogix.com/linux-2.6-microblaze.git;protocol=git \ + file://defconfig" + +inherit kernel xilinx-bsp + +TARGET_BOARD = "${@map_target(bb.data.getVar('TARGET_ARCH', d, 1), d)}" +KERNEL_DEVICETREE_xilinx-virtex4 = "arch/${ARCH}/boot/dts/virtex${TARGET_BOARD}.dts" +KERNEL_DEVICETREE_xilinx-virtex5 = "arch/${ARCH}/boot/dts/virtex${TARGET_BOARD}.dts" +KERNEL_DEVICETREE_xilinx-mb-gen = "arch/${ARCH}/platform/generic/${TARGET_BOARD}.dts" + +S = "${WORKDIR}/git" + +do_configure_prepend() { + install -m 0644 ${WORKDIR}/defconfig ${S}/.config +} |