* Chase Maupin : linux-ti-staging: use setup-defconfig
@ 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: aa8bdcbeff95aa562053b5b8c5541b59f3977b6a
URL: http://arago-project.org/git/meta-ti.git?a=commit;h=aa8bdcbeff95aa562053b5b8c5541b59f3977b6a
Author: Chase Maupin <Chase.Maupin@ti.com>
Date: Mon Mar 11 15:03:32 2013 -0500
linux-ti-staging: use setup-defconfig
* Use the setup-defconfig.inc functionality to specify the in
kernel tree defconfig file to use rather than hard coding it
in the do_configure step.
* This is to make it easier to modify which configs are use by
other layers as well as supporting additional machines which
may not use omap2plus_defconfig as needed.
Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
---
recipes-kernel/linux/linux-ti-staging/defconfig | 1 +
recipes-kernel/linux/linux-ti-staging_git.bb | 15 +++++----------
2 files changed, 6 insertions(+), 10 deletions(-)
diff --git a/recipes-kernel/linux/linux-ti-staging/defconfig b/recipes-kernel/linux/linux-ti-staging/defconfig
new file mode 100644
index 0000000..926b35a
--- /dev/null
+++ b/recipes-kernel/linux/linux-ti-staging/defconfig
@@ -0,0 +1 @@
+use-kernel-config=omap2plus_defconfig
diff --git a/recipes-kernel/linux/linux-ti-staging_git.bb b/recipes-kernel/linux/linux-ti-staging_git.bb
index 8cc7206..2581409 100644
--- a/recipes-kernel/linux/linux-ti-staging_git.bb
+++ b/recipes-kernel/linux/linux-ti-staging_git.bb
@@ -6,6 +6,7 @@ KERNEL_IMAGETYPE = "uImage"
inherit kernel
require recipes-kernel/linux/linux-dtb.inc
+require recipes-kernel/linux/setup-defconfig.inc
# Stage the power management firmware before building the kernel
DEPENDS += "am33x-cm3"
@@ -23,17 +24,11 @@ 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 = "a+gitr${SRCPV}"
+MACHINE_KERNEL_PR_append = "b+gitr${SRCPV}"
-SRC_URI = "git://gitorious.ti.com/ti-linux-kernel/ti-linux-kernel.git;protocol=git;branch=${BRANCH}"
-
-do_setup_defconfig() {
- :
-}
-
-do_configure() {
- oe_runmake omap2plus_defconfig
-}
+SRC_URI = "git://gitorious.ti.com/ti-linux-kernel/ti-linux-kernel.git;protocol=git;branch=${BRANCH} \
+ file://defconfig \
+ "
# Copy the am33x-cm3 firmware if it is available
do_compile_prepend() {
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Chase Maupin : linux-ti-staging: use setup-defconfig
@ 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: 9646393ed82fb11c762d6e0dd7f59f36b79c347e
URL: http://arago-project.org/git/meta-ti.git?a=commit;h=9646393ed82fb11c762d6e0dd7f59f36b79c347e
Author: Chase Maupin <Chase.Maupin@ti.com>
Date: Mon Mar 11 15:03:32 2013 -0500
linux-ti-staging: use setup-defconfig
* Use the setup-defconfig.inc functionality to specify the in
kernel tree defconfig file to use rather than hard coding it
in the do_configure step.
* This is to make it easier to modify which configs are use by
other layers as well as supporting additional machines which
may not use omap2plus_defconfig as needed.
Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
---
recipes-kernel/linux/linux-ti-staging/defconfig | 1 +
recipes-kernel/linux/linux-ti-staging_git.bb | 15 +++++----------
2 files changed, 6 insertions(+), 10 deletions(-)
diff --git a/recipes-kernel/linux/linux-ti-staging/defconfig b/recipes-kernel/linux/linux-ti-staging/defconfig
new file mode 100644
index 0000000..926b35a
--- /dev/null
+++ b/recipes-kernel/linux/linux-ti-staging/defconfig
@@ -0,0 +1 @@
+use-kernel-config=omap2plus_defconfig
diff --git a/recipes-kernel/linux/linux-ti-staging_git.bb b/recipes-kernel/linux/linux-ti-staging_git.bb
index 8cc7206..2581409 100644
--- a/recipes-kernel/linux/linux-ti-staging_git.bb
+++ b/recipes-kernel/linux/linux-ti-staging_git.bb
@@ -6,6 +6,7 @@ KERNEL_IMAGETYPE = "uImage"
inherit kernel
require recipes-kernel/linux/linux-dtb.inc
+require recipes-kernel/linux/setup-defconfig.inc
# Stage the power management firmware before building the kernel
DEPENDS += "am33x-cm3"
@@ -23,17 +24,11 @@ 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 = "a+gitr${SRCPV}"
+MACHINE_KERNEL_PR_append = "b+gitr${SRCPV}"
-SRC_URI = "git://gitorious.ti.com/ti-linux-kernel/ti-linux-kernel.git;protocol=git;branch=${BRANCH}"
-
-do_setup_defconfig() {
- :
-}
-
-do_configure() {
- oe_runmake omap2plus_defconfig
-}
+SRC_URI = "git://gitorious.ti.com/ti-linux-kernel/ti-linux-kernel.git;protocol=git;branch=${BRANCH} \
+ file://defconfig \
+ "
# Copy the am33x-cm3 firmware if it is available
do_compile_prepend() {
^ 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: use setup-defconfig Arago Project git
-- strict thread matches above, loose matches on Subject: below --
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.