2014-10-06 08:06:43 +00:00
|
|
|
#
|
|
|
|
# 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:
|
|
|
|
#
|
2018-10-01 15:32:39 +00:00
|
|
|
# http://ugfx.io/license.html
|
2014-10-06 08:06:43 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
# 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
|