summaryrefslogtreecommitdiff
path: root/tools/configure
AgeCommit message (Collapse)Author
2021-09-20configure: --no-ccache must disable CCACHE for $HOSTCC too!Solomon Peachy
Accomplish this by setting CCACHE_DISABLE=true Change-Id: Ie930fc4e828ebb7a29234c1a8f371980489d5668
2021-08-15Add advanced build option to omit building pluginsAidan MacDonald
Compiling the plugins takes quite a long time and is unnecessary if you're only working on the core code. Having an option is nicer than having to edit the configure script by hand. Change-Id: I401867355d897ce3fd899d9daf25ea9afcc380f0
2021-08-14Remove the (very) incomplete port for the Tatung TPJ-1102Solomon Peachy
It was barely even a stub, and hasn't seen any development since 2009 Change-Id: I0aa15d9a7b90ae8c771924d9f401380d4cc0fab9
2021-08-14Remove Samsung YP-Z5 portAidan MacDonald
It has only a couple GB of onboard flash storage with no storage driver in Rockbox. It hasn't seen any meaningful development since its initial commit, it's not on the build farm, and the bootloader build is broken by other refactoring. Change-Id: Idd9e3c46fac9b96f416ce444182f97a50770e747
2021-07-18New Port: Eros Q NativeDana Conrad
What works: - LCD: 16-bit RGB565 - all buttons, including scrollwheel - SD Card - Battery level and charging/not charging status - USB - audio - sample rate switching - HP / LO detect, with "safe" fixed LO volume - LO volume will only be put to user-defined max volume if headphones are not present. - rtc - Plugins build, tried a couple and they seem OK - Bootloader, installable to nand via usbboot What doesn't work: - Dual Boot - power on/off has intermittent, low volume audio click (sometimes it's completely silent, sometimes there's a click) - Audio uses 16-bit volume scaling, so clicking/popping is pretty bad at lower volumes - need 32 bit volume scaling, 24 bit I2S data - USB HID keys not yet defined - no jztool support Unknowns: - Stereo Switch pins: Direction select, AC_DC (probably not even hooked up) - What is the actual purpose of the Stereo Swtich? - How does the bluetooth module connect? "Someday" stuff: - get LCD working at higher bit depth - Bluetooth Change-Id: I70dda8fc092c6e3f4352f2245e4164193f803c33
2021-07-13New port: Shanling Q1 nativeAidan MacDonald
- Audio playback works - Touchscreen and buttons work - Bootloader works and is capable of dual boot - Plugins are working - Cabbiev2 theme has been ported - Stable for general usage Thanks to Marc Aarts for porting Cabbiev2 and plugin bitmaps. There's a few minor known issues: - Bootloader must be installed manually using 'usbboot' as there is no support in jztool yet. - Keymaps may be lacking, need further testing and feedback. - Some plugins may not be fully adapted to the screen size and could benefit from further tweaking. - LCD shows abnormal effects under some circumstances: for example, after viewing a mostly black screen an afterimage appears briefly when going back to a brightly-lit screen. Sudden power-off without proper shutdown of the backlight causes a "dissolving" effect. - CW2015 battery reporting driver is buggy, and disabled for now. Battery reporting is currently voltage-based using the AXP192. Change-Id: I635e83f02a880192c5a82cb0861ad3a61c137c3a
2021-07-09configure: fix a typo that could break voice buildsSolomon Peachy
(If you don't have espeak, festival, or flite installed) Change-Id: I5820535c55cc02e32bf31f3e30070b2c1e68ff87
2021-07-08build: use gcc-ar / gcc-ranlib in preparation for link-time-optimizationSolomon Peachy
Change-Id: If5fd9a8f15200fca9a89999605394f7527387a2b
2021-07-08build: Rename SHARED_LDFLAG to SHARED_LDFLAGSSolomon Peachy
Change-Id: Icb81c72fbcfcdad624112a386ba38a40a830d18f
2021-05-12FiiO M3K: New bootloaderAidan MacDonald
SPL and UCL-compressed bootloader are now packed into one output, bootloader.m3k, eliminating the separate SPL build phase. The Rockbox bootloader now has a recovery menu, accessible by holding VOL+ when booting, that lets you back up, restore, and update the bootloader from the device. Change-Id: I642c6e5fb83587a013ab2fbfd1adab439561ced2
2021-04-26Nuke the never-functional iriver ifp-7xx portSolomon Peachy
It never worked, and hasn't compiled in something like a decade, Given the HW capabilities (limited onboard flash, no expandability) there's really no point in trying to fix/complete it. Change-Id: I7d175089840396f8891645bd10010d730dd5bfdc
2021-04-26Nuke all TCC77x targets: iAudio 7, Sansa C100, M200(v1-3), Logik DAXSolomon Peachy
They were never finished, never saw any release ever, and haven't compiled for the better part of a decade. Given their HW capabilities [1], they are not worth trying to fix. [1] 1-2MB RAM, ~256MB onboard flash, no expandability Change-Id: I7b2a5806d687114c22156bb0458d4a10a9734190
2021-04-21FiiO M3K: increase bootloader font sizeAidan MacDonald
The default font was very small and hard to read. Change-Id: Id6d8ec49a700dcad65903b92c09ec42840c1f6e5
2021-04-20configure: Get rid of the unused NOISEFLOOR option in voicefile generationSolomon Peachy
Change-Id: Id3b281e62487858120aae97cd5ee0ef888cf89a0
2021-04-07configure: Enable easy use of AddressSanitizer with sim buildsSolomon Peachy
Change-Id: I6df7e63b1820296a280faa0925ad4781637b879b
2021-03-28New port: FiiO M3K on bare metalAidan MacDonald
Change-Id: I7517e7d5459e129dcfc9465c6fbd708619888fbe
2021-03-24build: Don't overwrite autoconf.h unless it has actually changedSolomon Peachy
This way we only rebuild the world if something relevant changed. Change-Id: Ia7d104cadec185a3227acbf330bb3b359296f0fb
2021-02-27Rename symbols of FiiO M3K Linux-based portAidan MacDonald
Mainly a straight replacement of FIIO_M3K -> FIIO_M3K_LINUX. Change-Id: Id07c84f8150991d1b6851540c2c3f8f67e3f12c2
2021-02-27Fix build system not respecting TOOLSETAidan MacDonald
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 Peachy
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 Peachy
Change-Id: Ic568755afcccc6db1b6e791b1ed0d2588b90356f
2020-10-28builds: Enable -fno-delete-null-pointer-checks globallySolomon Peachy
* 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 Peachy
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 Buren
Change-Id: I6e0985de370609bae98ba6eab487bf43eb4191b6
2020-10-16Fix configure target name for the erosq/k series.Solomon Peachy
Change-Id: Ic114d8d26209d37133ffa48d232ab278a0309dcd
2020-10-15erosq: Fix up builds.pm to match what we actually call the targetSolomon Peachy
Change-Id: I2cedc68ca408a805815954a205ba43c3c9e970cb
2020-10-13Build: Bump all toolchains to GCC 4.9.4 + Binutils 2.26.1Solomon Peachy
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 Peachy
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 Peachy
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 Peachy
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 Peachy
Change-Id: Ic20f4085d2a135f6596d3e80be8ff1017c6b7480
2020-08-31fonts: Use '08-Rockfont' as FONT_SYSFIXED on targets with 128x64 screensSolomon Peachy
..It's already the default UI font on those targets Change-Id: If8cb44da650d19882e4bd4b641af2f4fa59c1cd1
2020-07-24[3/4] Completely remove HWCODEC supportSolomon Peachy
'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 Peachy
This removes all code specific to SH targets Change-Id: I7980523785d2596e65c06430f4638eec74a06061
2020-07-21build: Tweaks to better support non-English as primary languageSolomon Peachy
* 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 Peachy
* 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 Peachy
* 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 Peachy
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 Peachy
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 Leonhardt
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 Peachy
...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 Peachy
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 Peachy
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 Peachy
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 Bukat
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 Wei
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 Peachy
Change-Id: Iccdb109329cec2de477e1f96f30335dbdea535ad
2019-01-02Add Xuelin iHIFI 770/770C/800 supportSolomon Peachy
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 Peachy
(Full credit to Igor Poretsky) Change-Id: Ib9c5d2748cd7e0543b7fd110e83b4656089254b8
2018-12-10Fix host build for newer linux distrosWilliam Wilgus
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