All pastes #607331 Raw Edit

Stuff

public text v1 · immutable
·published 2007-07-07 14:51 UTC
rendered paste body
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
}