Home
last modified time | relevance | path

Searched +full:gcc +full:- +full:build +full:- +full:only (Results 1 – 13 of 13) sorted by relevance

/sof-2.7.6/
DKconfig.xtos-build1 # SPDX-License-Identifier: BSD-3-Clause
10 This config should affect only compiler settings and is
17 It means -O2 for GCC or equivalent for other compilers.
23 It means -Os for GCC or equivalent for other compilers.
29 It means -Og for GCC or equivalent for other compilers.
35 It means -O0 for GCC or equivalent for other compilers.
40 bool "Build VM ROM"
43 Select if you want to build VM ROM
DCMakeLists.txt1 # SPDX-License-Identifier: BSD-3-Clause
7 " In-source builds are not supported.\n"
9 " Then specify a build directory. Example: cmake -Bbuild ..."
31 option(BUILD_UNIT_TESTS "Build unit tests" OFF)
32 option(BUILD_UNIT_TESTS_HOST "Build unit tests for host" OFF)
33 option(BUILD_UNIT_TESTS_XTENSA_GCC "Build xtensa unit test using GCC" OFF)
34 option(BUILD_CLANG_SCAN "Build for clang's scan-build" OFF)
35 option(BUILD_COUNTERS "Enable build counter(s), timestamps and any other
36 non-deterministic build features" OFF)
41 # firmware build supports only xtensa arch for now
[all …]
/sof-2.7.6/scripts/cmake/
Dxtensa-toolchain.cmake1 # SPDX-License-Identifier: BSD-3-Clause
3 set(CROSS_COMPILE "${TOOLCHAIN}-")
8 " 1) cmake -DTOOLCHAIN=xt ...\n"
9 " 2) cmake -DTOOLCHAIN=xtensa-apl-elf ...\n"
14 # scan-build has to set its own compiler,
16 message(STATUS "Reset C Compiler for scan-build")
19 # scan-build proxies only compiler, other tools are used directly
23 set(XCC_TOOLS_VERSION "CLANG-SCAN-BUILD")
34 set(CMAKE_USER_MAKE_RULES_OVERRIDE "${CMAKE_CURRENT_LIST_DIR}/xtensa-platform.cmake")
49 # xt toolchain only partially follows gcc convention
[all …]
/sof-2.7.6/scripts/
Dxtensa-build-all.sh2 # SPDX-License-Identifier: BSD-3-Clause
6 set -e
9 imx8 imx8x imx8m imx8ulp tgl tgl-h rn)
13 BUILD_JOBS=$(nproc --all)
25 # The entire, purely local gcc build is so fast (~ 1s) that observing
26 # any difference between -j nproc and -j nproc*N is practically
27 # impossible so let's not waste RAM when building with gcc.
29 if [ -n "$XTENSA_TOOLS_ROOT" ]; then
46 Re-configures and re-builds SOF using the corresponding compiler and the
53 -r Build rom if available (gcc only)
[all …]
Dcheckpatch.pl2 # SPDX-License-Identifier: GPL-2.0
7 # (c) 2008-2010 Andy Whitcroft <apw@canonical.com>
8 # (c) 2010-2018 Joe Perches <joe@perches.com>
25 my $SOF = 1; # enables SOF-specific behaviour
65 my $allow_c99_comments = 1; # Can be overridden by --ignore C99_COMMENT_TOLERANCE
67 my $git_command ='export LANGUAGE=en_US.UTF-8; git';
77 -q, --quiet quiet
78 --no-tree run without a kernel tree
79 --no-signoff do not check for 'Signed-off-by' line
80 --patch treat FILE as patchfile (default)
[all …]
/sof-2.7.6/tools/scripts/
Dcross-arch64.cmake5 # cd build/
6 # cmake .. -DCMAKE_TOOLCHAIN_FILE=../scripts/cross-arch64.cmake
14 set(CMAKE_C_COMPILER "aarch64-linux-gnu-gcc")
15 set(CMAKE_CXX_COMPILER "aarch64-linux-gnu-g++")
18 # search programs in the host environment only.
21 # Search headers and libraries in the target environment only.
22 set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
23 set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
/sof-2.7.6/.github/workflows/
Dpull-request.yml1 ---
2 # Tools that can save round-trips to github and a lot of time:
4 # yamllint -f parsable pull_request.yml
6 # yaml merge-expand pull_request.yml exp.yml &&
7 # diff -w -u pull_request.yml exp.yml
14 # this name is the Checks window next to other, non-github checks.
17 # yamllint disable-line rule:truthy
21 - 'main'
22 - 'stable-**'
23 - '**-stable'
[all …]
/sof-2.7.6/src/include/sof/audio/tdfb/
Dtdfb_comp.h1 /* SPDX-License-Identifier: BSD-3-Clause
18 /* Select optimized code variant when xt-xcc compiler is used */
20 #include <xtensa/config/core-isa.h>
30 #error "No HIFIEP or HIFI3 found. Cannot build TDFB module."
33 /* GCC */
42 /* When set to one only one IPC is sent to host. There is not other requests
/sof-2.7.6/src/audio/
DKconfig1 # SPDX-License-Identifier: BSD-3-Clause
39 with 8 - 192 kHz input and 8 - 48 kHz output. The coefficients
49 with 8 - 48 kHz input and output. The coefficients are 32 bits
58 with 8 - 48 kHz input and output. The coefficients are 16 bits
59 that restricts the possible stop-attenuation and could cause
64 has no critical usage or when only need with lower quality
94 are available in ISA and are used by the compiler. i.e. xt-xcc on
95 xtensa will generate MAC instructions but GCC on xtensa won't.
111 cos algorithm converges, when the angle is in the range [-pi/2, pi/2).
113 or subtracted from the angle until it is within the range [-pi/2,pi/2).
[all …]
/sof-2.7.6/installer/
DGNUmakefile2 # SPDX-License-Identifier: BSD-3-Clause
12 -include config.mk
15 SIGNED_list ?= apl cnl icl jsl tgl tgl-h
21 # git grep 'sof-.*\.ri' -- sound/soc/
40 TOOLCHAIN := gcc
46 TREE_OPTS ?= --sort=size --dirsfirst
47 INSTALL_OPTS ?= -D -p -m 0664
51 SOF_VERSION ?= $(shell git describe --dirty)
54 VERSION_SUFFIX := -${SOF_VERSION}
60 ### Top-level directories ####
[all …]
/sof-2.7.6/test/cmocka/src/
Dcommon_mocks.c1 // SPDX-License-Identifier: BSD-3-Clause
3 // Copyright(c) 2019-2020 Intel Corporation. All rights reserved.
78 return -EINVAL; in memcpy_s()
82 return -EINVAL; in memcpy_s()
85 return -EINVAL; in memcpy_s()
342 * uuid should be used only in get_trace_class()
355 * GCC xtensa requires us to fake some of the standard C library calls
433 * TODO: Math support for GCC xtensa requires a little more work to use the
434 * newlib versions. This is just to build test only today !
/sof-2.7.6/src/arch/xtensa/
DCMakeLists.txt1 # SPDX-License-Identifier: BSD-3-Clause
3 # platform-specific values
24 set(RIMAGE_MOD_OFFSET_FLAG -x 24)
75 set(stdlib_flag "-nostdlib")
82 target_compile_definitions(sof_options INTERFACE -D__XTENSA__=1)
87 find_program(XCC_PATH NAMES "xt-xcc" PATHS ENV PATH NO_DEFAULT_PATH)
89 target_include_directories(sof_options INTERFACE ${XCC_DIR}/../xtensa-elf/include)
95 set(XTENSA_C_ASM_FLAGS -m32)
98 set(XTENSA_C_ASM_FLAGS -mlongcalls)
99 set(XTENSA_C_FLAGS -mtext-section-literals)
[all …]
/sof-2.7.6/scripts/kconfig/
Dkconfiglib.py1 # SPDX-License-Identifier: ISC
2 # Copyright (c) 2011-2018, Ulf Magnusson
9 from Kconfig (https://www.kernel.org/doc/Documentation/kbuild/kconfig-language.txt)
22 $ wget -qO- https://raw.githubusercontent.com/ulfalizer/Kconfiglib/master/makefile.patch | git am
23 …$ wget -qO- https://raw.githubusercontent.com/ulfalizer/Kconfiglib/master/makefile.patch | patch -
25 Warning: Not passing -p1 to patch will cause the wrong file to be patched.
38 $ git am Kconfiglib/makefile.patch (or 'patch -p1 < Kconfiglib/makefile.patch')
48 ----------------
55 --------------------------------
68 (usually only one). Printing a menu node will print its item, in Kconfig
[all …]