* [PATCH v3] kbuild: use -fmacro-prefix-map for .S sources
@ 2020-11-02 12:08 Denys Zagorui
2020-11-09 13:48 ` Denys Zagorui -X (dzagorui - GLOBALLOGIC INC at Cisco)
0 siblings, 1 reply; 5+ messages in thread
From: Denys Zagorui @ 2020-11-02 12:08 UTC (permalink / raw)
To: masahiroy; +Cc: michal.lkml, linux-kbuild, linux-kernel, dzagorui
Follow-up to a73619a845d5 ("kbuild: use -fmacro-prefix-map to make
__FILE__ a relative path") commit. Assembler sources also use __FILE__
macro so this flag should be also apllied to that sources.
Signed-off-by: Denys Zagorui <dzagorui@cisco.com>
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index ee2284a5cad2..81e480fc6805 100644
--- a/Makefile
+++ b/Makefile
@@ -946,7 +946,7 @@ KBUILD_CFLAGS += $(call cc-option,-Werror=incompatible-pointer-types)
KBUILD_CFLAGS += $(call cc-option,-Werror=designated-init)
# change __FILE__ to the relative path from the srctree
-KBUILD_CFLAGS += $(call cc-option,-fmacro-prefix-map=$(srctree)/=)
+KBUILD_CPPFLAGS += $(call cc-option,-fmacro-prefix-map=$(srctree)/=)
# ensure -fcf-protection is disabled when using retpoline as it is
# incompatible with -mindirect-branch=thunk-extern
--
2.19.0.dirty
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH v3] kbuild: use -fmacro-prefix-map for .S sources
2020-11-02 12:08 [PATCH v3] kbuild: use -fmacro-prefix-map for .S sources Denys Zagorui
@ 2020-11-09 13:48 ` Denys Zagorui -X (dzagorui - GLOBALLOGIC INC at Cisco)
2020-11-18 13:04 ` Denys Zagorui -X (dzagorui - GLOBALLOGIC INC at Cisco)
0 siblings, 1 reply; 5+ messages in thread
From: Denys Zagorui -X (dzagorui - GLOBALLOGIC INC at Cisco) @ 2020-11-09 13:48 UTC (permalink / raw)
To: masahiroy; +Cc: michal.lkml, linux-kbuild, linux-kernel
> Follow-up to a73619a845d5 ("kbuild: use -fmacro-prefix-map to make
> __FILE__ a relative path") commit. Assembler sources also use __FILE__
> macro so this flag should be also apllied to that sources.
>
> Signed-off-by: Denys Zagorui <dzagorui@cisco.com>
> ---
> Makefile | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Makefile b/Makefile
> index ee2284a5cad2..81e480fc6805 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -946,7 +946,7 @@ KBUILD_CFLAGS += $(call cc-option,-Werror=incompatible-pointer-types)
> KBUILD_CFLAGS += $(call cc-option,-Werror=designated-init)
>
> # change __FILE__ to the relative path from the srctree
> -KBUILD_CFLAGS += $(call cc-option,-fmacro-prefix-map=$(srctree)/=)
> +KBUILD_CPPFLAGS += $(call cc-option,-fmacro-prefix-map=$(srctree)/=)
>
> # ensure -fcf-protection is disabled when using retpoline as it is
> # incompatible with -mindirect-branch=thunk-extern
> --
> 2.19.0.dirty
ping
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v3] kbuild: use -fmacro-prefix-map for .S sources
2020-11-09 13:48 ` Denys Zagorui -X (dzagorui - GLOBALLOGIC INC at Cisco)
@ 2020-11-18 13:04 ` Denys Zagorui -X (dzagorui - GLOBALLOGIC INC at Cisco)
2020-11-20 16:12 ` Masahiro Yamada
0 siblings, 1 reply; 5+ messages in thread
From: Denys Zagorui -X (dzagorui - GLOBALLOGIC INC at Cisco) @ 2020-11-18 13:04 UTC (permalink / raw)
To: masahiroy; +Cc: michal.lkml, linux-kbuild, linux-kernel
> ping
Any comments on this ?
Thanks,
Denys
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v3] kbuild: use -fmacro-prefix-map for .S sources
2020-11-18 13:04 ` Denys Zagorui -X (dzagorui - GLOBALLOGIC INC at Cisco)
@ 2020-11-20 16:12 ` Masahiro Yamada
2020-11-23 16:33 ` Denys Zagorui -X (dzagorui - GLOBALLOGIC INC at Cisco)
0 siblings, 1 reply; 5+ messages in thread
From: Masahiro Yamada @ 2020-11-20 16:12 UTC (permalink / raw)
To: Denys Zagorui -X (dzagorui - GLOBALLOGIC INC at Cisco)
Cc: michal.lkml, linux-kbuild, linux-kernel
On Wed, Nov 18, 2020 at 10:04 PM Denys Zagorui -X (dzagorui -
GLOBALLOGIC INC at Cisco) <dzagorui@cisco.com> wrote:
>
> > ping
>
> Any comments on this ?
>
> Thanks,
> Denys
>
Sorry for the delay. Now applied.
I fixed the first sentence:
Follow-up to a73619a845d5 ("kbuild: use -fmacro-prefix-map to make
__FILE__ a relative path") commit.
to
Follow-up to commit a73619a845d5 ("kbuild: use -fmacro-prefix-map to
make __FILE__ a relative path").
> Assembler sources also use __FILE__
> macro so this flag should be also apllied to that sources.
I fixed "apllied" to "applied".
Maybe, "that sources" should be "those sources".
--
Best Regards
Masahiro Yamada
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v3] kbuild: use -fmacro-prefix-map for .S sources
2020-11-20 16:12 ` Masahiro Yamada
@ 2020-11-23 16:33 ` Denys Zagorui -X (dzagorui - GLOBALLOGIC INC at Cisco)
0 siblings, 0 replies; 5+ messages in thread
From: Denys Zagorui -X (dzagorui - GLOBALLOGIC INC at Cisco) @ 2020-11-23 16:33 UTC (permalink / raw)
To: Masahiro Yamada; +Cc: michal.lkml, linux-kbuild, linux-kernel
> I fixed the first sentence:
>
> Follow-up to a73619a845d5 ("kbuild: use -fmacro-prefix-map to make
> __FILE__ a relative path") commit.
>
> to
>
> Follow-up to commit a73619a845d5 ("kbuild: use -fmacro-prefix-map to
> make __FILE__ a relative path").
ok, i see
> > Assembler sources also use __FILE__
> > macro so this flag should be also apllied to that sources.
>
> I fixed "apllied" to "applied".
thanks, sorry for this typo
> Maybe, "that sources" should be "those sources".
yes
Thanks,
Denys
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2020-11-23 16:35 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-02 12:08 [PATCH v3] kbuild: use -fmacro-prefix-map for .S sources Denys Zagorui
2020-11-09 13:48 ` Denys Zagorui -X (dzagorui - GLOBALLOGIC INC at Cisco)
2020-11-18 13:04 ` Denys Zagorui -X (dzagorui - GLOBALLOGIC INC at Cisco)
2020-11-20 16:12 ` Masahiro Yamada
2020-11-23 16:33 ` Denys Zagorui -X (dzagorui - GLOBALLOGIC INC at Cisco)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).