summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorNathaniel Graff <nathaniel.graff@sifive.com>2019-01-30 13:51:39 -0800
committerNathaniel Graff <nathaniel.graff@sifive.com>2019-02-04 12:20:52 -0800
commite13896aa54d9ccb93b637b476d555e032a5a668e (patch)
treef3bc7355ed0dfab29fdf1a2921979b5634599216 /scripts
parent508c169463eeddfd5eef8b0e6f928fa848dd46c0 (diff)
Replace all mee with metal
Signed-off-by: Nathaniel Graff <nathaniel.graff@sifive.com>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/standalone.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/standalone.mk b/scripts/standalone.mk
index a73093f..52926ac 100644
--- a/scripts/standalone.mk
+++ b/scripts/standalone.mk
@@ -83,9 +83,9 @@ PROGRAM_SRCS = $(wildcard $(SRC_DIR)/*.c) $(wildcard $(SRC_DIR)/*.h) $(wildcard
$(PROGRAM_ELF): \
$(PROGRAM_SRCS) \
- $(BSP_DIR)/install/lib/libmee.a \
- $(BSP_DIR)/install/lib/libmee-gloss.a \
- $(BSP_DIR)/mee.lds
+ $(BSP_DIR)/install/lib/libmetal.a \
+ $(BSP_DIR)/install/lib/libmetal-gloss.a \
+ $(BSP_DIR)/metal.lds
$(MAKE) -C $(dir $@) $(notdir $@) \
AR=$(RISCV_AR) \
CC=$(RISCV_GCC) \
@@ -93,7 +93,7 @@ $(PROGRAM_ELF): \
CFLAGS="-Os -march=$(RISCV_ARCH) -mabi=$(RISCV_ABI) -g -mcmodel=medany -I$(abspath $(BSP_DIR)/install/include/)" \
CXXFLAGS="-Os -march=$(RISCV_ARCH) -mabi=$(RISCV_ABI) -g -mcmodel=medany -I$(abspath $(BSP_DIR)/install/include/)" \
LDFLAGS="-nostartfiles -nostdlib -L$(sort $(dir $(abspath $(filter %.a,$^)))) -T$(abspath $(filter %.lds,$^))" \
- LDLIBS="-Wl,--start-group -lc -lgcc -lmee -lmee-gloss -Wl,--end-group"
+ LDLIBS="-Wl,--start-group -lc -lgcc -lmetal -lmetal-gloss -Wl,--end-group"
touch -c $@
.PHONY: clean-software