diff options
author | Ovidiu Panait <ovidiu.panait@windriver.com> | 2020-12-21 15:10:39 +0200 |
---|---|---|
committer | Andrei Gherzan <andrei@gherzan.com> | 2020-12-24 17:52:49 +0000 |
commit | a7cc636d4ef0ed7ddabf5785463dbb5c79633b1e (patch) | |
tree | de88dc3d45cee91a15c916b07e02511d8e10ae03 | |
parent | 3e2a8534a6f00d66860a9fab4c59b3117ebda43a (diff) | |
download | meta-raspberrypi-a7cc636d4ef0ed7ddabf5785463dbb5c79633b1e.tar.gz |
linux-raspberry: Drop 64-bit specific do_compile_append()
The functionality provided by this compile append is already present in
kernel-devicetree.bbclass since oe-core commit:
https://github.com/openembedded/openembedded-core/commit/74619de02774
The md5sums of the generated dtbs for raspberrypi3-64 and raspberrypi4-64 do
not change with this patch applied.
Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
-rw-r--r-- | recipes-kernel/linux/linux-raspberrypi.inc | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/recipes-kernel/linux/linux-raspberrypi.inc b/recipes-kernel/linux/linux-raspberrypi.inc index 746c0c5..db1dbdb 100644 --- a/recipes-kernel/linux/linux-raspberrypi.inc +++ b/recipes-kernel/linux/linux-raspberrypi.inc | |||
@@ -34,10 +34,3 @@ KERNEL_MODULE_AUTOLOAD += "${@bb.utils.contains("MACHINE_FEATURES", "pitft28r", | |||
34 | # set by default in rpi-4.8.y and later branches so we need to provide it | 34 | # set by default in rpi-4.8.y and later branches so we need to provide it |
35 | # manually. This value unused if KERNEL_IMAGETYPE is not uImage. | 35 | # manually. This value unused if KERNEL_IMAGETYPE is not uImage. |
36 | KERNEL_EXTRA_ARGS += "LOADADDR=0x00008000" | 36 | KERNEL_EXTRA_ARGS += "LOADADDR=0x00008000" |
37 | |||
38 | do_compile_append() { | ||
39 | if [ "${SITEINFO_BITS}" = "64" ]; then | ||
40 | cc_extra=$(get_cc_option) | ||
41 | oe_runmake dtbs CC="${KERNEL_CC} $cc_extra " LD="${KERNEL_LD}" ${KERNEL_EXTRA_ARGS} | ||
42 | fi | ||
43 | } | ||