diff options
Diffstat (limited to 'recipes-kernel')
| -rw-r--r-- | recipes-kernel/linux/linux-raspberrypi.inc | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/recipes-kernel/linux/linux-raspberrypi.inc b/recipes-kernel/linux/linux-raspberrypi.inc index b348a9d..8aa9577 100644 --- a/recipes-kernel/linux/linux-raspberrypi.inc +++ b/recipes-kernel/linux/linux-raspberrypi.inc | |||
| @@ -30,14 +30,6 @@ UDEV_GE_141 ?= "1" | |||
| 30 | 30 | ||
| 31 | KERNEL_MODULE_AUTOLOAD += "${@bb.utils.contains("MACHINE_FEATURES", "pitft28r", "stmpe-ts", "", d)}" | 31 | KERNEL_MODULE_AUTOLOAD += "${@bb.utils.contains("MACHINE_FEATURES", "pitft28r", "stmpe-ts", "", d)}" |
| 32 | 32 | ||
| 33 | # Set programmatically some variables during recipe parsing | ||
| 34 | # See http://www.yoctoproject.org/docs/current/bitbake-user-manual/bitbake-user-manual.html#anonymous-python-functions | ||
| 35 | python __anonymous () { | ||
| 36 | kerneltype = d.getVar('KERNEL_IMAGETYPE') | ||
| 37 | kerneldt = get_dts(d, d.getVar('LINUX_VERSION')) | ||
| 38 | d.setVar("KERNEL_DEVICETREE", kerneldt) | ||
| 39 | } | ||
| 40 | |||
| 41 | do_compile_append_raspberrypi3-64() { | 33 | do_compile_append_raspberrypi3-64() { |
| 42 | cc_extra=$(get_cc_option) | 34 | cc_extra=$(get_cc_option) |
| 43 | oe_runmake dtbs CC="${KERNEL_CC} $cc_extra " LD="${KERNEL_LD}" ${KERNEL_EXTRA_ARGS} | 35 | oe_runmake dtbs CC="${KERNEL_CC} $cc_extra " LD="${KERNEL_LD}" ${KERNEL_EXTRA_ARGS} |
