Skip to content

Commit

Permalink
riscv: Add support for shared libs
Browse files Browse the repository at this point in the history
JIRA: RTOS-664
  • Loading branch information
badochov committed Dec 5, 2024
1 parent dc0ab88 commit 2eb82d4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build-core-riscv64-generic.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 4 additions & 0 deletions target/riscv64.mk
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,8 @@ STRIP := $(CROSS)strip

VADDR_KERNEL_INIT := 0x0000003fc0000000


LIBPHOENIX_PIC ?= y
LIBPHOENIX_SHARED ?= y

HAVE_MMU := y

0 comments on commit 2eb82d4

Please sign in to comment.