Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create symlinks that don't include the version #443

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Precompiled.mk
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ $(foreach arch,$(RISCV_ARCHS),$(eval $(call PRECOMPILED_NEWLIB_RULES,riscv,riscv
# strip down to just the version with some string manipulation.
$(TOCK_NEWLIB_TARGETS):
cd $(TOCK_USERLAND_BASE_DIR)/lib; ./fetch-newlib.sh $(patsubst libtock-newlib-%,%,$*)
cd $(TOCK_USERLAND_BASE_DIR)/lib; ln -s libtock-newlib-$(patsubst libtock-newlib-%,%,$*)/arm libtock-newlib-arm
cd $(TOCK_USERLAND_BASE_DIR)/lib; ln -s libtock-newlib-$(patsubst libtock-newlib-%,%,$*)/riscv libtock-newlib-riscv

################################################################################
# LIBC++ Rules
Expand Down Expand Up @@ -128,4 +130,6 @@ $(foreach arch,$(RISCV_ARCHS),$(eval $(call PRECOMPILED_CXXLIB_RULES,riscv,riscv
# Target to download and extract the C++ libraries.
$(TOCK_CXXLIB_TARGETS):
cd $(TOCK_USERLAND_BASE_DIR)/lib; ./fetch-libc++.sh $(patsubst libtock-libc++-%,%,$*)
cd $(TOCK_USERLAND_BASE_DIR)/lib; ln -s libtock-libc++-$(patsubst libtock-libc++-%,%,$*)/arm libtock-libc++-arm
cd $(TOCK_USERLAND_BASE_DIR)/lib; ln -s libtock-libc++-$(patsubst libtock-libc++-%,%,$*)/riscv libtock-libc++-riscv
endif
Loading