Skip to contentSkip to conversation

multi-kernel: update to work with latest code

PATCH New Denys Dmytriyenko 1 participant 1 message Jan 8, 2015

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 multi-kernel: update to work with latest code

From: Denys Dmytriyenko <[email protected]>

Handle multi-config kernel builds with separate namespaces to allow installing them side by side safely.

---
v2 - implement namespace separation and fix smaller naming issues

 .../linux/linux-ti-staging-3.14/configs/systest    |   1 +
 recipes-kernel/linux/linux-ti-staging_3.14.bb      |  13 +-
 recipes-kernel/linux/multi-kernel.inc              | 137 ++++++++++-----------
 3 files changed, 76 insertions(+), 75 deletions(-)
 create mode 100644 recipes-kernel/linux/linux-ti-staging-3.14/configs/systest
recipes-kernel/linux/linux-ti-staging-3.14/configs/systest new file +1 -0
new file mode 100644
index 0000000..cfe4f99
@@ -0,0 +1 @@
+use-combined-config=ti_config_fragments/system_test_defconfig_fragment
recipes-kernel/linux/linux-ti-staging_3.14.bb +8 -5
index 2e89ace..6c0a352 100644
@@ -7,6 +7,7 @@ inherit kernel
 
 require recipes-kernel/linux/linux-dtb.inc
 require recipes-kernel/linux/setup-defconfig.inc
+require recipes-kernel/linux/multi-kernel.inc
 
 # Look in the generic major.minor directory for files
 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-3.14:"
@@ -44,11 +45,11 @@ S = "${WORKDIR}/git"
 
 BRANCH = "ti-linux-3.14.y"
 
-SRCREV = "4311f726041145161621593e5d67f106913c0f28"
+SRCREV = "6b7737373fad112d416781e83841732d33b0d1bd"
 PV = "3.14.26"
 
 # 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}"
 PR = "${MACHINE_KERNEL_PR}"
 
 KERNEL_CONFIG_DIR = "${S}/ti_config_fragments"
@@ -56,8 +57,10 @@ KERNEL_CONFIG_DIR = "${S}/ti_config_fragments"
 KERNEL_CONFIG_FRAGMENTS_append_ti33x = " ${KERNEL_CONFIG_DIR}/am33xx_only.cfg"
 KERNEL_CONFIG_FRAGMENTS_append_ti43x = " ${KERNEL_CONFIG_DIR}/am43xx_only.cfg"
 
+MULTI_CONFIG_BASE_SUFFIX = ""
+
 KERNEL_GIT_URI = "git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git"
 KERNEL_GIT_PROTOCOL = "git"
-SRC_URI = "${KERNEL_GIT_URI};protocol=${KERNEL_GIT_PROTOCOL};branch=${BRANCH} \
-           file://defconfig \
-          "
+SRC_URI += "${KERNEL_GIT_URI};protocol=${KERNEL_GIT_PROTOCOL};branch=${BRANCH} \
+            file://defconfig \
+           "
recipes-kernel/linux/multi-kernel.inc +67 -70

180 lines not on this page · raw message

Signature · 1 line
2.2.0