SRC_URI_append_simpad = "${@get_kernel_ver_specific_patch(bb, d)}" #Decide between simpad 2.4 and simpad 2.6 because 2.6 has no devfs python get_kernel_ver_specific_patch () { if bb.data.getVar('MACHINE_KERNEL_VERSION',d,1) == 2.4 return file://devfs.patch;patch=1 elif bb.data.getVar('MACHINE_KERNEL_VERSION',d,1) == 2.6 return file://devfs.patch;patch=0 }