summaryrefslogtreecommitdiff
path: root/meta/recipes-kernel/linux
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@windriver.com>2011-05-07 00:08:30 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-05-10 09:51:55 +0100
commitadf9f92e2f8f6cc3deba72a194ded85e160ad9e3 (patch)
tree6a2f81b795610939ade7af4ae1b6ad531845b706 /meta/recipes-kernel/linux
parent9187ac0173f26c6a621229ff588f495e9967e665 (diff)
downloadopenembedded-core-adf9f92e2f8f6cc3deba72a194ded85e160ad9e3.tar.gz
openembedded-core-adf9f92e2f8f6cc3deba72a194ded85e160ad9e3.tar.bz2
openembedded-core-adf9f92e2f8f6cc3deba72a194ded85e160ad9e3.zip
linux-yocto: error if meta data not present
There are valid reasons to build repositories without meta data present and there are times when this is an error. This change adds sanity tests to the build process to detect missing meta data and throw an informative error message. Sanity checking is only triggered from recipes (linux-yocto) that always require meta data to be present. Other recipes are not impacted and can auto-generate meta data as required. Without this change the build process suceeds, but incorrect meta data will be used (with no user knowledge), which is not the desired behaviour. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'meta/recipes-kernel/linux')
-rw-r--r--meta/recipes-kernel/linux/linux-yocto_git.bb4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-kernel/linux/linux-yocto_git.bb b/meta/recipes-kernel/linux/linux-yocto_git.bb
index d4f2ecee63..f54033d57f 100644
--- a/meta/recipes-kernel/linux/linux-yocto_git.bb
+++ b/meta/recipes-kernel/linux/linux-yocto_git.bb
@@ -22,7 +22,7 @@ SRCREV_machine_qemux86-64 = "b906f358fd404a1e74a961f25079274e0d933ee1"
SRCREV_machine = "b906f358fd404a1e74a961f25079274e0d933ee1"
SRCREV_meta = "ecab1e2bc12a8b0c4d064a00acc3260f6e8528c5"
-PR = "r17"
+PR = "r18"
PV = "${LINUX_VERSION}+git${SRCPV}"
SRCREV_FORMAT = "meta_machine"
@@ -36,6 +36,8 @@ KERNEL_FEATURES="features/netfilter"
KERNEL_FEATURES_append_qemux86=" cfg/sound"
KERNEL_FEATURES_append_qemux86-64=" cfg/sound"
+YOCTO_KERNEL_META_DATA=t
+
# extra tasks
addtask kernel_link_vmlinux after do_compile before do_install
addtask validate_branches before do_patch after do_kernel_checkout