diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2022-02-26 17:06:35 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2022-02-26 17:07:46 +0100 |
commit | fe32260decf2aed704969e283135182e0170a97c (patch) | |
tree | 287391ab811a182d95f46c6d0d1fc0365729e67b /target/riscv64/Makefile | |
parent | ef120261910bfb46f25a168f26043ff380ab26b0 (diff) |
riscv64: add support for nommu target systems
Diffstat (limited to 'target/riscv64/Makefile')
-rw-r--r-- | target/riscv64/Makefile | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/target/riscv64/Makefile b/target/riscv64/Makefile index 44dd98351..f7d493123 100644 --- a/target/riscv64/Makefile +++ b/target/riscv64/Makefile @@ -48,10 +48,17 @@ ifeq ($(ADK_TARGET_QEMU),y) @echo 'qemu-system-riscv64 ${QEMU_ARGS} -kernel $(FW_DIR)/$(TARGET_KERNEL)' endif endif +ifeq ($(ADK_TARGET_FS),nfsroot) +targethelp: + @echo 'The kernel file is: $(FW_DIR)/${TARGET_KERNEL}' + @echo "The RootFS tarball is: $(FW_DIR)/$(ROOTFSUSERTARBALL)" +endif kernel-strip: + @cp $(KERNEL) $(BUILD_DIR)/$(TARGET_KERNEL) kernel-install: kernel-strip + @cp $(BUILD_DIR)/$(TARGET_KERNEL) $(FW_DIR)/$(TARGET_KERNEL) # filesystem specific targets ifeq ($(ADK_TARGET_FS),archive) @@ -66,3 +73,6 @@ endif ifeq ($(ADK_TARGET_FS),initramfspiggyback) imageinstall: createinitramfs targethelp endif +ifeq ($(ADK_TARGET_FS),nfsroot) +imageinstall: kernel-install $(FW_DIR)/$(ROOTFSUSERTARBALL) targethelp +endif |