apps: Remove all stuff related to CONFIG_xxx_CXXINITIALIZE

since it is moved to the central place in nuttx side instead

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I544d6110f1ca6460f7c82f970870aa9b1e7ab3dd
This commit is contained in:
Xiang Xiao
2020-06-30 20:57:45 +08:00
committed by patacongo
parent 989d1aef13
commit b217de70e5
22 changed files with 13 additions and 454 deletions

View File

@@ -50,8 +50,6 @@
# include <nuttx/symtab.h>
#endif
#include "platform/cxxinitialize.h"
#include "nshlib/nshlib.h"
/****************************************************************************
@@ -80,12 +78,6 @@
# undef CONFIG_SYSTEM_NSH_SYMTAB
#endif
/* C++ initialization requires CXX initializer support */
#if !defined(CONFIG_HAVE_CXX) || !defined(CONFIG_HAVE_CXXINITIALIZE)
# undef CONFIG_SYSTEM_NSH_CXXINITIALIZE
#endif
/* The NSH telnet console requires networking support (and TCP/IP) */
#ifndef CONFIG_NET
@@ -137,12 +129,6 @@ int main(int argc, FAR char *argv[])
sched_setparam(0, &param);
}
#if defined(CONFIG_SYSTEM_NSH_CXXINITIALIZE)
/* Call all C++ static constructors */
up_cxxinitialize();
#endif
#if defined(CONFIG_SYSTEM_NSH_SYMTAB)
/* Make sure that we are using our symbol table */