blob: 089218f68d0005d8882f90cb051d24533657c691 [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])
186 AC_DEFINE([CONFIG_IRQ_MAP], [1], [Configure IRQ maps])
Keyon Jiec610c642018-02-08 20:48:11 +0800187 AC_DEFINE([CONFIG_DMA_GW], [1], [Configure DMA Gateway])
Liam Girdwood095c9072018-01-23 14:53:00 +0000188 ;;
Liam Girdwoodf198ad92018-01-21 23:48:35 +0000189 haswell*)
190
191 PLATFORM_LDSCRIPT="haswell.x"
192 AC_SUBST(PLATFORM_LDSCRIPT)
193
194 PLATFORM="haswell"
195 AC_SUBST(PLATFORM)
196
197 FW_NAME="hsw"
198 AC_SUBST(FW_NAME)
199
200 XTENSA_CORE="hifiep_bd5"
201 AC_SUBST(XTENSA_CORE)
202
203 AC_DEFINE([CONFIG_HASWELL], [1], [Configure for Haswell])
204 AC_DEFINE([CONFIG_HOST_PTABLE], [1], [Configure handling host page table])
205 ;;
206 broadwell*)
207
208 PLATFORM_LDSCRIPT="broadwell.x"
209 AC_SUBST(PLATFORM_LDSCRIPT)
210
211 PLATFORM="haswell"
212 AC_SUBST(PLATFORM)
213
214 FW_NAME="bdw"
215 AC_SUBST(FW_NAME)
216
217 XTENSA_CORE="hifiep_bd5"
218 AC_SUBST(XTENSA_CORE)
219
220 AC_DEFINE([CONFIG_BROADWELL], [1], [Configure for Broadwell])
221 AC_DEFINE([CONFIG_HOST_PTABLE], [1], [Configure handling host page table])
222 ;;
Liam Girdwood17c6bcf2018-01-23 15:44:08 +0000223 cannonlake*)
224
225 PLATFORM_LDSCRIPT="cannonlake.x"
226 AC_SUBST(PLATFORM_LDSCRIPT)
227
228 PLATFORM="cannonlake"
229 AC_SUBST(PLATFORM)
230
231 FW_NAME="cnl"
232 AC_SUBST(FW_NAME)
233
234 XTENSA_CORE="hifi4_std"
235 AC_SUBST(XTENSA_CORE)
236
237 AC_DEFINE([CONFIG_CANNONLAKE], [1], [Configure for Cannonlake])
238 AC_DEFINE([CONFIG_IRQ_MAP], [1], [Configure IRQ maps])
Keyon Jiec610c642018-02-08 20:48:11 +0800239 AC_DEFINE([CONFIG_DMA_GW], [1], [Configure DMA Gateway])
Liam Girdwood17c6bcf2018-01-23 15:44:08 +0000240 ;;
Liam Girdwoodc0dfb4e2016-09-21 15:57:22 +0100241 *)
Liam Girdwood05ef4342018-02-13 20:29:40 +0000242 if test "$have_rimage" = "no"; then
243 if test "$ARCH" = "host"; then
244 PLATFORM="host"
245 AC_SUBST(PLATFORM)
246 else
247 AC_MSG_ERROR([Host platform not specified])
248 fi
Ranjani Sridharan05058232018-01-24 22:42:38 -0800249 fi
Liam Girdwoodc0dfb4e2016-09-21 15:57:22 +0100250 ;;
251esac
252
Liam Girdwood2eab4672017-11-27 05:24:51 +0800253AM_CONDITIONAL(BUILD_BAYTRAIL, test "$FW_NAME" = "byt")
254AM_CONDITIONAL(BUILD_CHERRYTRAIL, test "$FW_NAME" = "cht")
255AM_CONDITIONAL(BUILD_HASWELL, test "$FW_NAME" = "hsw")
256AM_CONDITIONAL(BUILD_BROADWELL, test "$FW_NAME" = "bdw")
257AM_CONDITIONAL(BUILD_APOLLOLAKE, test "$FW_NAME" = "apl")
Liam Girdwood17c6bcf2018-01-23 15:44:08 +0000258AM_CONDITIONAL(BUILD_CANNONLAKE, test "$FW_NAME" = "cnl")
259AM_CONDITIONAL(BUILD_BOOTLOADER, test "$FW_NAME" = "cnl")
Liam Girdwood095c9072018-01-23 14:53:00 +0000260AM_CONDITIONAL(BUILD_MODULE, test "$FW_NAME" = "apl" -o "$FW_NAME" = "cnl")
Rander Wang45027652018-02-08 16:06:33 +0800261AM_CONDITIONAL(BUILD_APL_SSP, test "$FW_NAME" = "apl" -o "$FW_NAME" = "cnl")
Liam Girdwoodf198ad92018-01-21 23:48:35 +0000262
Sebastien Guiriecca23f512016-11-02 08:44:19 +0100263# DSP core support (Optional)
264AC_ARG_WITH([dsp-core],
265 AS_HELP_STRING([--with-dsp-core], [Specify DSP Core]),
266 [], [with_dsp_core=no])
267
268case "$with_dsp_core" in
Tomasz Lauda7f352662018-04-05 17:20:09 +0200269 *)
270 XTENSA_CORE="$with_dsp_core"
Sebastien Guiriecca23f512016-11-02 08:44:19 +0100271 AC_SUBST(XTENSA_CORE)
272 ;;
273
274esac
275
Liam Girdwood17c6bcf2018-01-23 15:44:08 +0000276PLATFORM_BOOT_LDR_LDSCRIPT="boot_ldr.x"
277AC_SUBST(PLATFORM_BOOT_LDR_LDSCRIPT)
278
Ranjani Sridharan05058232018-01-24 22:42:38 -0800279# Optimisation settings and checks
280
281# SSE4_2 support
282AC_ARG_ENABLE(sse42, [AS_HELP_STRING([--enable-sse42],[enable SSE42 optimizations])], have_sse42=$enableval, have_sse42=yes)
283AX_CHECK_COMPILE_FLAG(-msse4.2, [SSE42_CFLAGS="-DOPS_SSE42 -msse4.2 -ffast-math -ftree-vectorizer-verbose=0"],
284 [have_sse42=no])
285if test "$have_sse42" = "yes"; then
286 AC_DEFINE(HAVE_SSE42,1,[Define to enable SSE42 optimizations.])
287fi
288AM_CONDITIONAL(HAVE_SSE42, test "$have_sse42" = "yes")
289AC_SUBST(SSE42_CFLAGS)
290
291# AVX support
292AC_ARG_ENABLE(avx, [AS_HELP_STRING([--enable-avx],[enable AVX optimizations])], have_avx=$enableval, have_avx=yes)
293AX_CHECK_COMPILE_FLAG(-mavx, [AVX_CFLAGS="-DOPS_AVX -mavx -ffast-math -ftree-vectorizer-verbose=0"],
294 [have_avx=no])
295if test "$have_avx" = "yes"; then
296 AC_DEFINE(HAVE_AVX,1,[Define to enable AVX optimizations.])
297fi
298AM_CONDITIONAL(HAVE_AVX, test "$have_avx" = "yes")
299AC_SUBST(AVX_CFLAGS)
300
301
302# AVX2 support
303AC_ARG_ENABLE(avx2, [AS_HELP_STRING([--enable-avx2],[enable AVX2 optimizations])], have_avx2=$enableval, have_avx2=yes)
304AX_CHECK_COMPILE_FLAG(-mavx2, [AVX2_CFLAGS="-DOPS_AVX2 -mavx2 -ffast-math -ftree-vectorizer-verbose=0"],
305 [have_avx2=no])
306if test "$have_avx2" = "yes"; then
307 AC_DEFINE(HAVE_AVX2,1,[Define to enable AVX2 optimizations.])
308fi
309AM_CONDITIONAL(HAVE_AVX2, test "$have_avx2" = "yes")
310AC_SUBST(AVX2_CFLAGS)
311
312
313# FMA support
314AC_ARG_ENABLE(fma, [AS_HELP_STRING([--enable-fma],[enable FMA optimizations])], have_fma=$enableval, have_fma=yes)
315AX_CHECK_COMPILE_FLAG(-mfma, [FMA_CFLAGS="-DOPS_FMA -mfma -ffast-math -ftree-vectorizer-verbose=0"],
316 [have_fma=no])
317if test "$have_fma" = "yes"; then
318 AC_DEFINE(HAVE_FMA,1,[Define to enable FMA optimizations.])
319fi
320AM_CONDITIONAL(HAVE_FMA, test "$have_fma" = "yes")
321AC_SUBST(FMA_CFLAGS)
322
323# Hifi2EP
324AC_ARG_ENABLE(hifi2ep, [AS_HELP_STRING([--enable-hifi2ep],[enable HiFi2EP optimizations])], have_hifi2ep=$enableval, have_hifi2ep=yes)
325AX_CHECK_COMPILE_FLAG(-mhifi2ep, [FMA_CFLAGS="-DOPS_HIFI2EP -mhifi2ep -ffast-math -ftree-vectorizer-verbose=0"],
326 [have_hifi2ep=no])
327if test "$have_hifi2ep" = "yes"; then
328 AC_DEFINE(HAVE_HIFI2EP,1,[Define to enable Hifi2 EP optimizations.])
329fi
330AM_CONDITIONAL(HAVE_HIFI2EP, test "$have_hifi2ep" = "yes")
331AC_SUBST(HIFI2EP_CFLAGS)
332
333# Hifi3
334AC_ARG_ENABLE(hifi3, [AS_HELP_STRING([--enable-hifi3],[enable HiFi3 optimizations])], have_hifi3=$enableval, have_hifi3=yes)
335AX_CHECK_COMPILE_FLAG(-mhihi3, [FMA_CFLAGS="-DOPS_HIFI3 -mhifi3 -ffast-math -ftree-vectorizer-verbose=0"],
336 [have_hifi3=no])
337if test "$have_hifi3" = "yes"; then
338 AC_DEFINE(HAVE_HIFI3,1,[Define to enable Hifi3 optimizations.])
339fi
340AM_CONDITIONAL(HAVE_HIFI3, test "$have_hifi3" = "yes")
341AC_SUBST(HIFI3_CFLAGS)
342
Liam Girdwoodc0dfb4e2016-09-21 15:57:22 +0100343# Test after CFLAGS set othewise test of cross compiler fails.
344AM_PROG_AS
345AM_PROG_AR
346AC_PROG_CC
347LT_INIT
348AC_CHECK_TOOL([OBJCOPY], [objcopy], [])
349AC_CHECK_TOOL([OBJDUMP], [objdump], [])
350
Liam Girdwood05ef4342018-02-13 20:29:40 +0000351# Check for openssl - used by rimage
352AC_CHECK_LIB([crypto], [OPENSSL_config], , [have_openssl="no"])
353if test "$have_rimage" = "yes"; then
354 if test "$have_openssl" = "no"; then
355 AC_MSG_ERROR([Need OpenSSL libcrypto for rimage code signing])
356 fi
357fi
358
359PEM_KEY_PREFIX="/usr/local/share/rimage"
360AC_DEFINE_UNQUOTED([PEM_KEY_PREFIX], ["$PEM_KEY_PREFIX"], ["Path for PEM keys"])
361AC_SUBST(PEM_KEY_PREFIX)
362
Liam Girdwooda1977152018-04-13 15:33:57 +0100363# Check for doxygen and graphviz - used by make doc
364AC_CHECK_PROG(have_doxygen, doxygen, true, false)
365if test "$have_doxygen" = "false"; then
366 AC_MSG_WARN([Need doxygen to build documentation])
367fi
368AC_CHECK_PROG(have_graphviz, dot, true, false)
369if test "$have_graphviz" = "false"; then
370 AC_MSG_WARN([Need graphviz to build documentation])
371fi
372
Liam Girdwoodc0dfb4e2016-09-21 15:57:22 +0100373AM_EXTRA_RECURSIVE_TARGETS([bin])
374
375AM_EXTRA_RECURSIVE_TARGETS([vminstall])
376
377AC_CONFIG_FILES([
378 Makefile
Liam Girdwood05ef4342018-02-13 20:29:40 +0000379 rimage/Makefile
380 rimage/keys/Makefile
Marcin Maka6aee21b2018-04-13 13:03:42 +0200381 doc/Makefile
Liam Girdwoodc0dfb4e2016-09-21 15:57:22 +0100382 src/Makefile
383 src/tasks/Makefile
384 src/init/Makefile
385 src/arch/Makefile
386 src/arch/xtensa/Makefile
387 src/arch/xtensa/include/Makefile
Liam Girdwoodb14e8522018-01-10 17:36:41 +0000388 src/arch/xtensa/include/arch/Makefile
389 src/arch/xtensa/include/xtensa/Makefile
390 src/arch/xtensa/include/xtensa/config/Makefile
Liam Girdwoodc0dfb4e2016-09-21 15:57:22 +0100391 src/arch/xtensa/hal/Makefile
392 src/arch/xtensa/xtos/Makefile
Ranjani Sridharan05058232018-01-24 22:42:38 -0800393 src/arch/host/Makefile
394 src/arch/host/include/Makefile
395 src/arch/host/include/arch/Makefile
Liam Girdwoodc0dfb4e2016-09-21 15:57:22 +0100396 src/audio/Makefile
Seppo Ingalsuo6a274832017-06-07 14:17:55 +0300397 src/math/Makefile
Liam Girdwoodc0dfb4e2016-09-21 15:57:22 +0100398 src/drivers/Makefile
399 src/include/Makefile
Pierre-Louis Bossart81708a52018-04-04 18:46:50 -0500400 src/include/sof/Makefile
401 src/include/sof/audio/Makefile
402 src/include/sof/audio/coefficients/Makefile
403 src/include/sof/audio/coefficients/src/Makefile
404 src/include/sof/math/Makefile
Liam Girdwoodc0dfb4e2016-09-21 15:57:22 +0100405 src/include/uapi/Makefile
406 src/ipc/Makefile
Ranjani Sridharan05058232018-01-24 22:42:38 -0800407 src/library/Makefile
408 src/library/include/Makefile
409 src/library/include/platform/Makefile
Liam Girdwoodc0dfb4e2016-09-21 15:57:22 +0100410 src/lib/Makefile
Ranjani Sridharana169fa32018-05-31 19:29:08 -0700411 src/host/Makefile
Liam Girdwoodc0dfb4e2016-09-21 15:57:22 +0100412 src/platform/Makefile
413 src/platform/baytrail/Makefile
414 src/platform/baytrail/include/Makefile
415 src/platform/baytrail/include/platform/Makefile
416 src/platform/baytrail/include/xtensa/Makefile
417 src/platform/baytrail/include/xtensa/config/Makefile
Liam Girdwood095c9072018-01-23 14:53:00 +0000418 src/platform/apollolake/Makefile
419 src/platform/apollolake/include/Makefile
420 src/platform/apollolake/include/platform/Makefile
421 src/platform/apollolake/include/xtensa/Makefile
422 src/platform/apollolake/include/xtensa/config/Makefile
Liam Girdwoodf198ad92018-01-21 23:48:35 +0000423 src/platform/haswell/Makefile
424 src/platform/haswell/include/Makefile
425 src/platform/haswell/include/platform/Makefile
426 src/platform/haswell/include/xtensa/Makefile
427 src/platform/haswell/include/xtensa/config/Makefile
Liam Girdwood17c6bcf2018-01-23 15:44:08 +0000428 src/platform/cannonlake/Makefile
429 src/platform/cannonlake/include/Makefile
430 src/platform/cannonlake/include/platform/Makefile
431 src/platform/cannonlake/include/xtensa/Makefile
432 src/platform/cannonlake/include/xtensa/config/Makefile
Liam Girdwoodc0dfb4e2016-09-21 15:57:22 +0100433])
434AC_OUTPUT
435
436echo "
437---{ $PACKAGE_NAME $VERSION }---
438
439Target Architecture: ${ARCH}
440Target Platform: ${PLATFORM}
Sebastien Guiriecca23f512016-11-02 08:44:19 +0100441Target Core: ${XTENSA_CORE}
Liam Girdwood05ef4342018-02-13 20:29:40 +0000442PEM: ${PEM_KEY_PREFIX}
Liam Girdwoodc0dfb4e2016-09-21 15:57:22 +0100443
444Compiler: ${CC}
445CFLAGS: ${CFLAGS}
446LDFLAGS: ${LDFLAGS}
447ARCH_CFLAGS: ${ARCH_CFLAGS}
448ARCH_LDFLAGS: ${ARCH_LDFLAGS}
449"
450