Include nuttx/symtab.h instead of nuttx/binfmt/symtab.h since symtab.h under binfmt folder is for internal use.
This commit is contained in:
parent
7479cd6819
commit
3da8091d30
@ -30,7 +30,7 @@ varlist=`find ${dir} -executable -type f | xargs nm | fgrep ' U ' | sed -e "s/^[
|
||||
# faile
|
||||
|
||||
echo "#include <nuttx/compiler.h>"
|
||||
echo "#include <nuttx/binfmt/symtab.h>"
|
||||
echo "#include <nuttx/symtab.h>"
|
||||
echo ""
|
||||
|
||||
for var in $varlist; do
|
||||
|
@ -30,7 +30,7 @@ varlist=`find ${dir} -executable -type f | xargs nm | fgrep ' U ' | sed -e "s/^[
|
||||
# faile
|
||||
|
||||
echo "#include <nuttx/compiler.h>"
|
||||
echo "#include <nuttx/binfmt/symtab.h>"
|
||||
echo "#include <nuttx/symtab.h>"
|
||||
echo ""
|
||||
|
||||
for var in $varlist; do
|
||||
|
@ -54,7 +54,7 @@
|
||||
#include <debug.h>
|
||||
|
||||
#include <nuttx/module.h>
|
||||
#include <nuttx/binfmt/symtab.h>
|
||||
#include <nuttx/symtab.h>
|
||||
|
||||
#if defined(CONFIG_EXAMPLES_MODULE_ROMFS)
|
||||
# include <nuttx/drivers/ramdisk.h>
|
||||
|
@ -22,7 +22,7 @@ varlist=`find $dir -name "*-thunk.S"| xargs grep -h asciz | cut -f3 | sort | uni
|
||||
echo "#ifndef __EXAMPLES_NXFLAT_TESTS_SYMTAB_H"
|
||||
echo "#define __EXAMPLES_NXFLAT_TESTS_SYMTAB_H"
|
||||
echo ""
|
||||
echo "#include <nuttx/binfmt/symtab.h>"
|
||||
echo "#include <nuttx/symtab.h>"
|
||||
echo ""
|
||||
echo "static const struct symtab_s g_nxflat_exports[] = "
|
||||
echo "{"
|
||||
|
@ -74,12 +74,11 @@ spawn_main.o: spawn_main.c \
|
||||
$(TOPDIR)/include/debug.h \
|
||||
$(TOPDIR)/include/errno.h \
|
||||
$(TOPDIR)/include/nuttx/drivers/ramdisk.h \
|
||||
$(TOPDIR)/include/nuttx/binfmt/elf.h \
|
||||
$(TOPDIR)/include/nuttx/binfmt/symtab.h \
|
||||
$(TOPDIR)/include/nuttx/symtab.h \
|
||||
filesystem/romfs.h
|
||||
|
||||
symtab.o: filesystem/symtab.c \
|
||||
$(TOPDIR)/include/nuttx/compiler.h \
|
||||
$(TOPDIR)/include/nuttx/binfmt/symtab.h
|
||||
$(TOPDIR)/include/nuttx/symtab.h
|
||||
|
||||
include $(APPDIR)/Application.mk
|
||||
|
@ -30,7 +30,7 @@ varlist=`find ${dir} -executable -type f | xargs nm | fgrep ' U ' | sed -e "s/^[
|
||||
# faile
|
||||
|
||||
echo "#include <nuttx/compiler.h>"
|
||||
echo "#include <nuttx/binfmt/symtab.h>"
|
||||
echo "#include <nuttx/symtab.h>"
|
||||
echo ""
|
||||
|
||||
for var in $varlist; do
|
||||
|
@ -53,7 +53,7 @@
|
||||
#include <errno.h>
|
||||
|
||||
#include <nuttx/drivers/ramdisk.h>
|
||||
#include <nuttx/binfmt/symtab.h>
|
||||
#include <nuttx/symtab.h>
|
||||
|
||||
#include "filesystem/romfs.h"
|
||||
|
||||
|
@ -36,7 +36,7 @@ varlist=`echo $tmplist | sed -e "s/modprint//g"`
|
||||
# fail
|
||||
|
||||
echo "#include <nuttx/compiler.h>"
|
||||
echo "#include <nuttx/binfmt/symtab.h>"
|
||||
echo "#include <nuttx/symtab.h>"
|
||||
echo ""
|
||||
|
||||
for var in $varlist; do
|
||||
|
@ -50,7 +50,7 @@
|
||||
#include <errno.h>
|
||||
#include <debug.h>
|
||||
|
||||
#include <nuttx/binfmt/symtab.h>
|
||||
#include <nuttx/symtab.h>
|
||||
|
||||
#ifdef CONFIG_EXAMPLES_SOTEST_BUILTINFS
|
||||
# include <nuttx/drivers/ramdisk.h>
|
||||
|
@ -22,7 +22,7 @@ varlist=`find $dir -name "*-thunk.S"| xargs grep -h asciz | cut -f3 | sort | uni
|
||||
echo "#ifndef __EXAMPLES_NXFLAT_TESTS_SYMTAB_H"
|
||||
echo "#define __EXAMPLES_NXFLAT_TESTS_SYMTAB_H"
|
||||
echo ""
|
||||
echo "#include <nuttx/binfmt/symtab.h>"
|
||||
echo "#include <nuttx/symtab.h>"
|
||||
echo ""
|
||||
echo "static const struct symtab_s g_thttpd_exports[] = "
|
||||
echo "{"
|
||||
|
@ -42,7 +42,7 @@
|
||||
|
||||
#include <nuttx/config.h>
|
||||
|
||||
#include <nuttx/binfmt/symtab.h>
|
||||
#include <nuttx/symtab.h>
|
||||
|
||||
/****************************************************************************
|
||||
* Public Data
|
||||
|
@ -56,7 +56,7 @@
|
||||
#include <arpa/inet.h>
|
||||
|
||||
#include <nuttx/compiler.h>
|
||||
#include <nuttx/binfmt/symtab.h>
|
||||
#include <nuttx/symtab.h>
|
||||
#include "netutils/thttpd.h"
|
||||
|
||||
#include "config.h"
|
||||
|
@ -54,7 +54,7 @@
|
||||
#include <errno.h>
|
||||
#include <debug.h>
|
||||
|
||||
#include <nuttx/binfmt/symtab.h>
|
||||
#include <nuttx/symtab.h>
|
||||
#include <nuttx/binfmt/binfmt.h>
|
||||
#include "netutils/thttpd.h"
|
||||
|
||||
|
@ -47,7 +47,7 @@
|
||||
#include <errno.h>
|
||||
|
||||
#if defined(CONFIG_LIBC_EXECFUNCS)
|
||||
# include <nuttx/binfmt/symtab.h>
|
||||
# include <nuttx/symtab.h>
|
||||
#endif
|
||||
|
||||
#include "platform/cxxinitialize.h"
|
||||
|
Loading…
x
Reference in New Issue
Block a user