[rtems commit] no_bsp.cfg: Add hints for CFLAGS and LDFLAGS
Joel Sherrill
joel at rtems.org
Fri Mar 11 20:14:54 UTC 2016
Module: rtems
Branch: master
Commit: 14926616514eadd9057fdce62349b82b2383660d
Changeset: http://git.rtems.org/rtems/commit/?id=14926616514eadd9057fdce62349b82b2383660d
Author: Joel Sherrill <joel at rtems.org>
Date: Thu Mar 10 16:22:49 2016 -0600
no_bsp.cfg: Add hints for CFLAGS and LDFLAGS
updates #2577.
---
c/src/lib/libbsp/no_cpu/no_bsp/make/custom/no_bsp.cfg | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/c/src/lib/libbsp/no_cpu/no_bsp/make/custom/no_bsp.cfg b/c/src/lib/libbsp/no_cpu/no_bsp/make/custom/no_bsp.cfg
index 8c98f8b..944ebd9 100644
--- a/c/src/lib/libbsp/no_cpu/no_bsp/make/custom/no_bsp.cfg
+++ b/c/src/lib/libbsp/no_cpu/no_bsp/make/custom/no_bsp.cfg
@@ -7,4 +7,8 @@ include $(RTEMS_ROOT)/make/custom/default.cfg
RTEMS_CPU=no_cpu
RTEMS_CPU_MODEL=no_cpu_model
-# Miscellaneous additions go here
+# Miscellaneous additions go here. Typical options usually look like
+CFLAGS_OPTIMIZE_V += -O2 -g
+CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
+
+LDFLAGS = -Wl,--gc-sections
More information about the vc
mailing list