diff options
Diffstat (limited to 'meta/classes/insane.bbclass')
-rw-r--r-- | meta/classes/insane.bbclass | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass index 53942365ab..09d9fc1508 100644 --- a/meta/classes/insane.bbclass +++ b/meta/classes/insane.bbclass | |||
@@ -1047,6 +1047,19 @@ python () { | |||
1047 | # Check various variables | 1047 | # Check various variables |
1048 | ########################################################################### | 1048 | ########################################################################### |
1049 | 1049 | ||
1050 | # Checking ${FILESEXTRAPATHS} | ||
1051 | extrapaths = (d.getVar("FILESEXTRAPATHS", True) or "") | ||
1052 | if '__default' not in extrapaths.split(":"): | ||
1053 | msg = "FILESEXTRAPATHS-variable, must always use _prepend (or _append)\n" | ||
1054 | msg += "type of assignment, and don't forget the colon.\n" | ||
1055 | msg += "Please assign it with the format of:\n" | ||
1056 | msg += " FILESEXTRAPATHS_append := \":${THISDIR}/Your_Files_Path\" or\n" | ||
1057 | msg += " FILESEXTRAPATHS_prepend := \"${THISDIR}/Your_Files_Path:\"\n" | ||
1058 | msg += "in your bbappend file\n\n" | ||
1059 | msg += "Your incorrect assignment is:\n" | ||
1060 | msg += "%s\n" % extrapaths | ||
1061 | bb.fatal(msg) | ||
1062 | |||
1050 | if d.getVar('do_stage', True) is not None: | 1063 | if d.getVar('do_stage', True) is not None: |
1051 | bb.fatal("Legacy staging found for %s as it has a do_stage function. This will need conversion to a do_install or often simply removal to work with OE-core" % d.getVar("FILE", True)) | 1064 | bb.fatal("Legacy staging found for %s as it has a do_stage function. This will need conversion to a do_install or often simply removal to work with OE-core" % d.getVar("FILE", True)) |
1052 | 1065 | ||