scripts: Add script for creating binary archive
authorAnup Patel <anup.patel@wdc.com>
Wed, 20 Feb 2019 08:48:12 +0000 (14:18 +0530)
committerAnup Patel <anup@brainfault.org>
Fri, 22 Feb 2019 05:58:41 +0000 (11:28 +0530)
commitd022c5d3ae7890a0c11341c80dcef3e3ae674247
treed7bbfef6157e1e258c32fe5ccb7555bd9828ead3
parent889e746fd7be97ca0dbaaf7a6a734429b7ca607f
scripts: Add script for creating binary archive

This patch adds scripts/create-binary-archive.sh which helps
us create a common tarball containing headers, static library
and firmware ELFs for all platforms.

This script can be used for release purpose OR for compile
testing all platforms.

Example usage commands are as follows:

1) Binary release archive for 32bit systems
./scripts/create-binary-archive.sh -s "bin" -x 32 -d

2) Binary release archive for 64bit systems
./scripts/create-binary-archive.sh -s "bin" -d

3) Compile test for 32bit systems
./scripts/create-binary-archive.sh -x 32 -t

4) Compile test for 64bit systems
./scripts/create-binary-archive.sh -t

Signed-off-by: Anup Patel <anup.patel@wdc.com>
scripts/create-binary-archive.sh [new file with mode: 0755]