diff options
author | Nathaniel Graff <nathaniel.graff@sifive.com> | 2019-05-31 11:20:19 -0700 |
---|---|---|
committer | Nathaniel Graff <nathaniel.graff@sifive.com> | 2019-05-31 11:20:21 -0700 |
commit | faf96e8d8236c12853b2088300924d4e6d0ba910 (patch) | |
tree | 7c28e6d00e6cdd42c778bbd26fdec0fd020f7c8b /scripts | |
parent | 4aa97062fb30b239e97ba6b50f35cf8e8d251469 (diff) |
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 <nathaniel.graff@sifive.com>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/standalone.mk | 8 |
1 files changed, 7 insertions, 1 deletions
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 |