mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-06-03 09:20:43 +00:00
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>
This commit is contained in:
committed by
Denys Dmytriyenko
parent
24111d70d6
commit
aa8bdcbeff
@@ -0,0 +1 @@
|
|||||||
|
use-kernel-config=omap2plus_defconfig
|
||||||
@@ -6,6 +6,7 @@ KERNEL_IMAGETYPE = "uImage"
|
|||||||
|
|
||||||
inherit kernel
|
inherit kernel
|
||||||
require recipes-kernel/linux/linux-dtb.inc
|
require recipes-kernel/linux/linux-dtb.inc
|
||||||
|
require recipes-kernel/linux/setup-defconfig.inc
|
||||||
|
|
||||||
# Stage the power management firmware before building the kernel
|
# Stage the power management firmware before building the kernel
|
||||||
DEPENDS += "am33x-cm3"
|
DEPENDS += "am33x-cm3"
|
||||||
@@ -23,17 +24,11 @@ SRCREV = "d26595a42220789b81a9d243e2fc0837c7776360"
|
|||||||
PV = "3.8.2"
|
PV = "3.8.2"
|
||||||
|
|
||||||
# Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a rebuild
|
# 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}"
|
SRC_URI = "git://gitorious.ti.com/ti-linux-kernel/ti-linux-kernel.git;protocol=git;branch=${BRANCH} \
|
||||||
|
file://defconfig \
|
||||||
do_setup_defconfig() {
|
"
|
||||||
:
|
|
||||||
}
|
|
||||||
|
|
||||||
do_configure() {
|
|
||||||
oe_runmake omap2plus_defconfig
|
|
||||||
}
|
|
||||||
|
|
||||||
# Copy the am33x-cm3 firmware if it is available
|
# Copy the am33x-cm3 firmware if it is available
|
||||||
do_compile_prepend() {
|
do_compile_prepend() {
|
||||||
|
|||||||
Reference in New Issue
Block a user