summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorNathaniel Graff <nathaniel.graff@sifive.com>2019-02-05 17:22:44 +0000
committerGitHub <noreply@github.com>2019-02-05 17:22:44 +0000
commit4c20f5158e506f3c13cf66d5259a6399a6b4b2a3 (patch)
tree266e712fcfd3fd45d98fff92e1f3d6ca8935599a /scripts
parentd9a6c0abd5e98697aae8273342961895512890bf (diff)
parent934c94798e4897c84a412ad96603691b5129e0ff (diff)
Merge pull request #167 from sifive/rename-metal
Rename everything to metal
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