summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorBunnaroath Sou <bsou@sifive.com>2019-05-20 14:22:00 -0700
committerBunnaroath Sou <bsou@sifive.com>2019-05-20 14:22:00 -0700
commit24d98e5a409131e8be1a17bcbc3cda31297afe7a (patch)
tree63ace3a99d25fc6707bf952a46c3ca119657d245 /scripts
parent44c4b9b6383f788fd29de5852cc645f0c76687a4 (diff)
Update metal to pick up inline support
Diffstat (limited to 'scripts')
-rw-r--r--scripts/libmetal.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/libmetal.mk b/scripts/libmetal.mk
index bd89173..3ece6cf 100644
--- a/scripts/libmetal.mk
+++ b/scripts/libmetal.mk
@@ -5,6 +5,7 @@
METAL_SOURCE_PATH ?= freedom-metal
METAL_LDSCRIPT = $(BSP_DIR)/metal.$(LINK_TARGET).lds
METAL_HEADER = $(BSP_DIR)/metal.h
+METAL_INLINE = $(BSP_DIR)/metal-inline.h
PLATFORM_HEADER = $(BSP_DIR)/metal-platform.h
METAL_PREFIX = $(abspath $(BSP_DIR)/install)
@@ -27,6 +28,7 @@ $(METAL_BUILD_DIR)/Makefile:
--with-preconfigured \
--with-machine-name=$(TARGET) \
--with-machine-header=$(abspath $(METAL_HEADER)) \
+ --with-machine-inline=$(abspath $(METAL_INLINE)) \
--with-platform-header=$(abspath $(PLATFORM_HEADER)) \
--with-machine-ldscript=$(abspath $(METAL_LDSCRIPT)) \
--with-builtin-libgloss