summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/kernel-yocto.bbclass9
1 files changed, 9 insertions, 0 deletions
diff --git a/meta/classes/kernel-yocto.bbclass b/meta/classes/kernel-yocto.bbclass
index 0cbbb5f2d2..a5e2b180c4 100644
--- a/meta/classes/kernel-yocto.bbclass
+++ b/meta/classes/kernel-yocto.bbclass
@@ -281,6 +281,15 @@ python do_kernel_configcheck() {
281 with open (nonhw_file, "r") as myfile: 281 with open (nonhw_file, "r") as myfile:
282 results = myfile.read() 282 results = myfile.read()
283 bb.warn( "[kernel config]: BSP specified non-hw configuration:\n\n%s" % results) 283 bb.warn( "[kernel config]: BSP specified non-hw configuration:\n\n%s" % results)
284
285 bsp_desc = "${S}/" + kmeta + "/" + "top_tgt"
286 if os.path.exists(bsp_desc):
287 with open (bsp_desc, "r") as myfile:
288 bsp_tgt = myfile.read()
289 m = re.match("^(.*)scratch.obj(.*)$", bsp_tgt)
290 if not m is None:
291 bb.warn( "[kernel]: An auto generated BSP description was used, this normally indicates a misconfiguration.\n" +
292 "Check that your machine (%s) has an associated kernel description." % "${MACHINE}" )
284} 293}
285 294
286# Ensure that the branches (BSP and meta) are on the locations specified by 295# Ensure that the branches (BSP and meta) are on the locations specified by