diff options
-rw-r--r-- | recipes-kernel/linux/linux-raspberrypi.inc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-raspberrypi.inc b/recipes-kernel/linux/linux-raspberrypi.inc index ea47b56..2fd13e9 100644 --- a/recipes-kernel/linux/linux-raspberrypi.inc +++ b/recipes-kernel/linux/linux-raspberrypi.inc | |||
@@ -35,3 +35,10 @@ KERNEL_MODULE_AUTOLOAD += "${@bb.utils.contains("MACHINE_FEATURES", "pitft28r", | |||
35 | # set by default in rpi-4.8.y and later branches so we need to provide it | 35 | # set by default in rpi-4.8.y and later branches so we need to provide it |
36 | # manually. This value unused if KERNEL_IMAGETYPE is not uImage. | 36 | # manually. This value unused if KERNEL_IMAGETYPE is not uImage. |
37 | KERNEL_EXTRA_ARGS += "LOADADDR=0x00008000" | 37 | KERNEL_EXTRA_ARGS += "LOADADDR=0x00008000" |
38 | |||
39 | do_compile_append() { | ||
40 | if [ "${SITEINFO_BITS}" = "64" ]; then | ||
41 | cc_extra=$(get_cc_option) | ||
42 | oe_runmake dtbs CC="${KERNEL_CC} $cc_extra " LD="${KERNEL_LD}" ${KERNEL_EXTRA_ARGS} | ||
43 | fi | ||
44 | } | ||