summaryrefslogtreecommitdiffstats
path: root/nuttx/Makefile
diff options
context:
space:
mode:
authorpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2008-11-26 23:42:51 +0000
committerpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2008-11-26 23:42:51 +0000
commit8ef4526793948e44768982b92a33ef76214d3d8b (patch)
tree0b8786948ff113e78a70d9f092ed02d73379ca14 /nuttx/Makefile
parent4dd0b64dff214251a1384b4374fbb6bd4a7ee7cc (diff)
Make prototypes of rasterizers same at all resolutions
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@1317 7fd9a85b-ad96-42d3-883c-3090e2eb8679
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 eafdc5e01c..c24f8f6e60 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)