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
+2 -2
View File
@@ -53,7 +53,7 @@
#include <nuttx/binfmt/binfmt.h>
#include <nuttx/lib/builtin.h>
#ifdef HAVE_BUILTIN_CONTEXT
#ifdef CONFIG_FS_BINFS
/****************************************************************************
* Private Function Prototypes
@@ -191,4 +191,4 @@ void builtin_uninitialize(void)
unregister_binfmt(&g_builtin_binfmt);
}
#endif /* HAVE_BUILTIN_CONTEXT */
#endif /* CONFIG_FS_BINFS */