* Chase Maupin : linux-ti-staging: fix DTB deploy steps
@ 2013-03-11 21:36 Arago Project git
0 siblings, 0 replies; 2+ messages in thread
From: Arago Project git @ 2013-03-11 21:36 UTC (permalink / raw)
To: meta-ti
Module: meta-ti
Branch: danny
Commit: f5530f4905db6c042f14ff859a391b7e672195c9
URL: http://arago-project.org/git/meta-ti.git?a=commit;h=f5530f4905db6c042f14ff859a391b7e672195c9
Author: Chase Maupin <Chase.Maupin@ti.com>
Date: Mon Mar 11 15:03:35 2013 -0500
linux-ti-staging: fix DTB deploy steps
* Until the permanent fix can be picked up in oe-core fix the
do_deploy function to properly package the dtb files built
as part of the kernel build.
Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
---
recipes-kernel/linux/linux-ti-staging_git.bb | 18 +++++++++++++++++-
1 files changed, 17 insertions(+), 1 deletions(-)
diff --git a/recipes-kernel/linux/linux-ti-staging_git.bb b/recipes-kernel/linux/linux-ti-staging_git.bb
index f6fa6d2..9ce507b 100644
--- a/recipes-kernel/linux/linux-ti-staging_git.bb
+++ b/recipes-kernel/linux/linux-ti-staging_git.bb
@@ -5,6 +5,22 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
KERNEL_IMAGETYPE = "uImage"
inherit kernel
+
+# This function must be here BEFORE the require of linux-dtb.inc below.
+# There is a "bug" in the base kernel.bbclass that after it's do_deploy
+# step it does not return back to the ${S} directory but stays in the
+# DEPLOY_DIR. However, the do_deploy_append defined in linux-dtb.inc
+# assumes that it is being run in the ${S} directory. A patch is
+# being submitted to fix this issue by either changing the do_deploy
+# in the kernel.bbclass to do "cd -" as the last step or to add
+# "cd ${S}" as the first line of do_deploy in linux-dtb.inc and this
+# function can be removed once that change is available.
+# If the function is not placed BEFORE the require then the change
+# directory is not appended before the linux-dtb.inc changes.
+do_deploy_append() {
+ cd ${S}
+}
+
require recipes-kernel/linux/linux-dtb.inc
require recipes-kernel/linux/setup-defconfig.inc
@@ -27,7 +43,7 @@ SRCREV = "d26595a42220789b81a9d243e2fc0837c7776360"
PV = "3.8.2"
# Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a rebuild
-MACHINE_KERNEL_PR_append = "c+gitr${SRCPV}"
+MACHINE_KERNEL_PR_append = "d+gitr${SRCPV}"
SRC_URI = "git://gitorious.ti.com/ti-linux-kernel/ti-linux-kernel.git;protocol=git;branch=${BRANCH} \
file://defconfig \
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Chase Maupin : linux-ti-staging: fix DTB deploy steps
@ 2013-03-11 21:36 Arago Project git
0 siblings, 0 replies; 2+ messages in thread
From: Arago Project git @ 2013-03-11 21:36 UTC (permalink / raw)
To: meta-ti
Module: meta-ti
Branch: master
Commit: afa0c625717b1d8a43f6da6d760840e024378c4c
URL: http://arago-project.org/git/meta-ti.git?a=commit;h=afa0c625717b1d8a43f6da6d760840e024378c4c
Author: Chase Maupin <Chase.Maupin@ti.com>
Date: Mon Mar 11 15:03:35 2013 -0500
linux-ti-staging: fix DTB deploy steps
* Until the permanent fix can be picked up in oe-core fix the
do_deploy function to properly package the dtb files built
as part of the kernel build.
Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
---
recipes-kernel/linux/linux-ti-staging_git.bb | 18 +++++++++++++++++-
1 files changed, 17 insertions(+), 1 deletions(-)
diff --git a/recipes-kernel/linux/linux-ti-staging_git.bb b/recipes-kernel/linux/linux-ti-staging_git.bb
index f6fa6d2..9ce507b 100644
--- a/recipes-kernel/linux/linux-ti-staging_git.bb
+++ b/recipes-kernel/linux/linux-ti-staging_git.bb
@@ -5,6 +5,22 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
KERNEL_IMAGETYPE = "uImage"
inherit kernel
+
+# This function must be here BEFORE the require of linux-dtb.inc below.
+# There is a "bug" in the base kernel.bbclass that after it's do_deploy
+# step it does not return back to the ${S} directory but stays in the
+# DEPLOY_DIR. However, the do_deploy_append defined in linux-dtb.inc
+# assumes that it is being run in the ${S} directory. A patch is
+# being submitted to fix this issue by either changing the do_deploy
+# in the kernel.bbclass to do "cd -" as the last step or to add
+# "cd ${S}" as the first line of do_deploy in linux-dtb.inc and this
+# function can be removed once that change is available.
+# If the function is not placed BEFORE the require then the change
+# directory is not appended before the linux-dtb.inc changes.
+do_deploy_append() {
+ cd ${S}
+}
+
require recipes-kernel/linux/linux-dtb.inc
require recipes-kernel/linux/setup-defconfig.inc
@@ -27,7 +43,7 @@ SRCREV = "d26595a42220789b81a9d243e2fc0837c7776360"
PV = "3.8.2"
# Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a rebuild
-MACHINE_KERNEL_PR_append = "c+gitr${SRCPV}"
+MACHINE_KERNEL_PR_append = "d+gitr${SRCPV}"
SRC_URI = "git://gitorious.ti.com/ti-linux-kernel/ti-linux-kernel.git;protocol=git;branch=${BRANCH} \
file://defconfig \
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-03-11 21:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-11 21:36 Chase Maupin : linux-ti-staging: fix DTB deploy steps Arago Project git
2013-03-11 21:36 Arago Project git
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.