diff options
| -rw-r--r-- | meta/classes-recipe/kernel-yocto.bbclass | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/classes-recipe/kernel-yocto.bbclass b/meta/classes-recipe/kernel-yocto.bbclass index 66602d3594..e73adcc725 100644 --- a/meta/classes-recipe/kernel-yocto.bbclass +++ b/meta/classes-recipe/kernel-yocto.bbclass | |||
| @@ -271,6 +271,9 @@ do_kernel_metadata() { | |||
| 271 | KERNEL_FEATURES_FINAL="" | 271 | KERNEL_FEATURES_FINAL="" |
| 272 | if [ -n "${KERNEL_FEATURES}" ]; then | 272 | if [ -n "${KERNEL_FEATURES}" ]; then |
| 273 | for feature in ${KERNEL_FEATURES}; do | 273 | for feature in ${KERNEL_FEATURES}; do |
| 274 | feature_as_specified="$feature" | ||
| 275 | feature="$(echo $feature_as_specified | cut -d: -f1)" | ||
| 276 | feature_specifier="$(echo $feature_as_specified | cut -d: -f2)" | ||
| 274 | feature_found=f | 277 | feature_found=f |
| 275 | for d in $includes; do | 278 | for d in $includes; do |
| 276 | path_to_check=$(echo $d | sed 's/^-I//') | 279 | path_to_check=$(echo $d | sed 's/^-I//') |
| @@ -288,7 +291,7 @@ do_kernel_metadata() { | |||
| 288 | bbfatal_log "Set KERNEL_DANGLING_FEATURES_WARN_ONLY to ignore this issue" | 291 | bbfatal_log "Set KERNEL_DANGLING_FEATURES_WARN_ONLY to ignore this issue" |
| 289 | fi | 292 | fi |
| 290 | else | 293 | else |
| 291 | KERNEL_FEATURES_FINAL="$KERNEL_FEATURES_FINAL $feature" | 294 | KERNEL_FEATURES_FINAL="$KERNEL_FEATURES_FINAL $feature_as_specified" |
| 292 | fi | 295 | fi |
| 293 | done | 296 | done |
| 294 | fi | 297 | fi |
