summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/kernel-yocto.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/kernel-yocto.bbclass b/meta/classes/kernel-yocto.bbclass
index 092afe251d..a35c5923df 100644
--- a/meta/classes/kernel-yocto.bbclass
+++ b/meta/classes/kernel-yocto.bbclass
@@ -241,7 +241,7 @@ do_kernel_metadata() {
241 for feature in ${KERNEL_FEATURES}; do 241 for feature in ${KERNEL_FEATURES}; do
242 feature_found=f 242 feature_found=f
243 for d in $includes; do 243 for d in $includes; do
244 path_to_check=$(echo $d | sed 's/-I//g') 244 path_to_check=$(echo $d | sed 's/^-I//')
245 if [ "$feature_found" = "f" ] && [ -e "$path_to_check/$feature" ]; then 245 if [ "$feature_found" = "f" ] && [ -e "$path_to_check/$feature" ]; then
246 feature_found=t 246 feature_found=t
247 fi 247 fi