Files
linux/scripts
Daniel Mentz 042dd43a1b Revert "FROMLIST: kbuild: Add dtc flag test"
This reverts commit 47b5470fd1.

The variable DTC_FLAGS is a recursively expanded makefile variable which
means that it is re-expanded every time it is referenced. In other
words, a try-run is performed every time this variable is referenced
which is wasteful because the result will always be the same.  In
addition, if dtc is invoked with $(call if_changed_dep,dtc,dtb),
DTC_FLAGS is apparently expanded three times. As a result, we observe 3
try-runs per dtc-option of which there are 8. This means that every
compilation of a device tree file is preceded by 24 try-runs! Every
invocation of dtc turns into 25 invocations!  Additionally, it appears
as if Make prohibits parallelization if a recipe contains a reference to
the $(shell ....) function.

Bug: 198176779
Change-Id: Iae1a1d2266563727f1a7b67660c7b8fa7e1c7247
Signed-off-by: Daniel Mentz <danielmentz@google.com>
(cherry picked from commit e4f264787c)
2021-09-17 21:14:25 +00:00
..
2021-05-20 15:35:25 +02:00
2017-03-28 16:16:52 +02:00
2021-05-20 15:35:25 +02:00
2021-05-22 11:40:55 +02:00
2021-05-22 11:40:55 +02:00
2021-05-22 11:40:55 +02:00
2021-05-22 11:40:55 +02:00