You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2020/07/02 04:18:47 UTC
[GitHub] [incubator-nuttx-apps] anchao opened a new pull request #319: make import: enhance make import
anchao opened a new pull request #319:
URL: https://github.com/apache/incubator-nuttx-apps/pull/319
## Summary
1. make/import: support import zip use relative path
```
mkimport.sh failure if using relative path:
$ ./tools/mkimport.sh -x ../incubator-nuttx/nuttx-export-9.1.0.zip
unzip: cannot find or open ../incubator-nuttx/nuttx-export-9.1.0.zip, ../incubator-nuttx/nuttx-export-9.1.0.zip.zip or ../incubator-nuttx/nuttx-export-9.1.0.zip.ZIP.
ERROR: unzip ../incubator-nuttx/nuttx-export-9.1.0.zip failed
```
2. make/import: copy the exported buildin registers
`copy the exported buildin registers to avoid symbols dropping on import build`
3. make/import: add post build support
`support post processing after binary install`
4. make/import: move the binary install to the top Makefile
`move the binary install to the main Makefile to support link extra libraries`
## Impact
make import
Depends on: https://github.com/apache/incubator-nuttx/pull/1345
## Testing
```
$ ./tools/configure.sh stm32f429i-disco:nsh
$ make export -j12
$ cd ../apps
$ ./tools/mkimport.sh -x ../incubator-nuttx/nuttx-export-9.1.0.zip
$ make import -j12
....
echo "CP: nuttx.hex"
CP: nuttx.hex
arm-none-eabi-objcopy -O ihex nuttx nuttx.hex
echo "CP: nuttx.bin"
CP: nuttx.bin
arm-none-eabi-objcopy -O binary nuttx nuttx.bin
make[1]: Leaving directory '/home/archer/code/apps'
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-nuttx-apps] xiaoxiang781216 merged pull request #319: make import: enhance make import
Posted by GitBox <gi...@apache.org>.
xiaoxiang781216 merged pull request #319:
URL: https://github.com/apache/incubator-nuttx-apps/pull/319
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org