Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

linux: set DTC_FLAGS as environment variable instead of make argument #5133

Merged
merged 1 commit into from
Feb 13, 2021

Conversation

HiassofT
Copy link
Member

Setting DTC_FLAGS as a make argument overrides the additional dtc flags
which are added in kernel's scripts/Makefile.lib.

This results in lots of noisy warnings when building RPi DT and overlays
and could be potentially problematic if kbuild adds important dtc flags.

Pass in DTC_FLAGS as an environment variable so that kbuild can
adjust DTC_FLAGS as needed.

@jernejsk I did an AW A64 kernel build and fdtdump showed that symbols were present in dtbs but doing a runtime test probably wouldn't hurt

Setting DTC_FLAGS as a make argument overrides the additional dtc flags
which are added in kernel's scripts/Makefile.lib.

This results in lots of noisy warnings when building RPi DT and overlays
and could be potentially problematic if kbuild adds important dtc flags.

Pass in DTC_FLAGS as an environment variable so that kbuild can
adjust DTC_FLAGS as needed.

Signed-off-by: Matthias Reichl <hias@horus.com>
Copy link
Member

@lrusak lrusak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems sane

@CvH CvH merged commit bb87f89 into LibreELEC:master Feb 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants