diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-08-30 10:43:58 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-08-30 10:43:58 -0600 |
commit | 994aa23afe0095bbb54a0bcf83d33508936ac479 (patch) | |
tree | 6112be4a4b268830b92ac656eec42587132e2446 /nuttx/Makefile.win | |
parent | 9936518f53af0db714e8e5871fb08ef934111c2d (diff) | |
download | px4-nuttx-994aa23afe0095bbb54a0bcf83d33508936ac479.tar.gz px4-nuttx-994aa23afe0095bbb54a0bcf83d33508936ac479.tar.bz2 px4-nuttx-994aa23afe0095bbb54a0bcf83d33508936ac479.zip |
Separate flat, protected, and kernel mode library selected into separate files. The conditional logic as exceed my able to comprehend and maintain the selections.
Diffstat (limited to 'nuttx/Makefile.win')
-rw-r--r-- | nuttx/Makefile.win | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/nuttx/Makefile.win b/nuttx/Makefile.win index faa5d4cec..e5ba6466d 100644 --- a/nuttx/Makefile.win +++ b/nuttx/Makefile.win @@ -117,7 +117,15 @@ endif # Library build selections +ifeq ($(CONFIG_BUILD_PROTECTED),y) +include ProtectedLibs.mk +else +ifeq ($(CONFIG_BUILD_KERNEL),y) +include KernelLibs.mk +else include FlatLibs.mk +endif +endif # LINKLIBS derives from NUTTXLIBS and is simply the same list with the # subdirectory removed |