diff --git a/build-core-riscv64-generic.sh b/build-core-riscv64-generic.sh index b358cf95..b22f0950 100755 --- a/build-core-riscv64-generic.sh +++ b/build-core-riscv64-generic.sh @@ -19,6 +19,9 @@ if [ "$LIBPHOENIX_DEVEL_MODE" = "y" ]; then b_log "Building libphoenix" make -C "libphoenix" all install + + b_log "Building dynamic linker" + make -C "phoenix-rtos-utils" rtld rtld-install fi b_log "Building phoenix-rtos-corelibs" diff --git a/target/riscv64.mk b/target/riscv64.mk index 95e314c4..7c765443 100644 --- a/target/riscv64.mk +++ b/target/riscv64.mk @@ -36,4 +36,8 @@ STRIP := $(CROSS)strip VADDR_KERNEL_INIT := 0x0000003fc0000000 + +LIBPHOENIX_PIC ?= y +LIBPHOENIX_SHARED ?= y + HAVE_MMU := y