mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 21:56:42 +00:00
linux: set DTC_FLAGS as environment variable instead of make argument
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>
This commit is contained in:
parent
bb390f98b9
commit
8be2648cd7
@ -190,7 +190,7 @@ make_target() {
|
||||
KERNEL_TARGET="${KERNEL_TARGET/uImage/Image}"
|
||||
fi
|
||||
|
||||
kernel_make DTC_FLAGS=-@ ${KERNEL_TARGET} ${KERNEL_MAKE_EXTRACMD} modules
|
||||
DTC_FLAGS=-@ kernel_make ${KERNEL_TARGET} ${KERNEL_MAKE_EXTRACMD} modules
|
||||
|
||||
if [ "${PKG_BUILD_PERF}" = "yes" ]; then
|
||||
( cd tools/perf
|
||||
|
Loading…
x
Reference in New Issue
Block a user