aboutsummaryrefslogtreecommitdiffstats
path: root/tools/gmake_scripts/os_ecos.mk
blob: 284de97e335c3060ba4e89b0293da6a2d78b2211 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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.io/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