tools/Makefile.unix: Was not cleaning up export directory if it was left from a failed export. configs/sama5d4-ek/README.txt: Update.

This commit is contained in:
Gregory Nutt 2018-09-04 13:19:17 -06:00
parent 069e9b899c
commit b7726df9f7
2 changed files with 6 additions and 5 deletions

View File

@ -4153,7 +4153,7 @@ Configurations
A. Build with no symbol table
$ cd nuttx : Go to the NuttX build directory
$ tools/configure.sh sama5d4-ek/kernel : Establish this configuration
$ tools/configure.sh sama5d4-ek/knsh : Establish this configuration
$ export PATH=???:$PATH : Set up the PATH variable
$ make : Build the kerne with a dummy ROMFS image
: This should create the nuttx ELF
@ -4173,7 +4173,7 @@ Configurations
D. Create the symbol table from the apps/bin/content and copy back to NuttX
$ make symtab : Create the symbol table
$ ar rcs ../nuttx/binfmt/libbinfmt.a import/symtab.o
$ ar rcs ../nuttx/binfmt/libbinfmt.a exe/symtab_apps.o
NOTE: There are many ways to create symbol tables. The above will create
the minimal symbol tabled needed.
@ -4201,7 +4201,7 @@ Configurations
A. Build with dummy ROMFS file system image and no symbol table
$ tools/configure.sh sama5d4-ek/kernel : Establish this configuration
$ tools/configure.sh sama5d4-ek/knsh : Establish this configuration
$ export PATH=???:$PATH : Set up the PATH variable
$ touch configs/sama5d4-ek/include/boot_romfsimg.h
$ make : Build the kernel with a dummy ROMFS image
@ -4227,7 +4227,7 @@ Configurations
E. Create the symbol table from the apps/bin and copy it back to NuttX
$ make symtab : Create the symbol table
$ ar rcs ../nuttx/binfmt/libbinfmt.a import/symtab.o
$ ar rcs ../nuttx/binfmt/libbinfmt.a exe/symtab_apps.o
NOTE: There are many ways to create symbol tables. The above will create
the minimal symbol tabled needed.

View File

@ -577,7 +577,8 @@ clean: subdir_clean
$(call DELFILE, nuttx.*)
$(call DELFILE, *.map)
$(call DELFILE, _SAVED_APPS_config)
$(call DELFILE, nuttx-export*)
$(call DELFILE, nuttx-export*.zip)
$(call DELDIR, nuttx-export*)
$(call DELFILE, nuttx_user*)
$(call DELFILE, .cproject)
$(call DELFILE, .project)