[Xenomai] [patch] prepare_kernel.sh --board argument

Gregory Dymarek gregd72002 at gmail.com
Wed Apr 2 19:37:11 CEST 2014


Hi,

>From ealier discussion - given the evolution pace of ARM platforms, it
seems we will always have -pre and -post patches, so it would make
sense to add this support to prepare-kernel.sh.

Included patch that adds support for --board parameter to the
prepare_kernel.sh script. This will cause prepare_kernel.sh to apply
automatically pre and post patches if available.

When --board is provided the script will look for optional board
patches in the folder that ipipe patch is and in $board subfolder if
exsists.
It expects the patch name to be: {ipipe_base_name}-{board_name}-{pre,post}-*
Where {ipipe_base_name} is the ipipe name before the last '-'.

Example:
For ipipe-core-3.10.18-arm-1.patch and --board=raspberry it will look for:
- ipipe-core-3.10.18-arm-raspberry-{pre,post}-*.patch


Regards,
Gregory
-------------- next part --------------
A non-text attachment was scrubbed...
Name: prepare_kernel_board.patch
Type: text/x-patch
Size: 3051 bytes
Desc: not available
URL: <http://www.xenomai.org/pipermail/xenomai/attachments/20140402/e2e648f1/attachment.bin>



More information about the Xenomai mailing list