Skip to contentSkip to conversation

riscv: add missing vdso_install target

PATCH In review David Abdurachmanov 2 participants 2 messages Nov 5, 2018 – Nov 7, 2018 RISC-V

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 riscv: add missing vdso_install target

Building kernel 4.20 for Fedora as RPM fails, because riscv is missing vdso_install target in arch/riscv/Makefile.

---
 arch/riscv/Makefile | 4 ++++
 1 file changed, 4 insertions(+)
arch/riscv/Makefile +4 -0
index d10146197533..4af153a182b0 100644
@@ -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
Signature · 1 line
2.19.1
#1 lore raw
Quoted 13 lines · david.abdurachmanov at gmail.com

Building kernel 4.20 for Fedora as RPM fails, because riscv is missing vdso_install target in arch/riscv/Makefile.

---
 arch/riscv/Makefile | 4 ++++
 1 file changed, 4 insertions(+)
arch/riscv/Makefile +0 -0
index d10146197533..4af153a182b0 100644

arch/riscv/Makefile core-y += arch/riscv/kernel/ arch/riscv/mm/ · line 84

Quoted 8 lines
arch/riscv/Makefile +4 -0
@@ -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!