* [PATCH] riscv: add missing vdso_install target
@ 2018-11-05 14:35 David Abdurachmanov
2018-11-05 14:35 ` David Abdurachmanov
2018-11-07 0:33 ` Palmer Dabbelt
0 siblings, 2 replies; 4+ messages in thread
From: David Abdurachmanov @ 2018-11-05 14:35 UTC (permalink / raw)
To: linux-riscv
Building kernel 4.20 for Fedora as RPM fails, because riscv is missing
vdso_install target in arch/riscv/Makefile.
Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
---
arch/riscv/Makefile | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/riscv/Makefile b/arch/riscv/Makefile
index d10146197533..4af153a182b0 100644
--- a/arch/riscv/Makefile
+++ b/arch/riscv/Makefile
@@ -77,4 +77,8 @@ core-y += arch/riscv/kernel/ arch/riscv/mm/
libs-y += arch/riscv/lib/
+PHONY += vdso_install
+vdso_install:
+ $(Q)$(MAKE) $(build)=arch/riscv/kernel/vdso $@
+
all: vmlinux
--
2.19.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH] riscv: add missing vdso_install target
2018-11-05 14:35 [PATCH] riscv: add missing vdso_install target David Abdurachmanov
@ 2018-11-05 14:35 ` David Abdurachmanov
2018-11-07 0:33 ` Palmer Dabbelt
1 sibling, 0 replies; 4+ messages in thread
From: David Abdurachmanov @ 2018-11-05 14:35 UTC (permalink / raw)
To: palmer, aou, linux-riscv, linux-kernel; +Cc: David Abdurachmanov
Building kernel 4.20 for Fedora as RPM fails, because riscv is missing
vdso_install target in arch/riscv/Makefile.
Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
---
arch/riscv/Makefile | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/riscv/Makefile b/arch/riscv/Makefile
index d10146197533..4af153a182b0 100644
--- a/arch/riscv/Makefile
+++ b/arch/riscv/Makefile
@@ -77,4 +77,8 @@ core-y += arch/riscv/kernel/ arch/riscv/mm/
libs-y += arch/riscv/lib/
+PHONY += vdso_install
+vdso_install:
+ $(Q)$(MAKE) $(build)=arch/riscv/kernel/vdso $@
+
all: vmlinux
--
2.19.1
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH] riscv: add missing vdso_install target
2018-11-05 14:35 [PATCH] riscv: add missing vdso_install target David Abdurachmanov
2018-11-05 14:35 ` David Abdurachmanov
@ 2018-11-07 0:33 ` Palmer Dabbelt
2018-11-07 0:33 ` Palmer Dabbelt
1 sibling, 1 reply; 4+ messages in thread
From: Palmer Dabbelt @ 2018-11-07 0:33 UTC (permalink / raw)
To: linux-riscv
On Mon, 05 Nov 2018 06:35:37 PST (-0800), david.abdurachmanov at gmail.com wrote:
> Building kernel 4.20 for Fedora as RPM fails, because riscv is missing
> vdso_install target in arch/riscv/Makefile.
>
> Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
> ---
> arch/riscv/Makefile | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/arch/riscv/Makefile b/arch/riscv/Makefile
> index d10146197533..4af153a182b0 100644
> --- a/arch/riscv/Makefile
> +++ b/arch/riscv/Makefile
> @@ -77,4 +77,8 @@ core-y += arch/riscv/kernel/ arch/riscv/mm/
>
> libs-y += arch/riscv/lib/
>
> +PHONY += vdso_install
> +vdso_install:
> + $(Q)$(MAKE) $(build)=arch/riscv/kernel/vdso $@
> +
> all: vmlinux
While this doesn't smell like it should be an arch-specific thing, it looks
like everyone else has a copy and they're all slightly different so it'd
probably be more complexity to merge them than duplicate them.
I'll take this into my PR for next week.
Thanks!
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] riscv: add missing vdso_install target
2018-11-07 0:33 ` Palmer Dabbelt
@ 2018-11-07 0:33 ` Palmer Dabbelt
0 siblings, 0 replies; 4+ messages in thread
From: Palmer Dabbelt @ 2018-11-07 0:33 UTC (permalink / raw)
To: david.abdurachmanov; +Cc: linux-riscv, aou, linux-kernel, david.abdurachmanov
On Mon, 05 Nov 2018 06:35:37 PST (-0800), david.abdurachmanov@gmail.com wrote:
> Building kernel 4.20 for Fedora as RPM fails, because riscv is missing
> vdso_install target in arch/riscv/Makefile.
>
> Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
> ---
> arch/riscv/Makefile | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/arch/riscv/Makefile b/arch/riscv/Makefile
> index d10146197533..4af153a182b0 100644
> --- a/arch/riscv/Makefile
> +++ b/arch/riscv/Makefile
> @@ -77,4 +77,8 @@ core-y += arch/riscv/kernel/ arch/riscv/mm/
>
> libs-y += arch/riscv/lib/
>
> +PHONY += vdso_install
> +vdso_install:
> + $(Q)$(MAKE) $(build)=arch/riscv/kernel/vdso $@
> +
> all: vmlinux
While this doesn't smell like it should be an arch-specific thing, it looks
like everyone else has a copy and they're all slightly different so it'd
probably be more complexity to merge them than duplicate them.
I'll take this into my PR for next week.
Thanks!
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2018-11-07 0:33 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-05 14:35 [PATCH] riscv: add missing vdso_install target David Abdurachmanov
2018-11-05 14:35 ` David Abdurachmanov
2018-11-07 0:33 ` Palmer Dabbelt
2018-11-07 0:33 ` Palmer Dabbelt
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).