[PATCH] Series-to: u-boot Cover-letter: Fix Typo error in Makefile

Sicris sicris.embay at gmail.com
Wed Apr 8 17:39:15 CEST 2020


This patch fixes the typo error in Makefile where
-I$(srctree)/arch/$(ARCH)/thumb1/include is not picked up
in the compiler flag when compiling for thumb2.
END

Signed-off-by: Sicris <sicris.embay at gmail.com>
---

 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 8de5ff6d94..503b30392d 100644
--- a/Makefile
+++ b/Makefile
@@ -704,7 +704,7 @@ UBOOTINCLUDE    := \
 		-Iinclude \
 		$(if $(KBUILD_SRC), -I$(srctree)/include) \
 		$(if $(CONFIG_$(SPL_)SYS_THUMB_BUILD), \
-			$(if $(CONFIG_HAS_THUMB2),, \
+			$(if $(CONFIG_HAS_THUMB2), \
 				-I$(srctree)/arch/$(ARCH)/thumb1/include),) \
 		-I$(srctree)/arch/$(ARCH)/include \
 		-include $(srctree)/include/linux/kconfig.h
-- 
2.17.1



More information about the U-Boot mailing list