Add Kbuild, Makefile, Kconfig and link script for LoongArch build
infrastructure.
Signed-off-by: Huacai Chen <chenhuacai@xxxxxxxxxxx>
---
arch/loongarch/Kbuild | 6 +
arch/loongarch/Kconfig | 395 +++++++++++++++++++++++++
arch/loongarch/Kconfig.debug | 0
arch/loongarch/Makefile | 105 +++++++
arch/loongarch/boot/.gitignore | 2 +
arch/loongarch/boot/Makefile | 20 ++
arch/loongarch/boot/dts/Makefile | 4 +
arch/loongarch/include/asm/Kbuild | 30 ++
arch/loongarch/include/uapi/asm/Kbuild | 2 +
arch/loongarch/kernel/.gitignore | 2 +
arch/loongarch/kernel/Makefile | 21 ++
arch/loongarch/kernel/vmlinux.lds.S | 117 ++++++++
arch/loongarch/lib/Makefile | 6 +
arch/loongarch/mm/Makefile | 9 +
arch/loongarch/pci/Makefile | 7 +
arch/loongarch/vdso/.gitignore | 2 +
scripts/subarch.include | 2 +-
17 files changed, 729 insertions(+), 1 deletion(-)
create mode 100644 arch/loongarch/Kbuild
create mode 100644 arch/loongarch/Kconfig
create mode 100644 arch/loongarch/Kconfig.debug
create mode 100644 arch/loongarch/Makefile
create mode 100644 arch/loongarch/boot/.gitignore
create mode 100644 arch/loongarch/boot/Makefile
create mode 100644 arch/loongarch/boot/dts/Makefile
create mode 100644 arch/loongarch/include/asm/Kbuild
create mode 100644 arch/loongarch/include/uapi/asm/Kbuild
create mode 100644 arch/loongarch/kernel/.gitignore
create mode 100644 arch/loongarch/kernel/Makefile
create mode 100644 arch/loongarch/kernel/vmlinux.lds.S
create mode 100644 arch/loongarch/lib/Makefile
create mode 100644 arch/loongarch/mm/Makefile
create mode 100644 arch/loongarch/pci/Makefile
create mode 100644 arch/loongarch/vdso/.gitignore