summaryrefslogtreecommitdiff
path: root/mk/macros.mk
diff options
context:
space:
mode:
authorAbdoulaye Walsimou Gaye <walsimou@walsimou.com>2009-05-13 15:36:37 +0200
committerAbdoulaye Walsimou Gaye <walsimou@walsimou.com>2009-05-13 15:38:30 +0200
commitb41f872d463573a15c43fb449bb7240c721f4c7c (patch)
treeb9d6c419ae44b619419cb707d3ce7993e7cd7d1c /mk/macros.mk
parentfc6512f3d4172ffe0780c1cc0707a60978728560 (diff)
downloadembtoolkit-b41f872d463573a15c43fb449bb7240c721f4c7c.tar.gz
embtoolkit-b41f872d463573a15c43fb449bb7240c721f4c7c.tar.bz2
embtoolkit-b41f872d463573a15c43fb449bb7240c721f4c7c.tar.xz
Determinate on which host we are and add some macros
This patch modifies the main Makefile in order to determinate on which host we are when we build the toolchain. It also introduce a new file mk/macros.mk which will define some usefull macros Signed-off-by: Abdoulaye Walsimou Gaye <walsimou@walsimou.com>
Diffstat (limited to 'mk/macros.mk')
-rw-r--r--mk/macros.mk39
1 files changed, 39 insertions, 0 deletions
diff --git a/mk/macros.mk b/mk/macros.mk
new file mode 100644
index 0000000..9a8d9bd
--- /dev/null
+++ b/mk/macros.mk
@@ -0,0 +1,39 @@
+#########################################################################################
+# GAYE Abdoulaye Walsimou, <walsimou@walsimou.com>
+# Copyright(C) 2009 GAYE Abdoulaye Walsimou. All rights reserved.
+#
+# This program is free software; you can distribute it and/or modify it
+# under the terms of the GNU General Public License
+# (Version 2 or later) published by the Free Software Foundation.
+#
+# This program is distributed in the hope it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+# for more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, write to the Free Software Foundation, Inc.,
+# 59 Temple Place - Suite 330, Boston MA 02111-1307, USA.
+#########################################################################################
+#
+# \file macros.mk
+# \brief macros.mk of Embtoolkit
+# \author GAYE Abdoulaye Walsimou, <walsimou@walsimou.com>
+# \date May 2009
+#########################################################################################
+
+#Decompress message
+#unsage $(call DECOMPRESS_MESSAGE,$(NAME_PACKAGE))
+define DECOMPRESS_MESSAGE
+ @echo "########################### EmbToolkit ###########################"
+ @echo "Decompressing $(1)"
+ @echo "##################################################################"
+endef
+
+#Configure message
+#unsage $(call CONFIGURE_MESSAGE,$(NAME_PACKAGE))
+define CONFIGURE_MESSAGE
+ @echo "########################### EmbToolkit ###########################"
+ @echo "configure $(1)"
+ @echo "##################################################################"
+endef