summaryrefslogtreecommitdiff
path: root/nuttx/Makefile
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-11-26 23:42:51 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-11-26 23:42:51 +0000
commit7060857f2a90945f13294ea055309520cd93cd45 (patch)
tree0b8786948ff113e78a70d9f092ed02d73379ca14 /nuttx/Makefile
parent555e551c46f5c9dbd74f92239c0078a6feb65568 (diff)
downloadnuttx-7060857f2a90945f13294ea055309520cd93cd45.tar.gz
nuttx-7060857f2a90945f13294ea055309520cd93cd45.tar.bz2
nuttx-7060857f2a90945f13294ea055309520cd93cd45.zip
Make prototypes of rasterizers same at all resolutions
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1317 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/Makefile')
-rw-r--r--nuttx/Makefile13
1 files changed, 10 insertions, 3 deletions
diff --git a/nuttx/Makefile b/nuttx/Makefile
index eafdc5e01..c24f8f6e6 100644
--- a/nuttx/Makefile
+++ b/nuttx/Makefile
@@ -61,13 +61,17 @@ ADDON_DIRS := $(PCODE_DIR) $(NX_DIR)
# (except for parts of FSDIRS). We will exclude FSDIRS
# from the build if file descriptor support is disabled
-NONFSDIRS = sched lib $(ARCH_SRC) mm examples/$(CONFIG_EXAMPLE) $(ADDON_DIRS) graphics
+NONFSDIRS = sched lib $(ARCH_SRC) mm examples/$(CONFIG_EXAMPLE) $(ADDON_DIRS)
FSDIRS = fs drivers
ifeq ($(CONFIG_NET),y)
NONFSDIRS += net netutils
endif
+ifeq ($(CONFIG_NXGRAPHICS),y)
+NONFSDIRS += graphics
+endif
+
# CLEANDIRS are the directories that will clean in. These are
# all directories that we know about.
# MAKEDIRS are the directories in which we will build targets
@@ -92,8 +96,7 @@ endif
# is disabled.
LINKLIBS = sched/libsched$(LIBEXT) $(ARCH_SRC)/libarch$(LIBEXT) mm/libmm$(LIBEXT) \
- lib/liblib$(LIBEXT) examples/$(CONFIG_EXAMPLE)/lib$(CONFIG_EXAMPLE)$(LIBEXT) \
- graphics/libgraphics$(LIBEXT)
+ lib/liblib$(LIBEXT) examples/$(CONFIG_EXAMPLE)/lib$(CONFIG_EXAMPLE)$(LIBEXT)
ifeq ($(CONFIG_NET),y)
LINKLIBS += net/libnet$(LIBEXT) netutils/libnetutils$(LIBEXT)
@@ -118,6 +121,10 @@ ifneq ($(NX_DIR),)
LINKLIBS += $(NX_DIR)/libnx$(LIBEXT)
endif
+ifeq ($(CONFIG_NXGRAPHICS),y)
+LINKLIBS += graphics/libgraphics$(LIBEXT)
+endif
+
# This is the name of the final target
BIN = nuttx$(EXEEXT)