Skip to content

Commit

Permalink
mk: remove unused definitions for musl
Browse files Browse the repository at this point in the history
  • Loading branch information
katsuhiro-suzuki-nsitexe committed Mar 24, 2023
1 parent 3dba09a commit b88073f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions mk/musl.mk
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,13 @@ include common.mk
MARCH_LIST ?= rv64gc rv64imac rv32gc rv32imac
MABI_LIST ?= lp64d lp64 ilp32d ilp32
MLIBDIR_LIST ?= lib64 lib64 lib32 lib32
MSFLOAT_LIST ?= -D__riscv_hard_float -D__riscv_soft_float -D__riscv_hard_float -D__riscv_soft_float

define configure_macro
$(eval MARCH = $(word $(1),$(MARCH_LIST)))
$(eval MABI = $(word $(1),$(MABI_LIST)))
$(eval MLIBDIR = $(word $(1),$(MLIBDIR_LIST)))
$(eval MSFLOAT = $(word $(1),$(MSFLOAT_LIST)))
mkdir -p $(BUILD_PATH)_$(MARCH) && cd $(BUILD_PATH)_$(MARCH) && \
$(SRC_PATH)/configure \
CPPFLAGS='$(MSFLOAT)' \
CFLAGS='-O2 -mcmodel=medany -march=$(MARCH) -mabi=$(MABI)' \
--host=$(CROSS_ARCH) \
--prefix=$(SYSROOT)/usr \
Expand Down

0 comments on commit b88073f

Please sign in to comment.