Janusz Jankowski
c6e12d53d8
scripts: add documentation generator
...
Process of documentation building and publishing requires
3 repositories. It is troublesome for people that are responsible
f.e. only for documentation publishing. It makes the process
easier by turning some easy to break steps from publisher instructions
into a script.
Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
2019-06-13 13:29:02 +01:00
Janusz Jankowski
5dd9aaccb4
cmake: xtensa: use absolute paths for tools
...
CMake has convention of changing relative paths to absolute
for CMAKE_* variables. It does it automatically f.e. CMAKE_C_COMPILER.
However for our tools like objcopy we have to do it manually.
It also helps with integration of CMake in some IDEs.
Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
2019-06-05 11:38:23 +02:00
Janusz Jankowski
ba2fefb172
license: use spdx identifier in shell scripts
...
Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
2019-06-02 16:38:17 +01:00
Janusz Jankowski
69b32abda1
checkpatch: add spdx identifier
...
Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
2019-06-02 16:38:17 +01:00
Janusz Jankowski
644a1b4746
license: use spdx identifier in python files
...
Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
2019-06-02 16:38:17 +01:00
Janusz Jankowski
c6064624f6
cmake: add spdx license identifier
...
Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
2019-06-02 16:38:17 +01:00
Janusz Jankowski
e39ed5ebf4
include: split uapi headers into more directories
...
Some of interface headers are not needed by kernel,
but are needed by user-space applications, so we can split them
into multiple directories that indicate their purpose.
Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
2019-05-31 20:10:45 +01:00
Pan Xiuli
9c15883f67
scripts: add imx8 platform in build all sripts
...
Add imx8 support in build all scripts.
Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2019-05-30 13:18:47 +02:00
Pan Xiuli
c467b5285e
scripts: update sof_builder docker with imx8 support
...
Add imx8 cross compiler in sof_builder docker build file.t
Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2019-05-30 13:18:47 +02:00
Pan Xiuli
462f9174a9
scripts: update build step align with wiki
...
In SOF WIKI, used another clean up cmd, change here to align with docs.
Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2019-05-30 13:18:47 +02:00
Janusz Jankowski
df48bfce77
cmake: git hooks for non-unix os
...
Add support for non-unix systems that have bash shell.
Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
2019-05-22 08:26:05 +02:00
Jakub Dabek
db16f82c8c
checkpatch: added check for memcpy calls
...
Added check for memcpy calls and warning that they should be
memcpy_s calls if possible.
Signed-off-by: Jakub Dabek <jakub.dabek@intel.com>
2019-05-15 12:45:48 +02:00
Janusz Jankowski
982307ebdc
scripts: build testbench for host
...
Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
2019-05-07 08:49:48 +02:00
Janusz Jankowski
2693daf503
cmake: rename BUILD_HOST to BUILD_LIBRARY
...
Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
2019-05-07 08:49:48 +02:00
Janusz Jankowski
fdda8f6820
host: enable kconfig
...
Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
2019-05-07 08:49:48 +02:00
Slawomir Blauciak
980171e607
dai: supply caps and other info from within drivers
...
This change gathers some of the information inside of the DAI drivers,
which was previously inferred using external logic.
Signed-off-by: Slawomir Blauciak <slawomir.blauciak@linux.intel.com>
2019-05-03 03:14:43 -07:00
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