From: Adrian Alonso <aalonso00@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: [PATCH 3/3 v2] linux-xilinx: new kernel recipe
Date: Tue, 13 Jul 2010 17:29:00 -0500 [thread overview]
Message-ID: <1279060140-17856-3-git-send-email-aalonso00@gmail.com> (raw)
In-Reply-To: <1279060140-17856-1-git-send-email-aalonso00@gmail.com>
* Kernel recipe for generic xilinx platforms
* Inherits xilinx-bsp.bbclass to pass device
tree for the final arch
Signed-off-by: Adrian Alonso <aalonso00@gmail.com>
---
recipes/linux/linux-xilinx_git.bb | 35 +++++++++++++++++++++++++++++++++++
1 files changed, 35 insertions(+), 0 deletions(-)
create mode 100644 recipes/linux/linux-xilinx_git.bb
diff --git a/recipes/linux/linux-xilinx_git.bb b/recipes/linux/linux-xilinx_git.bb
new file mode 100644
index 0000000..2a17c85
--- /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.c-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
+}
--
1.7.1.1
next prev parent reply other threads:[~2010-07-13 22:27 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-13 22:28 [PATCH 1/3 v2] xilinx-virtex4: new file Adrian Alonso
2010-07-13 22:28 ` [PATCH 2/3 v2] xilinx-virtex5: " Adrian Alonso
2010-07-14 7:15 ` Frans Meulenbroeks
2010-07-13 22:29 ` Adrian Alonso [this message]
2010-07-14 7:11 ` [PATCH 3/3 v2] linux-xilinx: new kernel recipe Frans Meulenbroeks
2010-07-14 15:05 ` Adrian Alonso
2010-07-14 21:10 ` Frans Meulenbroeks
2010-07-14 7:15 ` [PATCH 1/3 v2] xilinx-virtex4: new file Frans Meulenbroeks
2010-07-14 13:26 ` Philip Balister
2010-07-14 13:31 ` Frans Meulenbroeks
2010-07-14 15:10 ` Adrian Alonso
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1279060140-17856-3-git-send-email-aalonso00@gmail.com \
--to=aalonso00@gmail.com \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox