This script below automates this process by taking the various defconfigs to build for, as command line arguments.
How does it work:
- When u have a patch set ready
- Take a kernel tree make necessary changes
- Keep ur patch set in a directory & Edit the patchverifier.sh file
- PATCH_DIR variable to the directory containing patches
- Run #sh patchverifier.sh s3c6400 s5pv210 (for example)
- The script first runs checkpatch.pl and shows a choice to continue.
- Now, We have 2 options here
- apply the patches and commit or
- apply, commit and test for given _defconfigs
- It runs and logs the output in $PWD/log-files directory.
- It also filters the warnings during the build and log them in separate log files named as config + patch.log
- Here is the patchverifier.sh script.
- It support Ctrl+C interrupt, it copies the logfiles till moment and exits.
- Give me your valuble inputs & consider using it.
Wish Me,
No comments:
Post a Comment