summaryrefslogtreecommitdiffstats
path: root/make/custom
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-05-06 20:59:23 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-05-06 20:59:23 +0000
commit2226b8f80bec8c7c641c2167da17975cf54f7d3c (patch)
tree97b5657a6e797a6c0d0feb10920c7941eefb3285 /make/custom
parent2008-05-06 Ray Xu <rayx.cn@gmail.com> (diff)
downloadrtems-2226b8f80bec8c7c641c2167da17975cf54f7d3c.tar.bz2
2008-05-06 Ray Xu <rayx.cn@gmail.com>
* custom/gp32.cfg: Add smdk2410. Update gp32 to use shared code. * custom/smdk2410.cfg: New file.
Diffstat (limited to 'make/custom')
-rw-r--r--make/custom/gp32.cfg6
-rw-r--r--make/custom/smdk2410.cfg20
2 files changed, 23 insertions, 3 deletions
diff --git a/make/custom/gp32.cfg b/make/custom/gp32.cfg
index 7d8f2f48d5..bd5af4794d 100644
--- a/make/custom/gp32.cfg
+++ b/make/custom/gp32.cfg
@@ -1,7 +1,7 @@
#
-# Config file for ARM GP32
+# Config file for ARM GP32
#
-# gp32.cfg,v 1.0.0.0 2005/01/02 07:46:06 loki Exp
+# $Id$
#
include $(RTEMS_ROOT)/make/custom/default.cfg
@@ -15,7 +15,7 @@ RTEMS_BSP_FAMILY=gp32
# This contains the compiler options necessary to select the CPU model
# and (hopefully) optimize for it.
#
-CPU_CFLAGS = -mcpu=arm920t -mstructure-size-boundary=32
+CPU_CFLAGS = -mcpu=arm920t -mstructure-size-boundary=32 -DCPU_S3C2400
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V = -O2 -g
diff --git a/make/custom/smdk2410.cfg b/make/custom/smdk2410.cfg
new file mode 100644
index 0000000000..a6a6fce608
--- /dev/null
+++ b/make/custom/smdk2410.cfg
@@ -0,0 +1,20 @@
+#
+# Config file for ARM smdk2410
+#
+# $Id$
+#
+
+include $(RTEMS_ROOT)/make/custom/default.cfg
+
+RTEMS_CPU=arm
+RTEMS_CPU_MODEL=s3c2410
+
+# This is the actual bsp directory used during the build process.
+RTEMS_BSP_FAMILY=smdk2410
+
+# This contains the compiler options necessary to select the CPU model
+# and (hopefully) optimize for it.
+CPU_CFLAGS = -mcpu=arm920t -DCPU_S3C2410 -mstructure-size-boundary=32
+
+# optimize flag: typically -O2
+CFLAGS_OPTIMIZE_V = -O2 -g