diff options
author | Bruce Ashfield <bruce.ashfield@windriver.com> | 2015-07-21 11:21:04 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-07-25 14:41:44 +0100 |
commit | c29aac6a8b5b417ad46f3cdf9c1a2d61c4f6cdd5 (patch) | |
tree | 58976b68efd8acddecc7fc7b8975ed25f3294fd3 /meta/recipes-kernel | |
parent | 741a44c06b1e53b641f2a5c48985a81e3c1e27cf (diff) | |
download | poky-c29aac6a8b5b417ad46f3cdf9c1a2d61c4f6cdd5.tar.gz |
linux-yocto: split meta data from kernel repository
The linux-yocto tree has always been a combined set of kernel changes
and configuration (meta) data carried in a single tree. While this
format is effective at keeping kernel configuration and source
modifications synchronized, it isn't always obvious to developers on
how to manipulate the meta data versus the source.
With this change, we remove the meta data processing from the
kernel-yocto class and use the external meta-data repository that
has always been used to seed the linux-yocto meta branch.
After this change, linux-yocto can no longer process combined trees,
and is simplified as a result.
(From OE-Core rev: 523e4f6a6913b64453579d27a02467e14f7df42e)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel')
-rw-r--r-- | meta/recipes-kernel/linux/linux-yocto-dev.bb | 5 | ||||
-rw-r--r-- | meta/recipes-kernel/linux/linux-yocto-rt_3.14.bb | 7 | ||||
-rw-r--r-- | meta/recipes-kernel/linux/linux-yocto-tiny_3.14.bb | 7 | ||||
-rw-r--r-- | meta/recipes-kernel/linux/linux-yocto-tiny_3.19.bb | 7 | ||||
-rw-r--r-- | meta/recipes-kernel/linux/linux-yocto_3.14.bb | 7 | ||||
-rw-r--r-- | meta/recipes-kernel/linux/linux-yocto_3.19.bb | 7 |
6 files changed, 23 insertions, 17 deletions
diff --git a/meta/recipes-kernel/linux/linux-yocto-dev.bb b/meta/recipes-kernel/linux/linux-yocto-dev.bb index 588a89f641..0be30893ac 100644 --- a/meta/recipes-kernel/linux/linux-yocto-dev.bb +++ b/meta/recipes-kernel/linux/linux-yocto-dev.bb | |||
@@ -23,9 +23,10 @@ python () { | |||
23 | } | 23 | } |
24 | 24 | ||
25 | KBRANCH = "standard/base" | 25 | KBRANCH = "standard/base" |
26 | KMETA = "meta" | 26 | KMETA = "kernel-meta" |
27 | 27 | ||
28 | SRC_URI = "git://git.yoctoproject.org/linux-yocto-dev.git;bareclone=1;branch=${KBRANCH},${KMETA};name=machine,meta" | 28 | SRC_URI = "git://git.yoctoproject.org/linux-yocto-dev.git;branch=${KBRANCH};name=machine \ |
29 | git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=master;destsuffix=${KMETA}" | ||
29 | 30 | ||
30 | # Set default SRCREVs. Both the machine and meta SRCREVs are statically set | 31 | # Set default SRCREVs. Both the machine and meta SRCREVs are statically set |
31 | # to the korg v3.7 tag, and hence prevent network access during parsing. If | 32 | # to the korg v3.7 tag, and hence prevent network access during parsing. If |
diff --git a/meta/recipes-kernel/linux/linux-yocto-rt_3.14.bb b/meta/recipes-kernel/linux/linux-yocto-rt_3.14.bb index 9bdbc49ffe..0bd94f0c60 100644 --- a/meta/recipes-kernel/linux/linux-yocto-rt_3.14.bb +++ b/meta/recipes-kernel/linux/linux-yocto-rt_3.14.bb | |||
@@ -5,15 +5,16 @@ require recipes-kernel/linux/linux-yocto.inc | |||
5 | 5 | ||
6 | SRCREV_machine ?= "863ba0912f559ba9d64ab94bf04f0226fdf0cb49" | 6 | SRCREV_machine ?= "863ba0912f559ba9d64ab94bf04f0226fdf0cb49" |
7 | SRCREV_machine_qemuppc ?= "9d464d6696a0fc755c65a2cf75ad7a4656ac6e1e" | 7 | SRCREV_machine_qemuppc ?= "9d464d6696a0fc755c65a2cf75ad7a4656ac6e1e" |
8 | SRCREV_meta ?= "94fa1d7e980c97fcd59b37daedcd863bd6daaee4" | 8 | SRCREV_meta ?= "b55cfc0308bf7158843db4b8f69f866487a0919e" |
9 | 9 | ||
10 | SRC_URI = "git://git.yoctoproject.org/linux-yocto-3.14.git;bareclone=1;branch=${KBRANCH},meta;name=machine,meta" | 10 | SRC_URI = "git://git.yoctoproject.org/linux-yocto-3.14.git;branch=${KBRANCH};name=machine \ |
11 | git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-3.14;destsuffix=${KMETA}" | ||
11 | 12 | ||
12 | LINUX_VERSION ?= "3.14.36" | 13 | LINUX_VERSION ?= "3.14.36" |
13 | 14 | ||
14 | PV = "${LINUX_VERSION}+git${SRCPV}" | 15 | PV = "${LINUX_VERSION}+git${SRCPV}" |
15 | 16 | ||
16 | KMETA = "meta" | 17 | KMETA = "kernel-meta" |
17 | KCONF_BSP_AUDIT_LEVEL = "2" | 18 | KCONF_BSP_AUDIT_LEVEL = "2" |
18 | 19 | ||
19 | LINUX_KERNEL_TYPE = "preempt-rt" | 20 | LINUX_KERNEL_TYPE = "preempt-rt" |
diff --git a/meta/recipes-kernel/linux/linux-yocto-tiny_3.14.bb b/meta/recipes-kernel/linux/linux-yocto-tiny_3.14.bb index bd7b6da28c..f486d41efa 100644 --- a/meta/recipes-kernel/linux/linux-yocto-tiny_3.14.bb +++ b/meta/recipes-kernel/linux/linux-yocto-tiny_3.14.bb | |||
@@ -6,15 +6,16 @@ require recipes-kernel/linux/linux-yocto.inc | |||
6 | 6 | ||
7 | LINUX_VERSION ?= "3.14.36" | 7 | LINUX_VERSION ?= "3.14.36" |
8 | 8 | ||
9 | KMETA = "meta" | 9 | KMETA = "kernel-meta" |
10 | KCONF_BSP_AUDIT_LEVEL = "2" | 10 | KCONF_BSP_AUDIT_LEVEL = "2" |
11 | 11 | ||
12 | SRCREV_machine ?= "7534aeb01883b48cc42eb4900d0a8c64e8160e14" | 12 | SRCREV_machine ?= "7534aeb01883b48cc42eb4900d0a8c64e8160e14" |
13 | SRCREV_meta ?= "94fa1d7e980c97fcd59b37daedcd863bd6daaee4" | 13 | SRCREV_meta ?= "b55cfc0308bf7158843db4b8f69f866487a0919e" |
14 | 14 | ||
15 | PV = "${LINUX_VERSION}+git${SRCPV}" | 15 | PV = "${LINUX_VERSION}+git${SRCPV}" |
16 | 16 | ||
17 | SRC_URI = "git://git.yoctoproject.org/linux-yocto-3.14.git;bareclone=1;branch=${KBRANCH},meta;name=machine,meta" | 17 | SRC_URI = "git://git.yoctoproject.org/linux-yocto-3.14.git;branch=${KBRANCH};name=machine; \ |
18 | git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-3.14;destsuffix=${KMETA}" | ||
18 | 19 | ||
19 | COMPATIBLE_MACHINE = "(qemux86)" | 20 | COMPATIBLE_MACHINE = "(qemux86)" |
20 | 21 | ||
diff --git a/meta/recipes-kernel/linux/linux-yocto-tiny_3.19.bb b/meta/recipes-kernel/linux/linux-yocto-tiny_3.19.bb index 172d3b4800..c82da37268 100644 --- a/meta/recipes-kernel/linux/linux-yocto-tiny_3.19.bb +++ b/meta/recipes-kernel/linux/linux-yocto-tiny_3.19.bb | |||
@@ -6,15 +6,16 @@ require recipes-kernel/linux/linux-yocto.inc | |||
6 | 6 | ||
7 | LINUX_VERSION ?= "3.19.5" | 7 | LINUX_VERSION ?= "3.19.5" |
8 | 8 | ||
9 | KMETA = "meta" | 9 | KMETA = "kernel-meta" |
10 | KCONF_BSP_AUDIT_LEVEL = "2" | 10 | KCONF_BSP_AUDIT_LEVEL = "2" |
11 | 11 | ||
12 | SRCREV_machine ?= "e152349de59b43b2a75f2c332b44171df461d5a0" | 12 | SRCREV_machine ?= "e152349de59b43b2a75f2c332b44171df461d5a0" |
13 | SRCREV_meta ?= "a70b2eb273ef6349d344920474a494697474b98e" | 13 | SRCREV_meta ?= "361c186effc0b0038dfbfd3fe71ecf3df5edb43d" |
14 | 14 | ||
15 | PV = "${LINUX_VERSION}+git${SRCPV}" | 15 | PV = "${LINUX_VERSION}+git${SRCPV}" |
16 | 16 | ||
17 | SRC_URI = "git://git.yoctoproject.org/linux-yocto-3.19.git;bareclone=1;branch=${KBRANCH},meta;name=machine,meta" | 17 | SRC_URI = "git://git.yoctoproject.org/linux-yocto-3.19.git;branch=${KBRANCH};name=machine \ |
18 | git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-3.19;destsuffix=${KMETA}" | ||
18 | 19 | ||
19 | COMPATIBLE_MACHINE = "(qemux86)" | 20 | COMPATIBLE_MACHINE = "(qemux86)" |
20 | 21 | ||
diff --git a/meta/recipes-kernel/linux/linux-yocto_3.14.bb b/meta/recipes-kernel/linux/linux-yocto_3.14.bb index 7f32c7a1b5..9bbcecc76f 100644 --- a/meta/recipes-kernel/linux/linux-yocto_3.14.bb +++ b/meta/recipes-kernel/linux/linux-yocto_3.14.bb | |||
@@ -19,15 +19,16 @@ SRCREV_machine_qemux86 ?= "48833301518748d82cbc2412fea3617eeee6d01b" | |||
19 | SRCREV_machine_qemux86-64 ?= "7534aeb01883b48cc42eb4900d0a8c64e8160e14" | 19 | SRCREV_machine_qemux86-64 ?= "7534aeb01883b48cc42eb4900d0a8c64e8160e14" |
20 | SRCREV_machine_qemumips64 ?= "c910c6d8338ab7291f066edc06de83de5b645d8f" | 20 | SRCREV_machine_qemumips64 ?= "c910c6d8338ab7291f066edc06de83de5b645d8f" |
21 | SRCREV_machine ?= "7534aeb01883b48cc42eb4900d0a8c64e8160e14" | 21 | SRCREV_machine ?= "7534aeb01883b48cc42eb4900d0a8c64e8160e14" |
22 | SRCREV_meta ?= "94fa1d7e980c97fcd59b37daedcd863bd6daaee4" | 22 | SRCREV_meta ?= "b55cfc0308bf7158843db4b8f69f866487a0919e" |
23 | 23 | ||
24 | SRC_URI = "git://git.yoctoproject.org/linux-yocto-3.14.git;bareclone=1;branch=${KBRANCH},${KMETA};name=machine,meta" | 24 | SRC_URI = "git://git.yoctoproject.org/linux-yocto-3.14.git;branch=${KBRANCH};name=machine; \ |
25 | git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-3.14;destsuffix=${KMETA}" | ||
25 | 26 | ||
26 | LINUX_VERSION ?= "3.14.36" | 27 | LINUX_VERSION ?= "3.14.36" |
27 | 28 | ||
28 | PV = "${LINUX_VERSION}+git${SRCPV}" | 29 | PV = "${LINUX_VERSION}+git${SRCPV}" |
29 | 30 | ||
30 | KMETA = "meta" | 31 | KMETA = "kernel-meta" |
31 | KCONF_BSP_AUDIT_LEVEL = "2" | 32 | KCONF_BSP_AUDIT_LEVEL = "2" |
32 | 33 | ||
33 | COMPATIBLE_MACHINE = "qemuarm|qemuarm64|qemux86|qemuppc|qemumips|qemumips64|qemux86-64" | 34 | COMPATIBLE_MACHINE = "qemuarm|qemuarm64|qemux86|qemuppc|qemumips|qemumips64|qemux86-64" |
diff --git a/meta/recipes-kernel/linux/linux-yocto_3.19.bb b/meta/recipes-kernel/linux/linux-yocto_3.19.bb index cab06266f9..364f1f60dd 100644 --- a/meta/recipes-kernel/linux/linux-yocto_3.19.bb +++ b/meta/recipes-kernel/linux/linux-yocto_3.19.bb | |||
@@ -19,15 +19,16 @@ SRCREV_machine_qemux86 ?= "e152349de59b43b2a75f2c332b44171df461d5a0" | |||
19 | SRCREV_machine_qemux86-64 ?= "e152349de59b43b2a75f2c332b44171df461d5a0" | 19 | SRCREV_machine_qemux86-64 ?= "e152349de59b43b2a75f2c332b44171df461d5a0" |
20 | SRCREV_machine_qemumips64 ?= "3eb70cea3532e22ab1b6da9864446621229e6616" | 20 | SRCREV_machine_qemumips64 ?= "3eb70cea3532e22ab1b6da9864446621229e6616" |
21 | SRCREV_machine ?= "e152349de59b43b2a75f2c332b44171df461d5a0" | 21 | SRCREV_machine ?= "e152349de59b43b2a75f2c332b44171df461d5a0" |
22 | SRCREV_meta ?= "a70b2eb273ef6349d344920474a494697474b98e" | 22 | SRCREV_meta ?= "361c186effc0b0038dfbfd3fe71ecf3df5edb43d" |
23 | 23 | ||
24 | SRC_URI = "git://git.yoctoproject.org/linux-yocto-3.19.git;bareclone=1;branch=${KBRANCH},${KMETA};name=machine,meta" | 24 | SRC_URI = "git://git.yoctoproject.org/linux-yocto-3.19.git;name=machine;branch=${KBRANCH}; \ |
25 | git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-3.19;destsuffix=${KMETA}" | ||
25 | 26 | ||
26 | LINUX_VERSION ?= "3.19.5" | 27 | LINUX_VERSION ?= "3.19.5" |
27 | 28 | ||
28 | PV = "${LINUX_VERSION}+git${SRCPV}" | 29 | PV = "${LINUX_VERSION}+git${SRCPV}" |
29 | 30 | ||
30 | KMETA = "meta" | 31 | KMETA = "kernel-meta" |
31 | KCONF_BSP_AUDIT_LEVEL = "2" | 32 | KCONF_BSP_AUDIT_LEVEL = "2" |
32 | 33 | ||
33 | COMPATIBLE_MACHINE = "qemuarm|qemuarm64|qemux86|qemuppc|qemumips|qemumips64|qemux86-64" | 34 | COMPATIBLE_MACHINE = "qemuarm|qemuarm64|qemux86|qemuppc|qemumips|qemumips64|qemux86-64" |