Pierre-Louis Bossart
826e361e7a
CMake/rimage: add option to use out-of-tree private key
...
On specific Intel platforms, we have to use a private key which is not
shared with the rest of the world.
Extend xtensa-build-all.sh with an option, and pass the key path
explicitly to cmake if needed.
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
2019-04-10 15:54:20 +02:00
Xun Zhang
d9c1c28fd5
scripts: build-tools: exit immediately when return an error value
...
fix build-tools script to exit immediately when error occurs.
Signed-off-by: Xun Zhang <xun2.zhang@intel.com>
2019-04-08 15:52:48 +02:00
Curtis Malainey
9cc3f6d10e
scripts: use local cpu count to build
...
Build faster by using all available cores by default
The xtensa script claims it used infinite build threads when j was not
specified but it was actually falling back to 1.
Signed-off-by: Curtis Malainey <cujomalainey@google.com>
2019-03-24 13:14:08 +00:00
Janusz Jankowski
dbf43b290a
cmake: add git hooks
...
Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
2019-03-21 15:43:25 +00:00
Ranjani Sridharan
d0bc31425a
scripts: add option to modify defconfig
...
Add an option to modify the defconfig during fw build using the
script. Without this, modifying the default config and building
the FW is a 2 step process.
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
2019-03-19 15:07:31 +00:00
Pan Xiuli
2dbe69e294
scripts: clean up the build dir for tools
...
Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2019-03-11 20:49:40 +00:00
Pan Xiuli
92d53023ea
scripts: add clean up for host-build-all.sh
...
re-run the script will have no error now
Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2019-03-10 18:11:52 +01:00
Marcin Maka
69f0bde757
ci: klocwork: add example config file to avoid FPs
...
Signed-off-by: Marcin Maka <marcin.maka@linux.intel.com>
2019-02-22 12:16:05 +01:00
Janusz Jankowski
b7fc937e04
scripts: sof-target-install update for cmake tools
...
Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
2019-02-14 18:00:26 +00:00
Janusz Jankowski
cc16d6d824
scripts: update build-tools.sh for cmake
...
Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
2019-02-14 18:00:26 +00:00
Pan Xiuli
8c13fce6e5
[skip ci]scripts: fix a typo in name of targe install scripts
...
Change the scipts name.
Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2019-02-11 11:54:52 +00:00
Pan Xiuli
aa172da919
[skip ci]scirpts: update target install
...
Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2019-02-11 11:54:52 +00:00
Janusz Jankowski
a4f666527e
cmake: add build counter
...
Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
2019-02-11 11:53:32 +00:00
Janusz Jankowski
46730e89c6
cmake: refactor version.h rule
...
Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
2019-02-11 11:53:32 +00:00
Janusz Jankowski
9a4a822309
cmake: add savedefconfig target
...
Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
2019-02-07 21:12:39 +00:00
Janusz Jankowski
221cdfaf8a
cmake: add alldefconfig target
...
Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
2019-02-07 21:12:39 +00:00
Janusz Jankowski
d98c9d5a8b
cmake: add olddefconfig target
...
Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
2019-02-07 21:12:39 +00:00
Janusz Jankowski
ba7d875086
cmake: refactor kconfig targets
...
Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
2019-02-07 21:12:39 +00:00
Janusz Jankowski
0144b2f41f
cmake: change object files extension to .o
...
Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
2019-02-06 10:23:21 +00:00
Janusz Jankowski
8d408eb2e6
cmake: add dist target
...
Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
2019-02-05 16:44:22 +00:00
Liam Girdwood
1c02611612
scripst: copy more tools and scripts to target.
...
Some tools and tests not added until their name prefix is fixed to sof-
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2019-02-01 12:08:23 +00:00
Pan Xiuli
3bc040271d
scripts: replace alsa-lib with sof mirror
...
Use local version that still in review stage that we can have test
before final merge in upstream.
Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2019-01-31 20:20:51 +00:00
Pan Xiuli
1a88947629
[skip ci]scirpts: add sof-target-install scripts
...
Install all FW and all TPLG files into
root@hostname/ip:/lib/firmware/intel folder.
install sof-logger and LDC files into root@hostname/ip:~/
Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2019-01-30 12:00:10 +00:00
Janusz Jankowski
7342811168
cmake: make CI builds verbose
...
Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
2019-01-29 12:38:48 +00:00
Janusz Jankowski
79e0d67fdb
scripts: remove rimage-build.sh
...
Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
2019-01-28 13:35:29 +01:00
Keyon Jie
905bad4252
scripts: xtensa-build-all: Add support to force build UP Arch
...
Add -u option to allow force building xtensa(up) ARCH on platforms which
usually building xtensa-smp by default.
Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
2019-01-24 15:32:27 +00:00
Pan Xiuli
2b0249373f
scripts: change names for binary in qemu-check
...
Use back old style name.
Modify the build folder as gcc and xcc prefix added.
Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2019-01-23 10:59:50 +00:00
Pan Xiuli
140914aa03
scripts: update build all scripts
...
Use different build folder for gcc and xcc build.
Will auto selected if ROM build is not supported for the platform,
thus make -a -r can work.
Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2019-01-23 10:59:50 +00:00
Janusz Jankowski
2843b43f94
cmake: update qemu-check.sh
...
Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
2019-01-22 15:35:35 +00:00
Janusz Jankowski
06b576f828
cmake: update host-build-all.sh
...
Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
2019-01-22 15:35:35 +00:00
Janusz Jankowski
9840ecbbfe
cmake: update xtensa-build-all.sh
...
Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
2019-01-22 15:35:35 +00:00
Janusz Jankowski
4574fdc15a
cmake: add overrideconfig
...
overrideconfig is custom target that can be used
to set config values from scripts
Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
2019-01-22 15:35:35 +00:00
Janusz Jankowski
82b4da291b
cmake: defconfigs support
...
Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
2019-01-22 15:35:35 +00:00
Janusz Jankowski
82d234466a
cmake: version script
...
Replace version.sh with cmake script.
Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
2019-01-22 15:35:35 +00:00
Janusz Jankowski
0fd97adfb0
cmake: add utility scripts
...
Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
2019-01-22 15:35:35 +00:00
Janusz Jankowski
7c0f0d917c
kconfig: add Kconfiglib
...
Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
2019-01-22 15:35:35 +00:00
Pan Xiuli
36e1139c97
scripts: pre update sof docker for cmake covert
...
Update the sof docker to support cmake to pre test cmake build system
change.
Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2019-01-22 09:36:13 +00:00
Pan Xiuli
cb0786cf42
scripts: update qemu boot check
...
Enable checks to all supported platforms of QEMU now.
Check both IPC header regs and memory window IPC message header.
Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2019-01-18 08:27:29 +00:00
Pan Xiuli
51cab44e2a
scripts: install hexdump in docker
...
Need hexdump for the binary file read to detect qemu boot status.
Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2019-01-18 08:27:29 +00:00
Pierre-Louis Bossart
72c546366d
scripts/checkpatch.pl: remove trace format warnings
...
remove multi-line quoted strings and use of __func__
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
2019-01-16 20:07:40 +00:00
Pan Xiuli
b25b1304dc
scripts: add qemu check for more platforms
...
Add QEMU boot test for more platforms.
Disable three unfinished platforms: SKL, KBL, CNL
Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2019-01-14 13:58:29 +00:00
Pan Xiuli
b01432e96a
scripts: increase shm size for some QEMU platforms
...
SHM used to be 64MB, but in newer platform a HP-SRAM is bigger than
that.
Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2019-01-14 13:58:29 +00:00
Pan Xiuli
26528f6313
scripts: default to have local rimage install
...
rimage will default to be build and install to local folder to avoid
ABI changes issues.
Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2019-01-10 15:10:10 +00:00
Pan Xiuli
3b2cfd80f9
scripts: remove all soft related stuff
...
soft is now sof/tools remove all outdated things.
Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2019-01-10 15:10:10 +00:00
Pan Xiuli
12e11b7693
scripts: enable tools test build
...
When pass -t, we will run make tests to build test topology.
Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2018-12-04 13:43:51 +00:00
Pan Xiuli
8174738b53
scripts: add rom build option
...
Enable build rom for the target. Could only use with GCC compiler.
Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2018-12-04 13:43:51 +00:00
Curtis Malainey
c0c8172535
Update Docker README for SOFT merge
...
Signed-off-by: Curtis Malainey <cujomalainey@chromium.org>
2018-11-24 23:38:51 -08:00
Curtis Malainey
f8e3b126e1
Adjust tools build script for new path
...
Signed-off-by: Curtis Malainey <cujomalainey@chromium.org>
2018-11-24 23:30:33 -08:00
Liam Girdwood
baf2806626
scripts: xtensa-build-all: Add support for > 1 makefile job
...
Add -j option to allow setting Makefile jobs.
Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2018-11-21 15:52:00 +00:00
Janusz Jankowski
b5af84deaa
scripts: add smp builds to xtensa-build-all.sh
...
Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
2018-11-15 13:46:33 +01:00