linux-xilinx-ml507_git: new kernel recipe for xilinx ml507
authorAdrian Alonso <aalonso00@gmail.com>
Fri, 5 Mar 2010 13:15:15 +0000 (13:15 +0000)
committerStefan Schmidt <stefan@datenfreihafen.org>
Tue, 16 Mar 2010 18:57:50 +0000 (19:57 +0100)
* Based on the oficial xilinx repo since not all drivers are in the
* mainline kernel tree
* Make use off the xilinx-bsp bbclass to override device tree descriptor

Signed-off-by: Adrian Alonso <aalonso00@gmail.com>
Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org>
recipes/linux/linux-xilinx-ml507_git.bb [new file with mode: 0644]

diff --git a/recipes/linux/linux-xilinx-ml507_git.bb b/recipes/linux/linux-xilinx-ml507_git.bb
new file mode 100644 (file)
index 0000000..ec9de1c
--- /dev/null
@@ -0,0 +1,23 @@
+require linux.inc
+
+DESCRIPTION = "Linux kernel for Xilinx ml507 platform"
+KERNEL_RELEASE = "2.6.32+git"
+
+COMPATIBLE_MACHINE = "xilinx-ml507"
+DEFAULT_PREFERENCE = "-1"
+DEFAULT_PREFERENCE_xilinx-ml507 = "1"
+
+PV = "${KERNEL_RELEASE}"
+PR = "r0"
+
+SRCREV = "dc53725d22405e384b984d222542f526eaa9b829"
+SRC_URI = "git://git.xilinx.com/linux-2.6-xlnx.git;protocol=git \
+           file://defconfig"
+
+inherit kernel xilinx-bsp
+
+S = "${WORKDIR}/git"
+
+do_configure_prepend() {
+    install -m 0644 ${WORKDIR}/defconfig ${S}/.config
+}