mailman.alsa-project.org
Sign In Sign Up
Manage this list Sign In Sign Up

Keyboard Shortcuts

Thread View

  • j: Next unread message
  • k: Previous unread message
  • j a: Jump to all threads
  • j l: Jump to MailingList overview

Sound-open-firmware

Thread Start a new thread
Download
Threads by month
  • ----- 2025 -----
  • May
  • April
  • March
  • February
  • January
  • ----- 2024 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2023 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2022 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2021 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2020 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2019 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2018 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2017 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2016 -----
  • December
  • November
  • October
sound-open-firmware@alsa-project.org

November 2016

  • 2 participants
  • 1 discussions
[Sound-open-firmware] [PATCH] core: Add dsp-core option for XTENSA compiler
by Sebastien Guiriec 02 Nov '16

02 Nov '16
In order to use native XTENSA compiler the core target needs to be overwite with the good platform. This patch is adding an optional option in order to be able to overwrite the core selection. Example: - Set Xtensa export PATH=$PATH:<PATH>/xtensa/XtDevTools/install/tools/RD-2012.5-linux/XtensaTools ./configure --with-arch=xtensa --with-platform=baytrail --with-dsp-core=CHT_audio_hifiep --with-root-dir=<PATH>/xtensa/XtDevTools/install/tools/RD-2012.5-linux/XtensaTools --host=xtensa CC=xt-xcc OBJCOPY=xt-objcopy OBJDUMP=xt-objdump make make bin Signed-off-by: Sebastien Guiriec <sebastien.guiriec(a)intel.com> --- configure.ac | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/configure.ac b/configure.ac index 5a368b4..71e7795 100644 --- a/configure.ac +++ b/configure.ac @@ -113,6 +113,20 @@ case "$with_platform" in ;; esac +# DSP core support (Optional) +AC_ARG_WITH([dsp-core], + AS_HELP_STRING([--with-dsp-core], [Specify DSP Core]), + [], [with_dsp_core=no]) + +case "$with_dsp_core" in + CHT_audio_hifiep*) + # BXT/CHT DSP Core + XTENSA_CORE="CHT_audio_hifiep" + AC_SUBST(XTENSA_CORE) + ;; + +esac + # Test after CFLAGS set othewise test of cross compiler fails. AM_PROG_AS AM_PROG_AR @@ -157,6 +171,7 @@ echo " Target Architecture: ${ARCH} Target Platform: ${PLATFORM} +Target Core: ${XTENSA_CORE} Compiler: ${CC} CFLAGS: ${CFLAGS} -- 2.9.3 --------------------------------------------------------------------- Intel Corporation SAS (French simplified joint stock company) Registered headquarters: "Les Montalets"- 2, rue de Paris, 92196 Meudon Cedex, France Registration Number: 302 456 199 R.C.S. NANTERRE Capital: 4,572,000 Euros This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.
2 1
0 0

HyperKitty Powered by HyperKitty version 1.3.8.