Commit dbd6d4ac authored by Alexander Vickberg's avatar Alexander Vickberg Committed by Stefano Babic
Browse files

Use find_cfgs() helper from cml1.bbclass

Since Yocto commit 329665d cml1.bbclass now contains the function
find_cfgs(). This bbclass is already inherited.
Signed-off-by: default avatarAlexander Vickberg <>
Reviewed-by: Stefano Babic's avatarStefano Babic <>
parent 7c1fecc7
......@@ -75,10 +75,6 @@ EXTRA_OEMAKE += " O=${B} HOSTCC="${BUILD_CC}" HOSTCXX="${BUILD_CXX}" LD="${CC}"
DEPENDS += "kern-tools-native"
# returns all the elements from the src uri that are .cfg files
def find_cfgs(d):
return [s for s in src_patches(d, True) if s.endswith('.cfg')]
python () {
import re
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment