summaryrefslogtreecommitdiff
path: root/tools/configure (follow)
Commit message (Collapse)AuthorAge
* Fix formatting in configureAmaury Pouly2017-05-16
| | | | Change-Id: Ie877121bb60df6fb1fed4f778cc9aa0f5c426ed8
* Fix typo in configureAmaury Pouly2017-01-16
| | | | Change-Id: I142822983bf1144ab265caf5e9a488c5e423da4f
* Fix configure for windows simulator builds in cygwin / mingw cross-compiling ↵Matthias Mohr2017-01-15
| | | | | | | | | | | | | | | | | environments. Fixes and Changes to configure the Windows simulator builds mostly for cygwin / mingw cross-compiling environments: - fix CROSS_COMPILE values including detection for old and newer mingw environments - fix detection of sdl-config by searching inside CROSS_COMPILE sys-root - fix call of sdl-config and use correct (found) version - add possibility to build a 64-bit simulator - added several -Wno- options to GCCOPTS to prevent annoying compiler warnings - use cross-compiler as HOST_CC if no "native" HOST_CC is available Change-Id: Ib5dd288c3f9a11be9b66e53e3406eadfa65f7604
* Print make version in configure output.Frank Gevaerts2016-08-21
| | | | | | This should make it easier to figure out random build issues. Change-Id: Ic037ecc94a3c8386043349db1573c3587d7e1fda
* Silence newer toolchains a bitFrank Gevaerts2016-08-12
| | | | | | | | Newer toolchains (both gcc and libc related) add a lot of warnings. While these can be useful and correct, cleaning them up woult be a lot of work and isn't likely to actually happen any time soon. Change-Id: I8c4e8cd3dc92f9afa4bf003c63ca65e895e3ef00
* Fix broken simulator build with weird sdl-configFranklin Wei2016-06-01
| | | | | | | | * --static-libs isn't supported on some (possibly newer) SDL installs, falls back to --libs if this is the case Patch mostly by Amaury Pouly. Change-Id: I6dd2f4847f2a2d1de7b2d287c0af6651cec461ff
* Use an actually reliable method to determine 32 vs 64 bitFrank Gevaerts2016-05-25
| | | | Change-Id: Idba256ae66e67efa7a03f3817bc588e0b4ccd4ba
* configure: statically link sdl on win32 cross compileAmaury Pouly2016-05-13
| | | | Change-Id: If9115da0470e2c301589329af67433f7260d24d3
* configure: allow for compiler toolchain override (with warnings)Amaury Pouly2016-02-02
| | | | | | | | | | | | | | The current configure script unfortunately does not allow one to use another toolchain than the one hardwire in the script. Although this is good to ensure working builds, it can be burden when one wants to either test other compilers, does not want to have to multiple redundant compilers or when the compiler install script fails for unknown reasons (MIPS I'm looking at you). The syntax is simple, for example: /path/to/configure --compiler-prefix arm-none-eabi- Also 'make reconf' will properly keep the prefix. Change-Id: I5ee3bc61afa10193586ddd3aef694a8ac08854e2
* configure: harden arch autodetected a bitThomas Martitz2015-04-19
| | | | | | | Some arm gcc versions have multiple cpp symbols beginning with __ARM_ARCH, but want only the one that contains the arch version. Change-Id: I6792572e29200fc4e62ba07bdd63dc722356c2bb
* Prevent configure from being run in the root of the tree, fix a typo in the ↵Franklin Wei2015-02-15
| | | | | | configure script Change-Id: I61205c2f00edbdcd726ca455a67c810fafe3ca92
* iBasso DX50/DX90: Major code cleanup and reorganization.Udo Schläpfer2015-02-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reorganization - Separated iBasso devices from PLATFORM_ANDROID. These are now standlone hosted targets. Most device specific code is in the firmware/target/hosted/ibasso directory. - No dependency on Android SDK, only the Android NDK is needed. 32 bit Android NDK and Android API Level 16. - Separate implementation for each device where feasible. Code cleanup - Rewrite of existing code, from simple reformat to complete reimplementation. - New backlight interface, seperating backlight from touchscreen. - Rewrite of device button handler, removing unneeded code and fixing memory leaks. - New Debug messages interface logging to Android adb logcat (DEBUGF, panicf, logf). - Rewrite of lcd device handler, removing unneeded code and fixing memory leaks. - Rewrite of audiohw device handler/pcm interface, removing unneeded code and fixing memory leaks, enabling 44.1/48kHz pthreaded playback. - Rewrite of power and powermng, proper shutdown, using batterylog results (see http://gerrit.rockbox.org/r/#/c/1047/). - Rewrite of configure (Android NDK) and device specific config. - Rewrite of the Android NDK specific Makefile. Misc - All plugins/games/demos activated. - Update tinyalsa to latest from https://github.com/tinyalsa/tinyalsa. Includes - http://gerrit.rockbox.org/r/#/c/993/ - http://gerrit.rockbox.org/r/#/c/1010/ - http://gerrit.rockbox.org/r/#/c/1035/ Does not include http://gerrit.rockbox.org/r/#/c/1007/ due to new backlight interface and new option for hold switch, touchscreen, physical button interaction. Rockbox needs the iBasso DX50/DX90 loader for startup, see http://gerrit.rockbox.org/r/#/c/1099/ The loader expects Rockbox to be installed in /mnt/sdcard/.rockbox/. If /mnt/sdcard/ is accessed as USB mass storage device, Rockbox will exit gracefully and the loader will restart Rockbox on USB disconnect. Tested on iBasso DX50. Compiled (not tested) for iBasso DX90. Compiled (not tested) for PLATFORM_ANDROID. Change-Id: I5f5e22e68f5b4cf29c28e2b40b2c265f2beb7ab7
* Introducing Targets iBasso DX50 & iBasso DX90Simon Rothen2014-09-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The port to for this two targets has been entirely developped by Ilia Sergachev (alias Il or xzcc). His source can be found at https://bitbucket.org/isergachev/rockbox . The few necesary modifications for the DX90 port was done by headwhacker form head-fi.org. Unfortunately i could not try out the final state of the DX90 port. The port is hosted on android (without java) as standalone app. The official Firmware is required to run this port. Ilia did modify the source files for the "android" target in the rockbox source to make the DX port work. The work I did was to separate the code for DX50 (&DX90) from the android target. On this Target Ilia used source from tinyalsa from AOSP. I did not touch that part of the code because I do not understand it. What else I changed from Ilias sources besides the separation from the target "android": * removed a dirty hack to keep backlight off * changed value battery meter to voltage battery meter * made all plugins compile (named target as "standalone") and added keymaps * i added the graphics for the manual but did not do anything else for the manual yet * minor optimizations known bugs: * timers are slowed donw when playback is active (tinyalsa related?) * some minor bugs Things to do: * The main prolem will be how to install the app correctly. A guy called DOC2008 added a CWM (by androtab.info) to the official firmware and Ilia made a CWM installation script and a dualboot selector (rbutils/ibassoboot, build with ndk-build). We will have to find a way to install rockbox in a proper way without breaking any copyrights. Maybe ADB is an option but it is not enable with OF by default. Patching the OF is probably the way to go. * All the wiki and manual to build: needed: android ndk installed, android sdk installed with additional build-tools 19.1.0 installed ./tools/configure select iBasso DX50 or iBasso DX90 make -j apk the content of rockbox.zip/.rockbox needs to be copied to /system/rockbox/app_rockbox/rockbox/ (rockbox app not needed) the content of libs/armeabi to /system/rockbox/lib/ (rockbox app needed) The boot selector is needed as /system/bin/MangoPlayer and the iBasso app as /system/bin/MangoPlayer_original. There is also the "vold" file. The one from OF does not work with DX50 rockbox (DX90 works!?), the one from Ilia is necessary. Until we have found a proper way to install it, it can only be installed following the instructions of Ilia on his bitbucket page, using the CWM-OF and his installation script package. Change-Id: Ic4faaf84824c162aabcc08e492cee6e0068719d0 Reviewed-on: http://gerrit.rockbox.org/941 Tested: Chiwen Chang <rock1104.tw@yahoo.com.tw> Reviewed-by: Michael Giacomelli <giac2000@hotmail.com>
* zen/zenxfi/zenxfistyle/zenmozaic: implement plugin keymaps and enable pluginsAmaury Pouly2014-07-17
| | | | | | Plugins on the ZEN/ZEN X-Fi require to increase the plugin buffer size. Change-Id: If4651c87b402060faa24530985c6e871379c8ea1
* Introduce plugin keymaps for the Sony NWZ SeriesNils Stec2014-06-30
| | | | | | Change-Id: I46b8766bd44118bce4931b7ee71815ae5f51cb2e Reviewed-on: http://gerrit.rockbox.org/879 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
* zen/zenxfi: switch lcd driver to 24-bit modeAmaury Pouly2014-06-24
| | | | Change-Id: I2c42f0e422130bcdaf1aaf92c7b56776752f4f64
* fix sdlapp and ypr0 buildsThomas Martitz2014-06-23
| | | | Change-Id: I3953350c04607691b427fc2a3b00e8ae08bcea45
* lcd-24bit: fix up previous commit a1842c0Thomas Martitz2014-06-21
| | | | | | | * e200v2 shouldn't use 24bit (was just for testing) * samsung ypr0/ypr1 should enable it but the correct number must be passed to bmp2rb Change-Id: Ia91b0ff80a54265d4c3111d9dcb8e7b9dd12b5d4
* Complete Plugin Keymaps for Creative Zen X-Fi3David Jilke2014-04-06
| | | | | | | | | | This patch completes the plugin keymaps for the Zen X-Fi3 and enables those plugins for compilation. One key was changed in "button-target.h" for compatibility with Rockboy. This also caused the changes to "keymap-zenxfi3.c", to keep the stock functionality (no further changes in here). Change-Id: Ic222faf89e9a9a2332a49d6e532cedb6eb16d3d7 Reviewed-on: http://gerrit.rockbox.org/762 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
* enable compiling of Sansa ViewSzymon Dziok2014-03-27
| | | | Change-Id: I3dda438cabf2a8f5f3ff5fed1ae16d0793341685
* android: Get the port up and running againThomas Martitz2014-03-09
| | | | | | | | | | | The build system needed fixes because the tools paths changed and one tool that we used (apkbuilder) was removed entirely. Recent NDKs don't ship gcc 4.4.3 anymore, therefore switch to 4.6. The code itself needed a fix for a jni reference bug that was uncovered by KitKat. The port now builds with latest sdk (r22) and ndk (r9d). Change-Id: Id74fa54ba93bbb0ee30373fbe79e92c5ff03201d
* Disable rombox on the Player.Frank Gevaerts2014-02-05
| | | | | | No more Archos rombox left... Change-Id: I7de15b1ce1fabdb19ba7b0b69e0b7799664d8413
* Samsung YP-R1 target portLorenzo Miori2014-02-05
| | | | | | | | | This is the basic port to the new target Samsung YP-R1, which runs on a similar platform as YP-R0. Port is usable, although there are still some optimizations that have to be done. Change-Id: If83a8e386369e413581753780c159026d9e41f04
* Initial commit for the ZEN X-Fi StyleAmaury Pouly2014-01-21
| | | | Change-Id: Ib25a357a7bafd2ef25f273cadff70fafbd8d4661
* Workarund GCC bug #52991 regarding packet attribute.Thomas Martitz2014-01-17
| | | | | | | | | | | | According to http://http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52991, since mingw-gcc 4.7.1 -mms-bitfields is on by default, and this option breaks the packet attribute since around 4.2.0. We haven't set this option so I'm assuming we don't need it. Therefore a workaround in configure can make things work again, because we rely on the packet attribute in quite a few places. Change-Id: I8367c16594cecfdde97c548e04607deaa92e21de
* creativezenv: change target_id & MODEL_NUMBER.Andrew Ryabinin2014-01-02
| | | | | | | | | 85 is already used by HIFI E.T. MA8C. Change-Id: I7f30d6b1acbebd6152d11fa46ec87d95e6a809e7 Reviewed-on: http://gerrit.rockbox.org/703 Reviewed-by: Purling Nayuki <cyq.yzfl@gmail.com> Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
* Introduce IHIFI760/960 targets.Andrew Ryabinin2013-12-16
| | | | Change-Id: Ie36e48742c0ed9aa3fd6f49aa034a11d2492327c
* Initial commit for the YP-Z5 portLorenzo Miori2013-12-02
| | | | | | | | The port uses the imx233 soc, it's a STMP3650 based Samsung player Change-Id: I50b6d7e77fd292fab5ed26de87853cd5aaf9eaa4 Reviewed-on: http://gerrit.rockbox.org/490 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
* Initial commit for the Creative ZEN VAmaury Pouly2013-11-18
| | | | Change-Id: I3408cfdf742ea5995d5c87bf76653f436e1ec2b0
* creativezenmozaic: factor out code with the zen/zenxfiAmaury Pouly2013-11-18
| | | | | | Most of the code is similar, only the lcd driver is significantly different. Change-Id: I9eab1faf08d2356f2d820d6930ef3b0653349aa1
* configure: change E370 to E370/E380Amaury Pouly2013-11-13
| | | | Change-Id: I55e00f53bd8c7704b5c3fe5db0b716f980504887
* Introduce HiFi E.T. MA8/MA8C ports.Andrew Ryabinin2013-11-05
| | | | | | | | | HiFi E.T. MA8 is almost the same as MA9 except another DAC(pcm1792 in ma8, df1704 in ma9). MA8 has ILI9342 lcd, MA8C has ILI9342C lcd. Change-Id: If2ac04f5a3382590b2a392c46286559f54b2ed6a
* Introduce HiFi E.T. MA9C port.Andrew Ryabinin2013-11-05
| | | | | | | The only difference between this target and HiFi E.T. MA9 is display driver (ILI9342 in MA9 and ILI9342c in MA9C) Change-Id: Icc3d2490f850902a653175360f12283f3708bbb7
* tools/configure: add the Creative targets to selectorAmaury Pouly2013-10-22
| | | | Change-Id: I74c7c3cfea95350b88155c2d6d1111c84172b39d
* Initial commit for the Creative ZEN and ZEN X-FiAmaury Pouly2013-10-22
| | | | Change-Id: Ibd7b1b0b957ef11c200cb63eff7da53f11774748
* Initial commit for the Creative ZEN MozaicAmaury Pouly2013-10-22
| | | | Change-Id: Ib65aad9f5de37e514047955cad7ca40dc0af4f74
* Do not compile with "-ldl" on FreeBSD.Kevin Zheng2013-10-18
| | | | | | | | | | | The dynmaic library support provided in dlfcn.h does not require additional linker flags on FreeBSD. It is provided with the standard C library and will fail to link if "-ldl" is specified. Change-Id: I9f21d8369d45a9be94129a1b37b4607adf673c57 Reviewed-on: http://gerrit.rockbox.org/637 Tested-by: Kevin Zheng <kevinz5000@gmail.com> Reviewed-by: Michael Giacomelli <giac2000@hotmail.com>
* Simulator for Samsung YP-R0Lorenzo Miori2013-09-29
| | | | | | | | | Enable simulator for the target ypr0 to be built and used. Change-Id: I1b080f07ab90f5c4856881d08ad70e1053bbb0c0 Reviewed-on: http://gerrit.rockbox.org/618 Reviewed-by: Frank Gevaerts <frank@gevaerts.be>
* Initial commit for the sony NWZ-E360 and NWZ-E370Amaury Pouly2013-09-25
| | | | Change-Id: I52d21e136a98eaf481615d641795cf7ecf325465
* Always build test plugins in simulatorsRafaël Carré2013-06-13
| | | | Change-Id: I13094bfbed9fe05a48b4e81759978d112e19f48b
* Introduce HiFi E.T MA9 port.Andrew Ryabinin2013-05-06
| | | | Change-Id: I79aadc958fd5222f26f91ed127f8c6fb2c465dc2
* Adapt logic in configure script to cope with both x86 and x86_64 ↵Bryan Childs2013-04-26
| | | | | | | | | architecture Android NDKs Change-Id: I520443a17f1d9ced43222e14182ca4726717bc32 Reviewed-on: http://gerrit.rockbox.org/458 Reviewed-by: Frank Gevaerts <frank@gevaerts.be> Tested-by: Frank Gevaerts <frank@gevaerts.be>
* Add ANDROID_SDK_PATH and ANDROID_NDK_PATH to generated Makefile.Dominik Riebeling2013-04-04
| | | | | | | | | Previously it was sufficient to set those variables when running configure. Since ANDROID_NDK_PATH is now also used in the Android Makefile set both variables in the generated Makefile as well -- not everyone has (or wants) to set them globally in the environment. Change-Id: Ib64ffeea379c58c9d361b3fbfefb67084dce666c
* Samsung YP-R0 hosted target code refactoringLorenzo Miori2013-03-06
| | | | | | | | | | | | | | As per title this patch aims at splitting common target code and specific target code in a better way to support future ports within the same environment (e.g. Samsung YP-R1 where the Linux and the SoC are the same, with differences in hardware devices handling) Change-Id: I67b4918c46403b184d3d8f42ab5aae7d01037fd0 Reviewed-on: http://gerrit.rockbox.org/409 Reviewed-by: Thomas Martitz <kugel@rockbox.org> Tested-by: Thomas Martitz <kugel@rockbox.org>
* android: Undo accidental switch to asm threads.Thomas Martitz2012-11-07
| | | | | | | | sigaltstack() is not available (more accurately, not exposed by the NDK) pre-gingerbread/2.3. However the android-arm target runs on down to eclair/2.1, where the asm threads still work fine. Change-Id: I2bb14bc6bb5653c401552189699a676109ac6587
* configure: Remove leftover debugging outputThomas Martitz2012-11-07
| | | | Change-Id: I1a1f32faa72987b113f109b876639a1b153f0a88
* android: Add x86 target.Thomas Martitz2012-11-06
| | | | Change-Id: If205f8c69a7ac803eecab394e6d1758aeda86336
* configure: merge androidcc and androidmipscc.Thomas Martitz2012-11-06
| | | | Change-Id: Ice8ba3f2cb51091486b3f446447cc8d256bc4c00
* configure: autodetect mips arch versionThomas Martitz2012-11-06
| | | | Change-Id: Icaaca3d23ca89da977a065396b1961f9fe40da41
* Revert "SH gcc 4.6.3 with link-time optimization, for Archos targets"Marcin Bukat2012-10-24
| | | | This was commited by accident, sorry.