diff options
-rw-r--r-- | meta/classes/kernel.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index dfbdfd24ff..5e8b6cf343 100644 --- a/meta/classes/kernel.bbclass +++ b/meta/classes/kernel.bbclass | |||
@@ -413,7 +413,7 @@ do_strip() { | |||
413 | gawk '{print $1}'` | 413 | gawk '{print $1}'` |
414 | 414 | ||
415 | for str in ${KERNEL_IMAGE_STRIP_EXTRA_SECTIONS}; do { | 415 | for str in ${KERNEL_IMAGE_STRIP_EXTRA_SECTIONS}; do { |
416 | if [ "$headers" != *"$str"* ]; then | 416 | if ! (echo "$headers" | grep -q "^$str$"); then |
417 | bbwarn "Section not found: $str"; | 417 | bbwarn "Section not found: $str"; |
418 | fi | 418 | fi |
419 | 419 | ||