build/riscv: tell the build system about riscv64/head.S
authorAnthony PERARD <anthony.perard@citrix.com>
Thu, 7 Oct 2021 15:57:10 +0000 (17:57 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 7 Oct 2021 15:57:10 +0000 (17:57 +0200)
This allows to `make arch/riscv/riscv64/head.o`.

Example of rune on a fresh copy of the repository:
    make XEN_TARGET_ARCH=riscv64 CROSS_COMPILE=riscv64-linux-gnu- KBUILD_DEFCONFIG=tiny64_defconfig arch/riscv/riscv64/head.o

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Acked-by: Bob Eshleman <bobbyeshleman@gmail.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Acked-by: Connor Davis <connojdavis@gmail.com>
xen/arch/riscv/riscv64/Makefile [new file with mode: 0644]

diff --git a/xen/arch/riscv/riscv64/Makefile b/xen/arch/riscv/riscv64/Makefile
new file mode 100644 (file)
index 0000000..15a4a65
--- /dev/null
@@ -0,0 +1 @@
+extra-y += head.o