[PATCH] riscv: Rename new *_clang.cfg file to *_clang.ccfg
Hesham Almatary
Hesham.Almatary at cl.cam.ac.uk
Tue Oct 29 09:34:28 UTC 2019
This is to hide the new BSPs from GCC builds when building
all RISC-V BSPs with configure --target=riscv-rtems5
---
.../config/{rv32i_clang.cfg => rv32i_clang.ccfg} | 0
.../{rv32iac_clang.cfg => rv32iac_clang.ccfg} | 0
.../config/{rv32im_clang.cfg => rv32im_clang.ccfg} | 0
.../{rv32imac_clang.cfg => rv32imac_clang.ccfg} | 0
bsps/riscv/riscv/config/rv32imafc_clang.ccfg | 14 ++++++++++++++
bsps/riscv/riscv/config/rv32imafc_clang.cfg | 14 --------------
.../{rv32imafd_clang.cfg => rv32imafd_clang.ccfg} | 0
...{rv32imafdc_clang.cfg => rv32imafdc_clang.ccfg} | 0
...{rv64imafdc_clang.cfg => rv64imafdc_clang.ccfg} | 0
9 files changed, 14 insertions(+), 14 deletions(-)
rename bsps/riscv/riscv/config/{rv32i_clang.cfg => rv32i_clang.ccfg} (100%)
rename bsps/riscv/riscv/config/{rv32iac_clang.cfg => rv32iac_clang.ccfg} (100%)
rename bsps/riscv/riscv/config/{rv32im_clang.cfg => rv32im_clang.ccfg} (100%)
rename bsps/riscv/riscv/config/{rv32imac_clang.cfg => rv32imac_clang.ccfg} (100%)
create mode 100644 bsps/riscv/riscv/config/rv32imafc_clang.ccfg
delete mode 100644 bsps/riscv/riscv/config/rv32imafc_clang.cfg
rename bsps/riscv/riscv/config/{rv32imafd_clang.cfg => rv32imafd_clang.ccfg} (100%)
rename bsps/riscv/riscv/config/{rv32imafdc_clang.cfg => rv32imafdc_clang.ccfg} (100%)
rename bsps/riscv/riscv/config/{rv64imafdc_clang.cfg => rv64imafdc_clang.ccfg} (100%)
diff --git a/bsps/riscv/riscv/config/rv32i_clang.cfg b/bsps/riscv/riscv/config/rv32i_clang.ccfg
similarity index 100%
rename from bsps/riscv/riscv/config/rv32i_clang.cfg
rename to bsps/riscv/riscv/config/rv32i_clang.ccfg
diff --git a/bsps/riscv/riscv/config/rv32iac_clang.cfg b/bsps/riscv/riscv/config/rv32iac_clang.ccfg
similarity index 100%
rename from bsps/riscv/riscv/config/rv32iac_clang.cfg
rename to bsps/riscv/riscv/config/rv32iac_clang.ccfg
diff --git a/bsps/riscv/riscv/config/rv32im_clang.cfg b/bsps/riscv/riscv/config/rv32im_clang.ccfg
similarity index 100%
rename from bsps/riscv/riscv/config/rv32im_clang.cfg
rename to bsps/riscv/riscv/config/rv32im_clang.ccfg
diff --git a/bsps/riscv/riscv/config/rv32imac_clang.cfg b/bsps/riscv/riscv/config/rv32imac_clang.ccfg
similarity index 100%
rename from bsps/riscv/riscv/config/rv32imac_clang.cfg
rename to bsps/riscv/riscv/config/rv32imac_clang.ccfg
diff --git a/bsps/riscv/riscv/config/rv32imafc_clang.ccfg b/bsps/riscv/riscv/config/rv32imafc_clang.ccfg
new file mode 100644
index 0000000000..74cf7c5625
--- /dev/null
+++ b/bsps/riscv/riscv/config/rv32imafc_clang.ccfg
@@ -0,0 +1,14 @@
+include $(RTEMS_ROOT)/make/custom/default.cfg
+
+RTEMS_CPU = riscv
+
+CPU_CFLAGS = -march=rv32imafc -mabi=ilp32f
+
+# Clang-related flags
+CPU_CFLAGS += -target riscv32-unknown-rtems6 --sysroot=$(NEWLIB_SYSROOT)
+
+LDFLAGS = -Wl,--gc-sections -L$(RTEMS_BSP_LIBBSP_PATH) -L$(PROJECT_LIB) -L$(RTEMS_BSP_ARCH_LINKCMDS_PATH)
+
+# Clang-related flags
+
+CFLAGS_OPTIMIZE_V ?= -O0 -g -ffunction-sections -fdata-sections
diff --git a/bsps/riscv/riscv/config/rv32imafc_clang.cfg b/bsps/riscv/riscv/config/rv32imafc_clang.cfg
deleted file mode 100644
index 3d344ba3db..0000000000
--- a/bsps/riscv/riscv/config/rv32imafc_clang.cfg
+++ /dev/null
@@ -1,14 +0,0 @@
-include $(RTEMS_ROOT)/make/custom/default.cfg
-
-RTEMS_CPU = riscv
-
-CPU_CFLAGS = -march=rv32imafc -mabi=ilp32d
-
-# Clang-related flags
-CPU_CFLAGS += -target riscv32-unknown-rtems6 --sysroot=$(NEWLIB_SYSROOT)
-
-LDFLAGS = -Wl,--gc-sections -L$(RTEMS_BSP_LIBBSP_PATH) -L$(PROJECT_LIB) -L$(RTEMS_BSP_ARCH_LINKCMDS_PATH)
-
-# Clang-related flags
-
-CFLAGS_OPTIMIZE_V ?= -O0 -g -ffunction-sections -fdata-sections
diff --git a/bsps/riscv/riscv/config/rv32imafd_clang.cfg b/bsps/riscv/riscv/config/rv32imafd_clang.ccfg
similarity index 100%
rename from bsps/riscv/riscv/config/rv32imafd_clang.cfg
rename to bsps/riscv/riscv/config/rv32imafd_clang.ccfg
diff --git a/bsps/riscv/riscv/config/rv32imafdc_clang.cfg b/bsps/riscv/riscv/config/rv32imafdc_clang.ccfg
similarity index 100%
rename from bsps/riscv/riscv/config/rv32imafdc_clang.cfg
rename to bsps/riscv/riscv/config/rv32imafdc_clang.ccfg
diff --git a/bsps/riscv/riscv/config/rv64imafdc_clang.cfg b/bsps/riscv/riscv/config/rv64imafdc_clang.ccfg
similarity index 100%
rename from bsps/riscv/riscv/config/rv64imafdc_clang.cfg
rename to bsps/riscv/riscv/config/rv64imafdc_clang.ccfg
--
2.17.1
More information about the devel
mailing list