]> git.baikalelectronics.ru Git - arm-tf.git/commitdiff
Tegra: disable signed comparison
authorVarun Wadekar <vwadekar@nvidia.com>
Mon, 24 Aug 2020 23:57:03 +0000 (16:57 -0700)
committerVarun Wadekar <vwadekar@nvidia.com>
Tue, 25 Aug 2020 00:00:13 +0000 (17:00 -0700)
libfdt does not support the -Wsign-compare compiler option
and the right patch will eventually be pushed upstream.

This patch disables the -Wsign-compare compiler option
to allow libfdt compilation for Tegra platforms until
the actual issue is fixed.

Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Change-Id: Ib7a93946cad1ea9ec1b46751edb79a74c08ed0ac

plat/nvidia/tegra/platform.mk

index a4724e64b3471815c5c2497c150e392c6b0787d2..6beaa05de5e80632d914c295595084a37b6fabe8 100644 (file)
@@ -65,7 +65,7 @@ $(eval $(call add_define,RELOCATE_BL32_IMAGE))
 BUILD_PLAT     :=      $(abspath ${BUILD_BASE})/${PLAT}/${TARGET_SOC}/${BUILD_TYPE}
 
 # platform cflags (enable signed comparisons, disable stdlib)
-TF_CFLAGS      += -Wsign-compare -nostdlib
+TF_CFLAGS      += -nostdlib
 
 # override with necessary libc files for the Tegra platform
 override LIBC_SRCS :=  $(addprefix lib/libc/,          \