2020-03-10 05:01:03

by Masahiro Yamada

[permalink] [raw]
Subject: [PATCH] xtensa: remove meaningless export ccflags-y

arch/xtensa/boot/Makefile does not define ccflags-y at all.

Please do not export ccflags-y because it is meant to be effective
only in the current Makefile.

Signed-off-by: Masahiro Yamada <[email protected]>
---

arch/xtensa/boot/Makefile | 1 -
1 file changed, 1 deletion(-)

diff --git a/arch/xtensa/boot/Makefile b/arch/xtensa/boot/Makefile
index efb91bfda2b4..1a14d38d9b33 100644
--- a/arch/xtensa/boot/Makefile
+++ b/arch/xtensa/boot/Makefile
@@ -14,7 +14,6 @@ HOSTFLAGS += -Iarch/$(ARCH)/boot/include

BIG_ENDIAN := $(shell echo __XTENSA_EB__ | $(CC) -E - | grep -v "\#")

-export ccflags-y
export BIG_ENDIAN

subdir-y := lib
--
2.17.1


2020-03-10 06:36:27

by Max Filippov

[permalink] [raw]
Subject: Re: [PATCH] xtensa: remove meaningless export ccflags-y

On Mon, Mar 9, 2020 at 10:00 PM Masahiro Yamada <[email protected]> wrote:
>
> arch/xtensa/boot/Makefile does not define ccflags-y at all.
>
> Please do not export ccflags-y because it is meant to be effective
> only in the current Makefile.
>
> Signed-off-by: Masahiro Yamada <[email protected]>
> ---
>
> arch/xtensa/boot/Makefile | 1 -
> 1 file changed, 1 deletion(-)

Thanks! Applied to my xtensa tree.

-- Max