summaryrefslogtreecommitdiffstats
path: root/tools/configure
AgeCommit message (Collapse)AuthorFilesLines
12 daysconfigure: Enable easy use of AddressSanitizer with sim buildsSolomon Peachy1-1/+20
Change-Id: I6df7e63b1820296a280faa0925ad4781637b879b
2021-03-28New port: FiiO M3K on bare metalAidan MacDonald1-2/+48
Change-Id: I7517e7d5459e129dcfc9465c6fbd708619888fbe
2021-03-24build: Don't overwrite autoconf.h unless it has actually changedSolomon Peachy1-1/+7
This way we only rebuild the world if something relevant changed. Change-Id: Ia7d104cadec185a3227acbf330bb3b359296f0fb
2021-02-27Rename symbols of FiiO M3K Linux-based portAidan MacDonald1-4/+4
Mainly a straight replacement of FIIO_M3K -> FIIO_M3K_LINUX. Change-Id: Id07c84f8150991d1b6851540c2c3f8f67e3f12c2
2021-02-27Fix build system not respecting TOOLSETAidan MacDonald1-0/+1
It seems that 'toolset=' in tools/configure was set but not used, with the build system only generating a hardcoded set of tools. This change fixes the issue by exporting the required tools in the TOOLSET variable, and having root.make append those to the TOOLS list. Change-Id: I07024bdf1dd2260c32cfeecaba0d3bb5bf00346d
2020-11-18configure: Add prompt for USB Serial into the advanced modeSolomon Peachy1-6/+8
And explicitly disable USB_ENABLE_SERIAL when HAVE_USBSTACK is not define Change-Id: Ieb4176b02a60eb1b9db81f0b8c69403898a76ca1
2020-11-03Remove the firmware decompressor and a few more other SH-stragglers.Solomon Peachy1-3/+1
Change-Id: Ic568755afcccc6db1b6e791b1ed0d2588b90356f
2020-10-28builds: Enable -fno-delete-null-pointer-checks globallySolomon Peachy1-1/+1
* arm failures in lua, wolf3d, quake, flac * m68k failures in lua, wmapro * mips ??? I still think that most of these are actually due to latent bugs or ambiguous code. Change-Id: I4c9751d2b5c7a66253b313bfbc75fcd721b118d6
2020-10-26statusbar: Make statusbar height equal SYSFONT_HEIGHTSolomon Peachy1-4/+5
And size elements horizaontally based on SYSFONT_WIDTH Unfortunately we need 16px icons to make 16px statusbar look right but at least it _works_ properly now. Also: all targets currently use 8-px SYSFONT, except some hosted bootloaders Change-Id: I0cdf97e6ef47ec49693ef79667b200595b4fe075
2020-10-26h300: add support for ROM image generationJames Buren1-0/+2
Change-Id: I6e0985de370609bae98ba6eab487bf43eb4191b6
2020-10-16Fix configure target name for the erosq/k series.Solomon Peachy1-1/+1
Change-Id: Ic114d8d26209d37133ffa48d232ab278a0309dcd
2020-10-15erosq: Fix up builds.pm to match what we actually call the targetSolomon Peachy1-1/+1
Change-Id: I2cedc68ca408a805815954a205ba43c3c9e970cb
2020-10-13Build: Bump all toolchains to GCC 4.9.4 + Binutils 2.26.1Solomon Peachy1-16/+4
GCC 4.9.4 was already used for MIPS and all hosted targets; this enables it across the board for everything (ie m68k and arm native) Other changes: * Use '-Os' as the default optiomization for all targets (was only disabled for arm native) * Enable -funit-at-a-time and -Wextra * Drop all obsolete toolchain patches * Update ARM multilib/exception patch * Bump toolchain libs (gmp, mpfr, mpc) to recommended versions, and add 'isl' to enable better optimization & vectorization opportunities. (Will revisit optimization for the codecs and plugins at a later date) Confirmed working: * armv4t (ipodmini2g and many other PP502x targets) * arm >= v5 (sansaclipplus, ipod6g, ipodnano2g, sansafuzeplus) * m68k (ihp100) Change-Id: If9ed405ae0f289d9adea46d4cf46bfefc2f4250d
2020-10-11New port: AIGO EROS Q / EROS KSolomon Peachy1-4/+28
The Q and K have a slightly different case, but the hardware under the shell is completely identical. These models are rebadged versions: * Hifiwalker H2 (== Q) * AGPTek H3 (== K) * Surfans F20 (== K) Other notes: * Significant improvements in the shared Hiby-platform launcher/loader * SD card can theoretically be hot-swapped now * Support external USB mass storage! * Some consolidation of Hiby-platform targets * Some consolidation of plugin keymaps Todo/known issues: * Keymaps need to be gone over properly * Convert to HAVE_SCROLLWHEEL? Change-Id: I5a8a4f22c38a5b69392ca7c0a8ad8c4e07d9523c
2020-10-09New port: FiiO M3KSolomon Peachy1-1/+27
Most credit goes to: Roman Skylarov Additional integration and refactoring by myself. *** COMPLETELY UNTESTED *** Change-Id: Ia64c36d92e0214c6b15f7a868df286f8113ea27b
2020-10-09codecs: Add support for the 'VTX' ZX Spectrum chiptunes format.Solomon Peachy1-2/+2
This codec requires floating point. Original author: Peter Sovietov Ported to Rockbox: Roman Skylarov Further integration and bugfixes: Solomon Peachy Change-Id: I781ecd3592dfcdbbc694063334350342534f1d6c
2020-09-29configure: Compact the target selection a bitSolomon Peachy1-57/+52
Change-Id: Ic20f4085d2a135f6596d3e80be8ff1017c6b7480
2020-08-31fonts: Use '08-Rockfont' as FONT_SYSFIXED on targets with 128x64 screensSolomon Peachy1-0/+11
..It's already the default UI font on those targets Change-Id: If8cb44da650d19882e4bd4b641af2f4fa59c1cd1
2020-07-24[3/4] Completely remove HWCODEC supportSolomon Peachy1-132/+3
'swcodec' is now always set (and recording_swcodec for recording-capable units) in feature.txt so the manual and language strings don't need to all be fixed up. Change-Id: Ib2c9d5d157af8d33653e2d4b4a12881b9aa6ddb0
2020-07-24[1/4] Remove SH support and all archos targetsSolomon Peachy1-214/+20
This removes all code specific to SH targets Change-Id: I7980523785d2596e65c06430f4638eec74a06061
2020-07-21build: Tweaks to better support non-English as primary languageSolomon Peachy1-4/+0
* get rid of $(LANGUAGE) in top-level makefile (and configure script) * un-hardcode English-as-primary-language in a couple more places * allow DEFAULT_VOICE_LANG to be overriden To actually change the primary from English, one must change: * $english in voice.pl * hardcoded 'english' in rbutil * $ENGLISH in apps/lang/lang.make * DEFAULT_VOICE_LANG in apps/talk.c * configure script (default prompt) Of course, if one wants to change the default UI language, it's simpler to change the default language setting variable at compile time, or perhaps by adding a configuration file with the desired value into the .rockbox directory when the .zip is assembled. Change-Id: If5cf76019d416e838628a2eccd4ec7d6cbaeeb74
2020-07-11voice: Further enhancements for multi-lingual voice generationSolomon Peachy1-10/+10
* configure: allow use of full tts engine names when making selection * voice.pl: fixes for espeak-ng * build.pm: Add a list of "standard" voices for tooling use The latter will be used by the nightly builder infrastructure to determine what voices to generate. Change-Id: Iff55288f94a30fbe08d8345b730969b7264b5e0f
2020-07-11voice: More voice generation fixes:Solomon Peachy1-0/+4
* espeak vs espeak-ng (prefer the latter!) * voicepool was busted for most non-english strings Change-Id: Iae6df0f5426155b7b1f444160814ff9ef4581f21
2020-07-11voices: Add tts language mappings for the top 19 languagesSolomon Peachy1-0/+8
festival: english and spanish only gtts: all but nederlands espeak: all (need espeak-ng for czech, greek, and japanese) Change-Id: I7df1b3235b48f352b0af3c13e3742e85432bc692
2020-07-08voice: Add support for Google Translate's speech synthesizerSolomon Peachy1-28/+25
Uses the 'gtts-cli' command line client. Supports a wide variety of languages, including all "Complete" and "Good" Rockbox translations. Additional changes: * voice synth script can accept pre-encoded mp3 files * Move language->synth options mapping into the voice script * Additional cleanups Change-Id: I9523e2bca87cbcee2d8c4111f9892e8e458c7419
2020-05-24fix configure script failing on gcc version numbersSebastian Leonhardt1-5/+8
There were two problems on my system: * MinGW-gcc returns version "7.3-win32" => the "-win32"-part must be stripped off * gcc -dumpversion returns only the major version number => use both -dumpfullversion and -dumpversion (in this order) as described here: https://stackoverflow.com/questions/45168516/gcc-7-1-1-on-fedora-26-dumpversion-now-only-includes-major-version-by-default Change-Id: I74fa1c572426aab2525a00a80170d859c166e31c
2020-04-16voice: Add support for Mimic TTS engine.Solomon Peachy1-3/+43
...It generates decent voice files in 1/10th the time of festival. Change-Id: I1bf9271633a8a0e9c483761b8685f296d2f303b8
2020-04-15Android: Compile native android bits with armv7-a CPU flagsSolomon Peachy1-5/+18
DX50/DX90 has a Cortex-A9 with NEON, use those specific flags for speed. Generic Android targets is for v4.4 (API 19) which doesn't support pre-v7 ARM CPUs, so target generic armv7-a with hardfp support. (This patch includes a rearrangement of the android toolchain helpers to allow target-specific GCCOPTS. Huzzah) Change-Id: I696051ef3fae25e1569c7b904decb7a3a0c6b674
2020-04-13obsolete: Nuke the very-incomplete Archos AV300 targetSolomon Peachy1-23/+1
It's even missing a config header file. Just shoot it in the head. Change-Id: I4c5cdb4fb63361a4e4fc893e93d73d3890fe17df
2020-04-13android: Fix configure script for "newer" versions of the NDKSolomon Peachy1-51/+55
The oldest verison of the NDK one can still download today is version 10e from mid-2015, which comes with GCC 4.9, and no longer supports 32-bit hosts. With this, one can actually compile the iBasso DX50/DX90 targets again, as well as the generic android target, as long as one has the correct SDK platforms (v16 for ibasso, v19 for generic) and SDK tools installed. Change-Id: I62f2e742d5cfc13133244aeff75a928a7294ac91
2020-04-06xDuoo X3II and X20 portMarcin Bukat1-22/+70
Provided by Roman Stolyarov Integration, Refactoring, and Upstreaming by Solomon Peachy X3II confirmed working by forum tester, X20 is nearly identical. This includes bootloader, main firmware, and the flash image patcher. Eventual Todo: * Further refactor AGPTek Rocker & xduoo hiby bootloaders * Further refactor AGPTek Rocker & xduoo hosted platform code Change-Id: I34a674051d368efcc75d1d18c725971fe46c3eee
2019-06-17configure: add --32-bit option to build a 32-bit simulator/applicationFranklin Wei1-0/+10
I use this to test duke3d in the sim, because it does some nasty pointer arithmetic with 32-bit ints. Should be useful for other things as well. Change-Id: I807c81b32c61538de9edc3fca77fde193dc4e617
2019-01-02Fix a capitalization typo in the ihifi770c configure target name.Solomon Peachy1-1/+1
Change-Id: Iccdb109329cec2de477e1f96f30335dbdea535ad
2019-01-02Add Xuelin iHIFI 770/770C/800 supportSolomon Peachy1-5/+75
Taken from the xvortex fork (Roman Stolyarov) Ported, rebased, and cleaned up by myself. Change-Id: I7b2bca2d29502f2e4544e42f3d122786dd4b7978
2018-12-22Support using 'rbspeak' to generate voice files.Solomon Peachy1-4/+17
(Full credit to Igor Poretsky) Change-Id: Ib9c5d2748cd7e0543b7fd110e83b4656089254b8
2018-12-10Fix host build for newer linux distrosWilliam Wilgus1-12/+5
I realized there was a better way to do this.. Instead of specifying a path just have gcc run the preprocessor (-E) on an input file consisting of only '#include <byteswap.h>' if it succeeds then we can use it if not then don't define OS_USE_BYTESWAP_H Change-Id: I0de8e469445221bc1b5ad8cc032de5b89a85ab66
2018-12-08Fix Sim & checkwps for newer distrosWilliam Wilgus1-1/+6
__builtin found fix for rbendian.h tools/configure defines SIM_USE_BYTESWAP_H if byteswap.h is found in /usr/include/ maybe there is a better mechanism for this Change-Id: I4d004e68313e8b32aa5587582be36bc459fdaf6b
2018-12-07Fix Sim for newer distrosWilliam Wilgus1-0/+7
__builtin found fix for rbendian.h tools/configure defines SIM_USE_BYTESWAP_H if byteswap.h is found in /usr/include/ maybe there is a better mechanism for this genshortcut.sh is a simple script to make .desktop shortcut files several newer distros don't allow you to run the simulator from the file manager, this or perhaps a different method can probably be included while building a sim at a later date. for now it can be run manually like so: similar to ../tools/configure run from your simulator folder ../tools/genshortcut.sh exepath shortname icon ex. ../tools/genshortcut.sh ./rockboxui clip+sim music-app Change-Id: Ia05d3a9349b27c5968a4a7a68b2eb480e60faec3
2018-07-28Add cleaned-up xDuoo X3 supportSolomon Peachy1-0/+24
Cleaned up, rebased, and forward-ported from the xvortex fork. (original credit to vsoftster@gmail.com) Change-Id: Ibcc023a0271ea81e901450a88317708c2683236d Signed-off-by: Solomon Peachy <pizza@shaftnet.org>
2018-07-28Update MIPS toolchain to GCC 4.9.4 and binutils 2.26.1, update configureAmaury Pouly1-1/+1
Change-Id: I4d3dad4521bdf0b0d6ee5d1635ddbf57483d2b42
2018-06-12Agptek Rocker: Build pluginsMarcin Bukat1-1/+1
Patch provided by Aapo Tahkola. Change-Id: I37a42a950d78d6b8aa3927ec7aeb30030f7be7a5
2018-06-12Agptek Rocker: Restrict root directory to SD onlyMarcin Bukat1-1/+0
Actual / of underlying linux OS should not be available to user. I am still not sure if implementation is correct. It doesn't perform any relative path sandboxing for example. Change-Id: Ic577a10f3947f6e950e2c4d03173f9f207395eb7
2018-06-12Agptek Rocker: Initial commitMarcin Bukat1-2/+45
Change-Id: I26b51106c7b1c36a603fba6d521e917d79b5a95b
2018-04-03Zen XFi2: Enable PluginsSebastian Leonhardt1-1/+1
Keymaps aren't tested, there may be room for improvement. Change-Id: I6b8fe697899b241ea6e96f4fe446d88671ad7818
2017-11-14nwz: enable plugins on all targets except NWZ-A860Amaury Pouly1-7/+7
Keymap might be suboptimal. Change-Id: Ibaf51e91cf935c96b7f419647fe1147dee6cc8be
2017-11-06nwzlinux: add support for radioAmaury Pouly1-9/+9
None of the Sony up to A15 seem to support RDS (they use either Si4702 or Si4708), thus I did not add any code to support RDS. Change-Id: I64838993b9705b36b94665f8470c7a89c772c961
2017-09-17Add support for the NWZ-E350bootloader_nwze350_v1Amaury Pouly1-11/+34
Strangely it has the SAME encryption key as the E450. Either they didn't bother changing it or more likely they have exactly the same internals and a slightly different case. Change-Id: I39ab88845b3e40db34160c2e61dde421f391df44
2017-09-17Add support for the Sony NWZ-S750Amaury Pouly1-1/+24
Change-Id: I9050129949809b3dbe9f4f9e816f8980c4f3a904
2017-09-17Add support for the NWZ-A860Amaury Pouly1-1/+24
Change-Id: Ibf0c5168ac31d4ba2aeaa86cbeca37a1011b75fa
2017-09-06Add support for Sony NW-A20Johannes Rauh1-1/+24
Add original author to CREDITS Change-Id: I7a0159635c7896e2b5521c078ef62618f568d89e