diff options
author | Simon Glass | 2023-02-01 13:19:46 -0700 |
---|---|---|
committer | Tom Rini | 2023-02-07 14:33:48 -0500 |
commit | efabbe60d2391773eefd6ff900fc840e30339960 (patch) | |
tree | 62dd8736ed2fd653d40e66a031b0cda014ed112b | |
parent | cdcc9bc1874231c446234f11038fda4ef7dfc63d (diff) |
imx: Rename CONFIG_MXS to CFG_MXS
This is not a Kconfig option so we should not be setting it in the
Makefile. Rename it to use a CFS_ prefix, since this is still used in
mxsimage.c
In general tools should support all the features without reference to
CONFIG options, but this is left to the maintainer to look at.
Signed-off-by: Simon Glass <sjg@chromium.org>
-rw-r--r-- | tools/Makefile | 4 | ||||
-rw-r--r-- | tools/mxsimage.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tools/Makefile b/tools/Makefile index edfa40903d9..2ee43dff542 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -158,9 +158,9 @@ fit_check_sign-objs := $(dumpimage-mkimage-objs) fit_check_sign.o file2include-objs := file2include.o ifneq ($(CONFIG_MX23)$(CONFIG_MX28)$(CONFIG_TOOLS_LIBCRYPTO),) -# Add CONFIG_MXS into host CFLAGS, so we can check whether or not register +# Add CFG_MXS into host CFLAGS, so we can check whether or not register # the mxsimage support within tools/mxsimage.c . -HOSTCFLAGS_mxsimage.o += -DCONFIG_MXS +HOSTCFLAGS_mxsimage.o += -DCFG_MXS endif ifdef CONFIG_TOOLS_LIBCRYPTO diff --git a/tools/mxsimage.c b/tools/mxsimage.c index fee022aab46..fbe46c47fae 100644 --- a/tools/mxsimage.c +++ b/tools/mxsimage.c @@ -5,7 +5,7 @@ * Copyright (C) 2012-2013 Marek Vasut <marex@denx.de> */ -#ifdef CONFIG_MXS +#ifdef CFG_MXS #include <errno.h> #include <fcntl.h> |