blob: a94890687d994bacfa76eaeabc09b90796deb31f [file] [log] [blame]
Liam Girdwoodc0dfb4e2016-09-21 15:57:22 +01001AC_PREREQ([2.69])
Liam Girdwood6bb37832018-01-10 20:43:25 +00002AC_INIT([sof],[m4_esyscmd(./version.sh)],[sound-open-firmware@alsa-project.org])
Liam Girdwoodc0dfb4e2016-09-21 15:57:22 +01003AC_CONFIG_SRCDIR([src/init/init.c])
4AC_CONFIG_HEADERS([src/include/config.h])
5AC_CONFIG_MACRO_DIRS([m4])
6AM_INIT_AUTOMAKE([foreign 1.11 -Wall -Wno-portability subdir-objects silent-rules color-tests dist-xz tar-ustar])
7
8# Initialize maintainer mode
9AM_MAINTAINER_MODE([enable])
10
11# get version info from git
Pierre-Louis Bossart81708a52018-04-04 18:46:50 -050012m4_define(sof_major, `cat .version | cut -dv -f2 | cut -d. -f1`)
13m4_define(sof_minor, `cat .version | cut -d. -f2 | cut -d- -f1`)
14m4_define(sof_micro, `cat .version | cut -d. -f3 | cut -d- -f1`)
15AC_DEFINE_UNQUOTED([SOF_MAJOR], sof_major, [Sof major version])
16AC_DEFINE_UNQUOTED([SOF_MINOR], sof_minor, [Sof minor version])
17AC_DEFINE_UNQUOTED([SOF_MICRO], sof_micro, [Sof micro version])
Liam Girdwoodc0dfb4e2016-09-21 15:57:22 +010018
19AC_CANONICAL_HOST
20
21# General compiler flags
Liam Girdwood05ef4342018-02-13 20:29:40 +000022CFLAGS="${CFLAGS:+$CFLAGS } -O2 -g -Wall -Werror -Wl,-EL -Wmissing-prototypes"
Liam Girdwoodc0dfb4e2016-09-21 15:57:22 +010023
Liam Girdwoodcc9fba32018-01-22 23:31:24 +000024# General assembler flags
25ASFLAGS="-DASSEMBLY"
26AC_SUBST(ASFLAGS)
27
Liam Girdwoodc0dfb4e2016-09-21 15:57:22 +010028# Cross compiler tool libgcc and headers
Liam Girdwood8855ce52016-10-18 17:18:16 +010029AC_ARG_WITH([root-dir],
Tomasz Laudaac7b0c22018-06-04 12:03:42 +010030 AS_HELP_STRING([--with-root-dir], [Specify location of cross gcc libraries and headers]),
31 [], [with_root_dir=no])
32
33# MEU location
34AC_ARG_WITH([meu],
35 AS_HELP_STRING([--with-meu], [Specify location of MEU tool]),
36 [], [with_meu=no])
37if test "x$with_meu" != "xno"; then
38 MEU_PATH="$with_meu"
39 AC_SUBST(MEU_PATH)
40
41 MEU_VERSION=$($with_meu/meu -ver | grep "Version:" | cut -d" " -f6)
42 AX_COMPARE_VERSION([$MEU_VERSION], [ge], [12.0.0.1035], [MEU_OFFSET=1088], [MEU_OFFSET=1152])
43 AC_SUBST(MEU_OFFSET)
44fi
45AM_CONDITIONAL(USE_MEU, test "x$with_meu" != "xno")
46
47# Private key location
48AC_ARG_WITH([key],
49 AS_HELP_STRING([--with-key], [Specify location of private key]),
50 [], [with_key=no])
51if test "x$with_meu" != "xno"; then
52 if test "x$with_key" != "xno"; then
53 PRIVATE_KEY="$with_key"
54 AC_SUBST(PRIVATE_KEY)
55 else
56 AC_MSG_ERROR([Private key location not specified])
57 fi
58fi
Ranjani Sridharan05058232018-01-24 22:42:38 -080059
60# check if we are building FW image or library
61AC_ARG_ENABLE(library, [AS_HELP_STRING([--enable-library],[build library])], have_library=$enableval, have_library=no)
62if test "$have_library" = "yes"; then
63 AC_DEFINE([CONFIG_LIB], [1], [Configure for Shared Library])
64fi
65AM_CONDITIONAL(BUILD_LIB, test "$have_library" = "yes")
Liam Girdwoodc0dfb4e2016-09-21 15:57:22 +010066
Liam Girdwood05ef4342018-02-13 20:29:40 +000067# check if we are building tools
68AC_ARG_ENABLE(rimage, [AS_HELP_STRING([--enable-rimage],[build rimage tool])], have_rimage=$enableval, have_rimage=no)
69if test "$have_rimage" = "yes"; then
70 AC_DEFINE([CONFIG_RIMAGE], [1], [Configure to build rimage])
71fi
72AM_CONDITIONAL(BUILD_RIMAGE, test "$have_rimage" = "yes")
73
Seppo Ingalsuo447ac9b2018-05-11 17:03:03 +030074# Disable DMIC driver if requested, by default build for supported platforms
75AC_ARG_ENABLE([dmic], AS_HELP_STRING([--disable-dmic], [Disable DMIC driver]))
76AS_IF([test "x$enable_dmic" != "xno"], [
77 AC_DEFINE([CONFIG_DMIC], [1], [Configure to build DMIC driver])
78])
79
Liam Girdwoodc0dfb4e2016-09-21 15:57:22 +010080# Architecture support
81AC_ARG_WITH([arch],
82 AS_HELP_STRING([--with-arch], [Specify DSP architecture]),
83 [], [with_arch=no])
84
85case "$with_arch" in
86 xtensa*)
Liam Girdwoodc0dfb4e2016-09-21 15:57:22 +010087
88 ARCH_CFLAGS="-mtext-section-literals"
89 AC_SUBST(ARCH_CFLAGS)
90
91 ARCH_LDFLAGS="-nostdlib -Wl,--no-check-sections -u call_user_start -Wl,-static"
92 AC_SUBST(XTENSA_LDFLAGS)
93
94 # extra CFLAGS defined here otherwise configure working gcc tests fails.
Liam Girdwood05ef4342018-02-13 20:29:40 +000095 CFLAGS="${CFLAGS:+$CFLAGS }-fno-inline-functions -nostdlib -mlongcalls"
Liam Girdwoodc0dfb4e2016-09-21 15:57:22 +010096 LDFLAGS="${LDFLAGS:+$LDFLAGS }-nostdlib"
97
98 #ARCH_ASFLAGS=""
99 AC_SUBST(ARCH_ASFLAGS)
100
101 ARCH="xtensa"
102 AC_SUBST(ARCH)
Ranjani Sridharan05058232018-01-24 22:42:38 -0800103
104 AS_IF([test "x$with_root_dir" = xno],
105 AC_MSG_ERROR([Please specify cross compiler root header directory]),
106 [ROOT_DIR=$with_root_dir])
107 AC_SUBST(ROOT_DIR)
108 ;;
109 host*)
110
111 ARCH_CFLAGS="-g"
112 AC_SUBST(ARCH_CFLAGS)
113
114 # extra CFLAGS defined here otherwise configure working gcc tests fails.
115 CFLAGS="${CFLAGS:+$CFLAGS } -O3"
116 LDFLAGS="${LDFLAGS:+$LDFLAGS }-lpthread"
117
118 ARCH="host"
119 AC_SUBST(ARCH)
Liam Girdwoodc0dfb4e2016-09-21 15:57:22 +0100120 ;;
121 *)
Liam Girdwood05ef4342018-02-13 20:29:40 +0000122 if test "$have_rimage" = "no"; then
123 AC_MSG_ERROR([DSP architecture not specified])
124 fi
Liam Girdwoodc0dfb4e2016-09-21 15:57:22 +0100125 ;;
126esac
127
Liam Girdwood2eab4672017-11-27 05:24:51 +0800128AM_CONDITIONAL(BUILD_XTENSA, test "$ARCH" = "xtensa")
Ranjani Sridharan05058232018-01-24 22:42:38 -0800129AM_CONDITIONAL(BUILD_HOST, test "$ARCH" = "host")
Liam Girdwoodc0dfb4e2016-09-21 15:57:22 +0100130
131# Platform support
132AC_ARG_WITH([platform],
133 AS_HELP_STRING([--with-platform], [Specify Host Platform]),
134 [], [with_platform=no])
135
136case "$with_platform" in
137 baytrail*)
Liam Girdwoodc0dfb4e2016-09-21 15:57:22 +0100138
139 PLATFORM_LDSCRIPT="baytrail.x"
140 AC_SUBST(PLATFORM_LDSCRIPT)
141
142 PLATFORM="baytrail"
143 AC_SUBST(PLATFORM)
144
145 FW_NAME="byt"
146 AC_SUBST(FW_NAME)
147
Liam Girdwoodf63c7892017-12-04 20:08:39 +0000148 XTENSA_CORE="hifiep_bd5"
Liam Girdwoodc0dfb4e2016-09-21 15:57:22 +0100149 AC_SUBST(XTENSA_CORE)
150
151 AC_DEFINE([CONFIG_BAYTRAIL], [1], [Configure for Baytrail])
Keyon Jiefb784212017-12-06 21:16:32 +0800152 AC_DEFINE([CONFIG_HOST_PTABLE], [1], [Configure handling host page table])
Liam Girdwoodc0dfb4e2016-09-21 15:57:22 +0100153 ;;
154 cherrytrail*)
Liam Girdwoodc0dfb4e2016-09-21 15:57:22 +0100155
156 PLATFORM_LDSCRIPT="baytrail.x"
157 AC_SUBST(PLATFORM_LDSCRIPT)
158
159 PLATFORM="baytrail"
160 AC_SUBST(PLATFORM)
161
162 FW_NAME="cht"
163 AC_SUBST(FW_NAME)
164
Liam Girdwoodf63c7892017-12-04 20:08:39 +0000165 XTENSA_CORE="hifiep_bd5"
Liam Girdwoodc0dfb4e2016-09-21 15:57:22 +0100166 AC_SUBST(XTENSA_CORE)
167
168 AC_DEFINE([CONFIG_CHERRYTRAIL], [1], [Configure for Cherrytrail])
Keyon Jiefb784212017-12-06 21:16:32 +0800169 AC_DEFINE([CONFIG_HOST_PTABLE], [1], [Configure handling host page table])
Liam Girdwoodc0dfb4e2016-09-21 15:57:22 +0100170 ;;
Liam Girdwood095c9072018-01-23 14:53:00 +0000171 apollolake*)
172
173 PLATFORM_LDSCRIPT="apollolake.x"
174 AC_SUBST(PLATFORM_LDSCRIPT)
175
176 PLATFORM="apollolake"
177 AC_SUBST(PLATFORM)
178
179 FW_NAME="apl"
180 AC_SUBST(FW_NAME)
181
182 XTENSA_CORE="hifi3_std"
183 AC_SUBST(XTENSA_CORE)
184
185 AC_DEFINE([CONFIG_APOLLOLAKE], [1], [Configure for Apololake])
Tomasz Lauda80f3d472018-06-05 18:25:37 +0200186 AC_DEFINE([CONFIG_BOOT_LOADER], [1], [Configure Boot Loader])
Liam Girdwood095c9072018-01-23 14:53:00 +0000187 AC_DEFINE([CONFIG_IRQ_MAP], [1], [Configure IRQ maps])
Keyon Jiec610c642018-02-08 20:48:11 +0800188 AC_DEFINE([CONFIG_DMA_GW], [1], [Configure DMA Gateway])
Liam Girdwood095c9072018-01-23 14:53:00 +0000189 ;;
Liam Girdwoodf198ad92018-01-21 23:48:35 +0000190 haswell*)
191
192 PLATFORM_LDSCRIPT="haswell.x"
193 AC_SUBST(PLATFORM_LDSCRIPT)
194
195 PLATFORM="haswell"
196 AC_SUBST(PLATFORM)
197
198 FW_NAME="hsw"
199 AC_SUBST(FW_NAME)
200
201 XTENSA_CORE="hifiep_bd5"
202 AC_SUBST(XTENSA_CORE)
203
204 AC_DEFINE([CONFIG_HASWELL], [1], [Configure for Haswell])
205 AC_DEFINE([CONFIG_HOST_PTABLE], [1], [Configure handling host page table])
206 ;;
207 broadwell*)
208
209 PLATFORM_LDSCRIPT="broadwell.x"
210 AC_SUBST(PLATFORM_LDSCRIPT)
211
212 PLATFORM="haswell"
213 AC_SUBST(PLATFORM)
214
215 FW_NAME="bdw"
216 AC_SUBST(FW_NAME)
217
218 XTENSA_CORE="hifiep_bd5"
219 AC_SUBST(XTENSA_CORE)
220
221 AC_DEFINE([CONFIG_BROADWELL], [1], [Configure for Broadwell])
222 AC_DEFINE([CONFIG_HOST_PTABLE], [1], [Configure handling host page table])
223 ;;
Liam Girdwood17c6bcf2018-01-23 15:44:08 +0000224 cannonlake*)
225
226 PLATFORM_LDSCRIPT="cannonlake.x"
227 AC_SUBST(PLATFORM_LDSCRIPT)
228
229 PLATFORM="cannonlake"
230 AC_SUBST(PLATFORM)
231
232 FW_NAME="cnl"
233 AC_SUBST(FW_NAME)
234
235 XTENSA_CORE="hifi4_std"
236 AC_SUBST(XTENSA_CORE)
237
238 AC_DEFINE([CONFIG_CANNONLAKE], [1], [Configure for Cannonlake])
Tomasz Lauda80f3d472018-06-05 18:25:37 +0200239 AC_DEFINE([CONFIG_BOOT_LOADER], [1], [Configure Boot Loader])
Liam Girdwood17c6bcf2018-01-23 15:44:08 +0000240 AC_DEFINE([CONFIG_IRQ_MAP], [1], [Configure IRQ maps])
Keyon Jiec610c642018-02-08 20:48:11 +0800241 AC_DEFINE([CONFIG_DMA_GW], [1], [Configure DMA Gateway])
Liam Girdwood17c6bcf2018-01-23 15:44:08 +0000242 ;;
Liam Girdwoodc0dfb4e2016-09-21 15:57:22 +0100243 *)
Liam Girdwood05ef4342018-02-13 20:29:40 +0000244 if test "$have_rimage" = "no"; then
245 if test "$ARCH" = "host"; then
246 PLATFORM="host"
247 AC_SUBST(PLATFORM)
248 else
249 AC_MSG_ERROR([Host platform not specified])
250 fi
Ranjani Sridharan05058232018-01-24 22:42:38 -0800251 fi
Liam Girdwoodc0dfb4e2016-09-21 15:57:22 +0100252 ;;
253esac
254
Liam Girdwood2eab4672017-11-27 05:24:51 +0800255AM_CONDITIONAL(BUILD_BAYTRAIL, test "$FW_NAME" = "byt")
256AM_CONDITIONAL(BUILD_CHERRYTRAIL, test "$FW_NAME" = "cht")
257AM_CONDITIONAL(BUILD_HASWELL, test "$FW_NAME" = "hsw")
258AM_CONDITIONAL(BUILD_BROADWELL, test "$FW_NAME" = "bdw")
259AM_CONDITIONAL(BUILD_APOLLOLAKE, test "$FW_NAME" = "apl")
Liam Girdwood17c6bcf2018-01-23 15:44:08 +0000260AM_CONDITIONAL(BUILD_CANNONLAKE, test "$FW_NAME" = "cnl")
Tomasz Lauda80f3d472018-06-05 18:25:37 +0200261AM_CONDITIONAL(BUILD_BOOTLOADER, test "$FW_NAME" = "apl" -o "$FW_NAME" = "cnl")
Liam Girdwood095c9072018-01-23 14:53:00 +0000262AM_CONDITIONAL(BUILD_MODULE, test "$FW_NAME" = "apl" -o "$FW_NAME" = "cnl")
Rander Wang45027652018-02-08 16:06:33 +0800263AM_CONDITIONAL(BUILD_APL_SSP, test "$FW_NAME" = "apl" -o "$FW_NAME" = "cnl")
Liam Girdwoodf198ad92018-01-21 23:48:35 +0000264
Sebastien Guiriecca23f512016-11-02 08:44:19 +0100265# DSP core support (Optional)
266AC_ARG_WITH([dsp-core],
267 AS_HELP_STRING([--with-dsp-core], [Specify DSP Core]),
268 [], [with_dsp_core=no])
269
270case "$with_dsp_core" in
Tomasz Lauda7f352662018-04-05 17:20:09 +0200271 *)
272 XTENSA_CORE="$with_dsp_core"
Sebastien Guiriecca23f512016-11-02 08:44:19 +0100273 AC_SUBST(XTENSA_CORE)
274 ;;
275
276esac
277
Liam Girdwood17c6bcf2018-01-23 15:44:08 +0000278PLATFORM_BOOT_LDR_LDSCRIPT="boot_ldr.x"
279AC_SUBST(PLATFORM_BOOT_LDR_LDSCRIPT)
280
Ranjani Sridharan05058232018-01-24 22:42:38 -0800281# Optimisation settings and checks
282
283# SSE4_2 support
284AC_ARG_ENABLE(sse42, [AS_HELP_STRING([--enable-sse42],[enable SSE42 optimizations])], have_sse42=$enableval, have_sse42=yes)
285AX_CHECK_COMPILE_FLAG(-msse4.2, [SSE42_CFLAGS="-DOPS_SSE42 -msse4.2 -ffast-math -ftree-vectorizer-verbose=0"],
286 [have_sse42=no])
287if test "$have_sse42" = "yes"; then
288 AC_DEFINE(HAVE_SSE42,1,[Define to enable SSE42 optimizations.])
289fi
290AM_CONDITIONAL(HAVE_SSE42, test "$have_sse42" = "yes")
291AC_SUBST(SSE42_CFLAGS)
292
293# AVX support
294AC_ARG_ENABLE(avx, [AS_HELP_STRING([--enable-avx],[enable AVX optimizations])], have_avx=$enableval, have_avx=yes)
295AX_CHECK_COMPILE_FLAG(-mavx, [AVX_CFLAGS="-DOPS_AVX -mavx -ffast-math -ftree-vectorizer-verbose=0"],
296 [have_avx=no])
297if test "$have_avx" = "yes"; then
298 AC_DEFINE(HAVE_AVX,1,[Define to enable AVX optimizations.])
299fi
300AM_CONDITIONAL(HAVE_AVX, test "$have_avx" = "yes")
301AC_SUBST(AVX_CFLAGS)
302
303
304# AVX2 support
305AC_ARG_ENABLE(avx2, [AS_HELP_STRING([--enable-avx2],[enable AVX2 optimizations])], have_avx2=$enableval, have_avx2=yes)
306AX_CHECK_COMPILE_FLAG(-mavx2, [AVX2_CFLAGS="-DOPS_AVX2 -mavx2 -ffast-math -ftree-vectorizer-verbose=0"],
307 [have_avx2=no])
308if test "$have_avx2" = "yes"; then
309 AC_DEFINE(HAVE_AVX2,1,[Define to enable AVX2 optimizations.])
310fi
311AM_CONDITIONAL(HAVE_AVX2, test "$have_avx2" = "yes")
312AC_SUBST(AVX2_CFLAGS)
313
314
315# FMA support
316AC_ARG_ENABLE(fma, [AS_HELP_STRING([--enable-fma],[enable FMA optimizations])], have_fma=$enableval, have_fma=yes)
317AX_CHECK_COMPILE_FLAG(-mfma, [FMA_CFLAGS="-DOPS_FMA -mfma -ffast-math -ftree-vectorizer-verbose=0"],
318 [have_fma=no])
319if test "$have_fma" = "yes"; then
320 AC_DEFINE(HAVE_FMA,1,[Define to enable FMA optimizations.])
321fi
322AM_CONDITIONAL(HAVE_FMA, test "$have_fma" = "yes")
323AC_SUBST(FMA_CFLAGS)
324
325# Hifi2EP
326AC_ARG_ENABLE(hifi2ep, [AS_HELP_STRING([--enable-hifi2ep],[enable HiFi2EP optimizations])], have_hifi2ep=$enableval, have_hifi2ep=yes)
327AX_CHECK_COMPILE_FLAG(-mhifi2ep, [FMA_CFLAGS="-DOPS_HIFI2EP -mhifi2ep -ffast-math -ftree-vectorizer-verbose=0"],
328 [have_hifi2ep=no])
329if test "$have_hifi2ep" = "yes"; then
330 AC_DEFINE(HAVE_HIFI2EP,1,[Define to enable Hifi2 EP optimizations.])
331fi
332AM_CONDITIONAL(HAVE_HIFI2EP, test "$have_hifi2ep" = "yes")
333AC_SUBST(HIFI2EP_CFLAGS)
334
335# Hifi3
336AC_ARG_ENABLE(hifi3, [AS_HELP_STRING([--enable-hifi3],[enable HiFi3 optimizations])], have_hifi3=$enableval, have_hifi3=yes)
337AX_CHECK_COMPILE_FLAG(-mhihi3, [FMA_CFLAGS="-DOPS_HIFI3 -mhifi3 -ffast-math -ftree-vectorizer-verbose=0"],
338 [have_hifi3=no])
339if test "$have_hifi3" = "yes"; then
340 AC_DEFINE(HAVE_HIFI3,1,[Define to enable Hifi3 optimizations.])
341fi
342AM_CONDITIONAL(HAVE_HIFI3, test "$have_hifi3" = "yes")
343AC_SUBST(HIFI3_CFLAGS)
344
Liam Girdwoodc0dfb4e2016-09-21 15:57:22 +0100345# Test after CFLAGS set othewise test of cross compiler fails.
346AM_PROG_AS
347AM_PROG_AR
348AC_PROG_CC
349LT_INIT
350AC_CHECK_TOOL([OBJCOPY], [objcopy], [])
351AC_CHECK_TOOL([OBJDUMP], [objdump], [])
352
Liam Girdwood05ef4342018-02-13 20:29:40 +0000353# Check for openssl - used by rimage
354AC_CHECK_LIB([crypto], [OPENSSL_config], , [have_openssl="no"])
355if test "$have_rimage" = "yes"; then
356 if test "$have_openssl" = "no"; then
357 AC_MSG_ERROR([Need OpenSSL libcrypto for rimage code signing])
358 fi
359fi
360
Pan Xiuli408d9352018-06-10 15:32:24 +0800361if test "x$prefix" == "xNONE"; then
Liam Girdwood05ef4342018-02-13 20:29:40 +0000362PEM_KEY_PREFIX="/usr/local/share/rimage"
Pan Xiuli408d9352018-06-10 15:32:24 +0800363else
364PEM_KEY_PREFIX=$prefix"/share/rimage"
365fi
Liam Girdwood05ef4342018-02-13 20:29:40 +0000366AC_DEFINE_UNQUOTED([PEM_KEY_PREFIX], ["$PEM_KEY_PREFIX"], ["Path for PEM keys"])
367AC_SUBST(PEM_KEY_PREFIX)
368
Liam Girdwooda1977152018-04-13 15:33:57 +0100369# Check for doxygen and graphviz - used by make doc
370AC_CHECK_PROG(have_doxygen, doxygen, true, false)
371if test "$have_doxygen" = "false"; then
372 AC_MSG_WARN([Need doxygen to build documentation])
373fi
374AC_CHECK_PROG(have_graphviz, dot, true, false)
375if test "$have_graphviz" = "false"; then
376 AC_MSG_WARN([Need graphviz to build documentation])
377fi
378
Tomasz Lauda80f3d472018-06-05 18:25:37 +0200379# Check for compiler type
380AM_CONDITIONAL(XCC, test "$CC" = "xt-xcc")
381
Liam Girdwoodc0dfb4e2016-09-21 15:57:22 +0100382AM_EXTRA_RECURSIVE_TARGETS([bin])
383
384AM_EXTRA_RECURSIVE_TARGETS([vminstall])
385
386AC_CONFIG_FILES([
387 Makefile
Liam Girdwood05ef4342018-02-13 20:29:40 +0000388 rimage/Makefile
389 rimage/keys/Makefile
Marcin Maka6aee21b2018-04-13 13:03:42 +0200390 doc/Makefile
Liam Girdwoodc0dfb4e2016-09-21 15:57:22 +0100391 src/Makefile
392 src/tasks/Makefile
393 src/init/Makefile
394 src/arch/Makefile
395 src/arch/xtensa/Makefile
396 src/arch/xtensa/include/Makefile
Liam Girdwoodb14e8522018-01-10 17:36:41 +0000397 src/arch/xtensa/include/arch/Makefile
398 src/arch/xtensa/include/xtensa/Makefile
399 src/arch/xtensa/include/xtensa/config/Makefile
Liam Girdwoodc0dfb4e2016-09-21 15:57:22 +0100400 src/arch/xtensa/hal/Makefile
401 src/arch/xtensa/xtos/Makefile
Ranjani Sridharan05058232018-01-24 22:42:38 -0800402 src/arch/host/Makefile
403 src/arch/host/include/Makefile
404 src/arch/host/include/arch/Makefile
Liam Girdwoodc0dfb4e2016-09-21 15:57:22 +0100405 src/audio/Makefile
Tomasz Lauda80f3d472018-06-05 18:25:37 +0200406 src/math/Makefile
Liam Girdwoodc0dfb4e2016-09-21 15:57:22 +0100407 src/drivers/Makefile
408 src/include/Makefile
Pierre-Louis Bossart81708a52018-04-04 18:46:50 -0500409 src/include/sof/Makefile
410 src/include/sof/audio/Makefile
411 src/include/sof/audio/coefficients/Makefile
412 src/include/sof/audio/coefficients/src/Makefile
413 src/include/sof/math/Makefile
Liam Girdwoodc0dfb4e2016-09-21 15:57:22 +0100414 src/include/uapi/Makefile
415 src/ipc/Makefile
Ranjani Sridharan05058232018-01-24 22:42:38 -0800416 src/library/Makefile
417 src/library/include/Makefile
418 src/library/include/platform/Makefile
Liam Girdwoodc0dfb4e2016-09-21 15:57:22 +0100419 src/lib/Makefile
Ranjani Sridharana169fa32018-05-31 19:29:08 -0700420 src/host/Makefile
Liam Girdwoodc0dfb4e2016-09-21 15:57:22 +0100421 src/platform/Makefile
422 src/platform/baytrail/Makefile
423 src/platform/baytrail/include/Makefile
Tomasz Lauda80f3d472018-06-05 18:25:37 +0200424 src/platform/baytrail/include/arch/Makefile
425 src/platform/baytrail/include/arch/xtensa/Makefile
426 src/platform/baytrail/include/arch/xtensa/config/Makefile
Liam Girdwoodc0dfb4e2016-09-21 15:57:22 +0100427 src/platform/baytrail/include/platform/Makefile
Liam Girdwood095c9072018-01-23 14:53:00 +0000428 src/platform/apollolake/Makefile
429 src/platform/apollolake/include/Makefile
Tomasz Lauda80f3d472018-06-05 18:25:37 +0200430 src/platform/apollolake/include/arch/Makefile
431 src/platform/apollolake/include/arch/xtensa/Makefile
432 src/platform/apollolake/include/arch/xtensa/config/Makefile
Liam Girdwood095c9072018-01-23 14:53:00 +0000433 src/platform/apollolake/include/platform/Makefile
Liam Girdwoodf198ad92018-01-21 23:48:35 +0000434 src/platform/haswell/Makefile
435 src/platform/haswell/include/Makefile
Tomasz Lauda80f3d472018-06-05 18:25:37 +0200436 src/platform/haswell/include/arch/Makefile
437 src/platform/haswell/include/arch/xtensa/Makefile
438 src/platform/haswell/include/arch/xtensa/config/Makefile
Liam Girdwoodf198ad92018-01-21 23:48:35 +0000439 src/platform/haswell/include/platform/Makefile
Liam Girdwood17c6bcf2018-01-23 15:44:08 +0000440 src/platform/cannonlake/Makefile
441 src/platform/cannonlake/include/Makefile
Tomasz Lauda80f3d472018-06-05 18:25:37 +0200442 src/platform/cannonlake/include/arch/Makefile
443 src/platform/cannonlake/include/arch/xtensa/Makefile
444 src/platform/cannonlake/include/arch/xtensa/config/Makefile
Liam Girdwood17c6bcf2018-01-23 15:44:08 +0000445 src/platform/cannonlake/include/platform/Makefile
Liam Girdwoodc0dfb4e2016-09-21 15:57:22 +0100446])
447AC_OUTPUT
448
449echo "
450---{ $PACKAGE_NAME $VERSION }---
451
452Target Architecture: ${ARCH}
453Target Platform: ${PLATFORM}
Sebastien Guiriecca23f512016-11-02 08:44:19 +0100454Target Core: ${XTENSA_CORE}
Pan Xiuli408d9352018-06-10 15:32:24 +0800455Install Prefix: ${prefix}
Liam Girdwood05ef4342018-02-13 20:29:40 +0000456PEM: ${PEM_KEY_PREFIX}
Liam Girdwoodc0dfb4e2016-09-21 15:57:22 +0100457
458Compiler: ${CC}
459CFLAGS: ${CFLAGS}
460LDFLAGS: ${LDFLAGS}
461ARCH_CFLAGS: ${ARCH_CFLAGS}
462ARCH_LDFLAGS: ${ARCH_LDFLAGS}
463"
464