meta-raspberrypi/recipes-kernel
Ovidiu Panait f24de44790 linux-raspberrypi: pass dtc flags via KERNEL_DTC_FLAGS
Currently, the do_compile log is cluttered with dtc warnings that should only
be printed when compiling with W="123":
...
/soc: node has a reg or ranges property, but no unit name
/soc/gpu: missing or empty reg/ranges property
/soc/firmware/gpio: missing or empty reg/ranges property
...

This happens because we pass dtc flags via KERNEL_EXTRA_ARGS directly on the
make command line, preventing scripts/Makefile.lib logic from appending flags
that silence dtc warnings (all assignments done from within a makefile, to a
variable specified on the command line, are ignored).

oe-core commit [1] introduced the dedicated KERNEL_DTC_FLAGS variable to pass
dtc flags via the environment. Use this variable to get rid of the do_compile
log noise.

The md5sums of the generated dtbs for raspberrypi3-64 and raspberrypi4-64 do
not change with this patch applied.

[1] https://github.com/openembedded/openembedded-core/commit/063b5de86624

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
2021-01-26 13:02:59 +00:00
..
bluez-firmware-rpidistro bluez-firmware-rpidistro: update bluez-firmware 2019-02-12 12:37:09 +00:00
linux linux-raspberrypi: pass dtc flags via KERNEL_DTC_FLAGS 2021-01-26 13:02:59 +00:00
linux-firmware-rpidistro linux-firmware-rpidistro: Added firmware for BCM43456 2020-12-09 00:17:10 +00:00