diff options
Diffstat (limited to 'meta/classes/kernel-yocto.bbclass')
-rw-r--r-- | meta/classes/kernel-yocto.bbclass | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/meta/classes/kernel-yocto.bbclass b/meta/classes/kernel-yocto.bbclass index c8ed1e9108..1d447951c4 100644 --- a/meta/classes/kernel-yocto.bbclass +++ b/meta/classes/kernel-yocto.bbclass | |||
@@ -143,8 +143,11 @@ do_kernel_metadata() { | |||
143 | 143 | ||
144 | # expand kernel features into their full path equivalents | 144 | # expand kernel features into their full path equivalents |
145 | bsp_definition=$(spp ${includes} --find -DKMACHINE=${KMACHINE} -DKTYPE=${LINUX_KERNEL_TYPE}) | 145 | bsp_definition=$(spp ${includes} --find -DKMACHINE=${KMACHINE} -DKTYPE=${LINUX_KERNEL_TYPE}) |
146 | if [ $? -ne 0 ] || [ -z "${bsp_definition}" ]; then | 146 | if [ -z "$bsp_definition" ]; then |
147 | bbfatal_log "Could not locate BSP definiton for ${KMACHINE}/${LINUX_KERNEL_TYPE}." | 147 | echo "$sccs" | grep -q defconfig |
148 | if [ $? -ne 0 ]; then | ||
149 | bberror "Could not locate BSP definition for ${KMACHINE}/${LINUX_KERNEL_TYPE} and no defconfig was provided" | ||
150 | fi | ||
148 | fi | 151 | fi |
149 | meta_dir=$(kgit --meta) | 152 | meta_dir=$(kgit --meta) |
150 | 153 | ||