aboutsummaryrefslogtreecommitdiffstats
path: root/tools/gmake_scripts
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2014-10-06 18:06:43 +1000
committerinmarket <andrewh@inmarket.com.au>2014-10-06 18:07:12 +1000
commit2dd2154e6f48b9f72d3291e6ba53948cfdda8eb2 (patch)
treeef74b79ff071b4d830919a8303382cb0e1a4d171 /tools/gmake_scripts
parent211254ed6c5a945be18334aa540de55db885000c (diff)
downloaduGFX-2dd2154e6f48b9f72d3291e6ba53948cfdda8eb2.tar.gz
uGFX-2dd2154e6f48b9f72d3291e6ba53948cfdda8eb2.tar.bz2
uGFX-2dd2154e6f48b9f72d3291e6ba53948cfdda8eb2.zip
Add eCos to the new build system - untested!
Diffstat (limited to 'tools/gmake_scripts')
-rw-r--r--tools/gmake_scripts/os_ecos.mk33
1 files changed, 33 insertions, 0 deletions
diff --git a/tools/gmake_scripts/os_ecos.mk b/tools/gmake_scripts/os_ecos.mk
new file mode 100644
index 00000000..b1b74554
--- /dev/null
+++ b/tools/gmake_scripts/os_ecos.mk
@@ -0,0 +1,33 @@
+#
+# This file is subject to the terms of the GFX License. If a copy of
+# the license was not distributed with this file, you can obtain one at:
+#
+# http://ugfx.org/license.html
+#
+
+# See readme.txt for the make API
+
+# Requirements:
+#
+# ECOS: The location of the eCos code eg ECOS=../eCos
+#
+
+# Optional:
+#
+# ECOS_LDSCRIPT The loader script - default is ""
+#
+
+PATHLIST += ECOS
+
+# Not sure if this variable is needed by the ecos make.
+INSTALL_DIR=$(ECOS)
+
+include $(ECOS)/include/pkgconf/ecos.mak
+
+INCPATH += $(ECOS)/include
+LIBPATH += $(ECOS)/lib
+LDFLAGS += -nostdlib
+
+ifeq ($(LDSCRIPT),)
+ LDSCRIPT= $(ECOS_LDSCRIPT)
+endif