diff options
| author | Ovidiu Panait <ovidiu.panait@windriver.com> | 2021-01-25 17:21:04 +0200 |
|---|---|---|
| committer | Andrei Gherzan <andrei@gherzan.com> | 2021-01-26 13:02:59 +0000 |
| commit | f24de447904e98fb0a4e524631b246e331dc95d9 (patch) | |
| tree | 2f1683ddb7fcb6dd50970bff7780dc1a43067c59 /recipes-devtools/python/python3-rtimu/0001-include-asm-ioctl.h-for-ioctl-define.patch | |
| parent | 56ab9265570892d1357dd29cb92c04d4a0ce6d75 (diff) | |
| download | meta-raspberrypi-f24de447904e98fb0a4e524631b246e331dc95d9.tar.gz | |
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>
Diffstat (limited to 'recipes-devtools/python/python3-rtimu/0001-include-asm-ioctl.h-for-ioctl-define.patch')
0 files changed, 0 insertions, 0 deletions
