From faf96e8d8236c12853b2088300924d4e6d0ba910 Mon Sep 17 00:00:00 2001 From: Nathaniel Graff Date: Fri, 31 May 2019 11:20:19 -0700 Subject: Disable ramrodata for dhrystone on boards with 16k RAM Putting rodata in RAM for targets with less than 16 overflows Signed-off-by: Nathaniel Graff --- scripts/standalone.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/standalone.mk b/scripts/standalone.mk index 6b83a29..6f87950 100644 --- a/scripts/standalone.mk +++ b/scripts/standalone.mk @@ -39,7 +39,13 @@ endif ifeq ($(PROGRAM),dhrystone) ifeq ($(LINK_TARGET),) -LINK_TARGET = ramrodata + ifneq ($(TARGET),freedom-e310-arty) + ifneq ($(TARGET),sifive-hifive1) + ifneq ($(TARGET),sifive-hifive1-revb) + LINK_TARGET = ramrodata + endif + endif + endif endif endif -- cgit v1.2.1-18-gbd029