Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
NuttX RTOS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
f4grx
NuttX RTOS
Commits
568d5272
Commit
568d5272
authored
16 years ago
by
patacongo
Browse files
Options
Downloads
Patches
Plain Diff
Add libxx
git-svn-id:
svn://svn.code.sf.net/p/nuttx/code/trunk@1713
42af7a65-404d-4744-a932-0658087f49c3
parent
522ca262
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Makefile
+20
-0
20 additions, 0 deletions
Makefile
configs/mx1ads/ostest/Make.defs
+2
-1
2 additions, 1 deletion
configs/mx1ads/ostest/Make.defs
with
22 additions
and
1 deletion
Makefile
+
20
−
0
View file @
568d5272
...
...
@@ -98,10 +98,21 @@ endif
LINKLIBS
=
sched/libsched
$(
LIBEXT
)
$(
ARCH_SRC
)
/libarch
$(
LIBEXT
)
mm/libmm
$(
LIBEXT
)
\
lib/liblib
$(
LIBEXT
)
examples/
$(
CONFIG_EXAMPLE
)
/lib
$(
CONFIG_EXAMPLE
)$(
LIBEXT
)
# Add libraries for network support. CXX, CXXFLAGS, and COMPILEXX must
# be defined in Make.defs for this to work!
ifneq
($(CXX),)
LINKLIBS
+=
libxx/liblibxx
$(
LIBEXT
)
endif
# Add libraries for network support
ifeq
($(CONFIG_NET),y)
LINKLIBS
+=
net/libnet
$(
LIBEXT
)
netutils/libnetutils
$(
LIBEXT
)
endif
# Add libraries for file system support
ifeq
($(CONFIG_NFILE_DESCRIPTORS),0)
ifneq
($(CONFIG_NSOCKET_DESCRIPTORS),0)
LINKLIBS
+=
fs/libfs
$(
LIBEXT
)
...
...
@@ -113,10 +124,14 @@ else
LINKLIBS
+=
fs/libfs
$(
LIBEXT
)
drivers/libdrivers
$(
LIBEXT
)
endif
# Add libraries for Pascall P-Code
ifneq
($(PCODE_DIR),)
LINKLIBS
+=
$(
PCODE_DIR
)
/libpcode
$(
LIBEXT
)
endif
# Add libraries for the NX graphics sub-system
ifneq
($(NX_DIR),)
LINKLIBS
+=
$(
NX_DIR
)
/libnx
$(
LIBEXT
)
endif
...
...
@@ -188,6 +203,11 @@ sched/libsched$(LIBEXT): context
lib/liblib$(LIBEXT)
:
context
@$(
MAKE
)
-C
lib
TOPDIR
=
"
$(
TOPDIR
)
"
liblib
$(
LIBEXT
)
ifneq
($(CXX),)
libxx/liblibxx$(LIBEXT)
:
context
@$(
MAKE
)
-C
libxx
TOPDIR
=
"
$(
TOPDIR
)
"
liblibxx
$(
LIBEXT
)
endif
$(ARCH_SRC)/libarch$(LIBEXT)
:
context
@$(
MAKE
)
-C
$(
ARCH_SRC
)
TOPDIR
=
"
$(
TOPDIR
)
"
libarch
$(
LIBEXT
)
...
...
This diff is collapsed.
Click to expand it.
configs/mx1ads/ostest/Make.defs
+
2
−
1
View file @
568d5272
...
...
@@ -67,6 +67,7 @@ else
endif
ARCHDEFINES =
ARCHINCLUDES = -I. -isystem $(TOPDIR)/include
ARCHXXINCLUDES = -I. -isystem $(TOPDIR)/include -isystem $(TOPDIR)/include/cxx
ARCHPICFLAGS = -fpic
ARCHSCRIPT = -T$(TOPDIR)/configs/$(CONFIG_ARCH_BOARD)/ostest/ld.script
...
...
@@ -74,7 +75,7 @@ ARCHSCRIPT = -T$(TOPDIR)/configs/$(CONFIG_ARCH_BOARD)/ostest/ld.script
CFLAGS = $(ARCHCFLAGS) $(ARCHWARNINGS) $(ARCHOPTIMIZATION) \
$(ARCHCPUFLAGS) $(ARCHINCLUDES) $(ARCHDEFINES) -pipe
CXXFLAGS = $(ARCHCXXFLAGS) $(ARCHWARNINGSXX) $(ARCHOPTIMIZATION) \
$(ARCHCPUFLAGS) $(ARCHINCLUDES) $(ARCHDEFINES) -pipe
$(ARCHCPUFLAGS) $(ARCH
XX
INCLUDES) $(ARCHDEFINES) -pipe
CPPFLAGS = $(ARCHINCLUDES) $(ARCHDEFINES)
AFLAGS = $(CFLAGS) -D__ASSEMBLY__
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment