From 6abd4d71d3fda52ed4d67077ac86130f7d666844 Mon Sep 17 00:00:00 2001 From: inmarket Date: Mon, 6 Oct 2014 18:06:43 +1000 Subject: Add eCos to the new build system - untested! --- tools/gmake_scripts/os_ecos.mk | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 tools/gmake_scripts/os_ecos.mk (limited to 'tools') 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 -- cgit v1.2.3