[Cbe-oss-dev] [PATCH 07/17]MARS/core: Enable host mpu specific checks

Yuji Mano yuji.mano at am.sony.com
Wed Nov 26 14:40:01 EST 2008


From: Kazunori Asayama <asayama at sm.sony.co.jp>

Enable host and MPU specific checks by configure scripts (core)

This patch adds capability to check host and MPU specific attributes
by configure scripts.

Signed-off-by: Kazunori Asayama <asayama at sm.sony.co.jp>
---
 core/configure.ac.in          |    2 +-
 core/src/host/configure.ac.in |    2 +-
 core/src/mpu/configure.ac.in  |    2 +-
 scripts/acinclude.m4          |   13 +++++++++++++
 4 files changed, 16 insertions(+), 3 deletions(-)

Index: b/scripts/acinclude.m4
===================================================================
--- a/scripts/acinclude.m4	2008-11-21 20:57:21.000000000 +0900
+++ b/scripts/acinclude.m4	2008-11-21 20:58:24.000000000 +0900
@@ -99,3 +99,16 @@ AC_CONFIG_DEBUG
 AC_CONFIG_MARS_POST
 
 ]) # AC_CONFIG_MARS
+
+### Host specific definitions
+
+AC_DEFUN([AC_CONFIG_MARS_HOST],[
+AC_CONFIG_MARS
+]) # AC_CONFIG_MARS_HOST
+
+
+### MPU specific definitions
+
+AC_DEFUN([AC_CONFIG_MARS_MPU],[
+AC_CONFIG_MARS
+]) # AC_CONFIG_MARS_MPU
Index: b/core/configure.ac.in
===================================================================
--- a/core/configure.ac.in	2008-11-21 20:54:38.000000000 +0900
+++ b/core/configure.ac.in	2008-11-21 20:58:24.000000000 +0900
@@ -40,7 +40,7 @@ AC_INIT([mars-core], [@version@], [MARS 
 
 AC_PREFIX_DEFAULT([/usr])
 
-AC_CONFIG_MARS
+AC_CONFIG_MARS_HOST
 
 AC_CONFIG_AUX_DIR([.])
 
Index: b/core/src/host/configure.ac.in
===================================================================
--- a/core/src/host/configure.ac.in	2008-11-21 20:54:38.000000000 +0900
+++ b/core/src/host/configure.ac.in	2008-11-21 20:58:24.000000000 +0900
@@ -38,7 +38,7 @@
 
 AC_INIT([mars], [@version@], [MARS <cbe-oss-dev at ozlabs.org>])
 
-AC_CONFIG_MARS
+AC_CONFIG_MARS_HOST
 
 AC_CONFIG_AUX_DIR([.])
 
Index: b/core/src/mpu/configure.ac.in
===================================================================
--- a/core/src/mpu/configure.ac.in	2008-11-21 20:54:38.000000000 +0900
+++ b/core/src/mpu/configure.ac.in	2008-11-21 20:58:24.000000000 +0900
@@ -38,7 +38,7 @@
 
 AC_INIT([mars], [@version@], [MARS <cbe-oss-dev at ozlabs.org>])
 
-AC_CONFIG_MARS
+AC_CONFIG_MARS_MPU
 
 AC_CONFIG_AUX_DIR([.])
 





More information about the cbe-oss-dev mailing list