builtin: Remove HAVE_BUILTIN_CONTEXT macro

it's enough to decide which code should be compiled with CONFIG_BUILTIN and CONFIG_FS_BINFS

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao
2020-04-30 14:35:04 +08:00
committed by Alan Carvalho de Assis
parent 8b054dba98
commit fe5cb9529d
7 changed files with 5 additions and 27 deletions

View File

@@ -147,7 +147,7 @@ void binfmt_freeargv(FAR struct binary_s *bin);
*
****************************************************************************/
#if defined(CONFIG_FS_BINFS) && defined(HAVE_BUILTIN_CONTEXT)
#ifdef CONFIG_FS_BINFS
int builtin_initialize(void);
#endif
@@ -162,7 +162,7 @@ int builtin_initialize(void);
*
****************************************************************************/
#if defined(CONFIG_FS_BINFS) && defined(HAVE_BUILTIN_CONTEXT)
#ifdef CONFIG_FS_BINFS
void builtin_uninitialize(void);
#endif