All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Define linux-am335x-upstream-staging recipe
@ 2012-12-05 21:39 Carlos Hernandez
  0 siblings, 0 replies; only message in thread
From: Carlos Hernandez @ 2012-12-05 21:39 UTC (permalink / raw)
  To: meta-arago

[-- Attachment #1: Type: text/plain, Size: 108 bytes --]

AUTOREV recipe for github.com/hvaibhav/am335x-linux.git

Please consider for meta-arago. Thanks,
Carlos

[-- Attachment #2: 0003-Define-linux-am335x-upstream-staging-recipe.patch --]
[-- Type: text/x-patch, Size: 2203 bytes --]

From 193cdfd5104d55d6b71973e41b0874d7cd6f591a Mon Sep 17 00:00:00 2001
From: Carlos Hernandez <ceh@ti.com>
Date: Tue, 4 Dec 2012 17:32:18 -0500
Subject: [PATCH 03/12] Define linux-am335x-upstream-staging recipe

AUTOREV recipe for github.com/hvaibhav/am335x-linux.git

Signed-off-by: Carlos Hernandez <ceh@ti.com>
---
 .../linux/linux-am335x-upstream-staging_git.bb     |   48 ++++++++++++++++++++
 1 files changed, 48 insertions(+), 0 deletions(-)
 create mode 100644 meta-arago-distro/recipes-kernel/linux/linux-am335x-upstream-staging_git.bb

diff --git a/meta-arago-distro/recipes-kernel/linux/linux-am335x-upstream-staging_git.bb b/meta-arago-distro/recipes-kernel/linux/linux-am335x-upstream-staging_git.bb
new file mode 100644
index 0000000..61454cf
--- /dev/null
+++ b/meta-arago-distro/recipes-kernel/linux/linux-am335x-upstream-staging_git.bb
@@ -0,0 +1,48 @@
+SECTION = "kernel"
+DESCRIPTION = "Linux kernel for TI33x EVM from PSP, based on am335x-kernel"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
+KERNEL_IMAGETYPE = "uImage"
+
+inherit kernel
+require setup-dtb.inc
+
+# Stage the power management firmware before building the kernel
+DEPENDS += "am33x-cm3"
+
+KERNEL_DEVICETREE_am335x-evm = "arch/arm/boot/dts/am335x-evm.dts"
+
+COMPATIBLE_MACHINE = "ti33x"
+
+S = "${WORKDIR}/git"
+
+BRANCH = "am335x-upstream-staging"
+
+SRCREV = "${AUTOREV}"
+PV = "3.7"
+
+# Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a rebuild
+MACHINE_KERNEL_PR_append = "r11+gitr${SRCPV}"
+
+KVER = "${PV}"
+PSPREL = "-prerelease"
+
+# Override the SRC_URI from the linux-omap3.inc file
+SRC_URI = "git://github.com/hvaibhav/am335x-linux.git;protocol=git;branch=${BRANCH} \
+"
+
+do_setup_defconfig() {
+        :
+}
+
+do_configure() {
+        make ARCH=arm omap2plus_defconfig
+}
+
+# Copy the am33x-cm3 firmware if it is available
+do_compile_prepend() {
+    if [ -e "${STAGING_DIR_HOST}/${base_libdir}/firmware/am335x-pm-firmware.bin" ]
+    then
+        cp "${STAGING_DIR_HOST}/${base_libdir}/firmware/am335x-pm-firmware.bin" "${S}/firmware"
+    fi
+}
-- 
1.7.0.4


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2012-12-05 21:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-05 21:39 [PATCH] Define linux-am335x-upstream-staging recipe Carlos Hernandez

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.