summaryrefslogtreecommitdiffstats
path: root/meta/classes/kernel-devicetree.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/kernel-devicetree.bbclass')
-rw-r--r--meta/classes/kernel-devicetree.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/kernel-devicetree.bbclass b/meta/classes/kernel-devicetree.bbclass
index 9866d844ab..4f80cc62eb 100644
--- a/meta/classes/kernel-devicetree.bbclass
+++ b/meta/classes/kernel-devicetree.bbclass
@@ -13,8 +13,8 @@ normalize_dtb () {
13 DTB="$1" 13 DTB="$1"
14 if echo ${DTB} | grep -q '/dts/'; then 14 if echo ${DTB} | grep -q '/dts/'; then
15 bbwarn "${DTB} contains the full path to the the dts file, but only the dtb name should be used." 15 bbwarn "${DTB} contains the full path to the the dts file, but only the dtb name should be used."
16 DTB=`basename ${DTB} | sed 's,\.dts$,.dtb,g'`
16 fi 17 fi
17 DTB=`basename ${DTB} | sed 's,\.dts$,.dtb,g'`
18 echo "${DTB}" 18 echo "${DTB}"
19} 19}
20 20