From d8cb00a283392b51bb34919e2366ba93762436ae Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Wed, 23 Feb 2022 13:41:08 +0100 Subject: [PATCH] Makefile: unexport 'DEVICE_TREE' environment variable U-Boot looks for the environment variable DEVICE_TREE and uses its value if set instead of the CONFIG_DEFAULT_DEVICE_TREE configuration option since v2021.01, more specifically commit c0f1ebe9c1b9745e (binman: Allow selecting default FIT configuration) - So unexport it like we do for other "troublesome" environment variables to ensure consistent behaviour. Reported-by: Neal Frager Signed-off-by: Peter Korsgaard Signed-off-by: Yann E. MORIN (cherry picked from commit d3910057c6ae38e2cf72e8c86cd84756fffba2ac) Signed-off-by: Peter Korsgaard --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 49551aacc7..09bf835b05 100644 --- a/Makefile +++ b/Makefile @@ -426,6 +426,7 @@ unexport O unexport GCC_COLORS unexport PLATFORM unexport OS +unexport DEVICE_TREE GNU_HOST_NAME := $(shell support/gnuconfig/config.guess)