path: root/apps/plugins/plugins.make
AgeCommit message (Collapse)AuthorFilesLines
2020-08-17WIP open_plugins.rock viewerWilliam Wilgus1-0/+5
OP allows you to use Open With.. to call plugins with parameters called directly it acts as a shortcut list for plugins open_plugins.rock interfaces with the open_plugin core When opened directly it acts as a viewer for the plugin.dat file this allows you to edit the paths and parameters for core shortcuts as well as your added plugins If a plugin is supplied to the viewer it is added to the dat file If instead the plugin has previously been added then it is run with the parameters you previously supplied ----------------------------------------------------------------------------- Added export to .opx files this allows shortcuts to plugins with parameters to be called from the file browser Change-Id: Ib8b05a60b049fb1d5881031ca09a07e3307d375a
2019-07-28Use full_path_subst on more places, to avoid replacing the wrong occurrences inVencislav Atanasov1-2/+2
paths. If ROOTDIR=/rockbox and BUILDDIR=/rockbox/build-something, it is now possible to successfully build both target binaries and simulators. Change-Id: If12d1d5933c5a15feebf627a4f1636dc1e3a67fa
2015-02-02iBasso DX50/DX90: Major code cleanup and reorganization.Udo Schläpfer1-2/+0
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 - 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 Includes - - - Does not include 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 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
2014-09-18Introducing Targets iBasso DX50 & iBasso DX90Simon Rothen1-1/+3
The port to for this two targets has been entirely developped by Ilia Sergachev (alias Il or xzcc). His source can be found at . The few necesary modifications for the DX90 port was done by headwhacker form 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 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 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: Tested: Chiwen Chang <> Reviewed-by: Michael Giacomelli <>
2013-04-26Make fixepoint.c as a shared library (libfixedpoint.a).Michael Sevakis1-1/+1
Change-Id: Icc10d6e85f890c432f191233a4d64e09f00be43d Reviewed-on: Reviewed-by: Michael Sevakis <> Tested-by: Michael Sevakis <>
2013-01-24Deprecate the EXTRA_LIBS variable.Björn Stenberg1-1/+1
Instead specify explicit library dependencies for codecs and plugins.
2012-04-25Add codecs to librbcodec.Sean Bartell1-1/+1
Change-Id: Id7f4717d51ed02d67cb9f9cb3c0ada4a81843f97 Reviewed-on: Reviewed-by: Nils Wallménius <> Tested-by: Nils Wallménius <>
2012-04-04Refactor and unify objcopy calls in the build system. Also now properly ↵Thomas Martitz1-7/+1
handles DEBUG builds on hosted targets to keep debug symbols if necessary. Change-Id: I884031b79c6d49479e4d95752f35ced68872dd5d
2012-03-28tlsf: move to /lib (it's also used by plugins).Thomas Martitz1-1/+1
Change-Id: I5e37b28c1ce4608d60b036343f280af3311ad490
2012-03-26(Hopefully) fix overlay plugins.Thomas Martitz1-1/+1
Change-Id: I210db2109493d296dcc644d643e8814862101652
2012-03-26build system: unify/simplify library handling a bit.Thomas Martitz1-3/+5
libs in $ROOT/lib now add to $(CORE_LIBS) and $(EXTRA_LIBS) and are automatically linked by the core and codecs/plugins respectively. Change-Id: Iff482c792a8c8142718f6a16a450c6e2f1497c9a
2012-02-18libarm_support references code in libplugin, so put libarm_support first of ↵Magnus Holmgren1-2/+2
the two when linking. There may be better solutions, but this fixes linking problems for me (on Cygwin). Change-Id: I5b2c87d5986cf5cba6652aad4ece0647e1178474
2012-01-21Hosted: Output map files after linking.Thomas Martitz1-1/+1
Change-Id: I5ac64d781aaa1aa2b3157589f8e689c0d946a39f
2012-01-21Move supprt-arm.S to separate library.Thomas Martitz1-2/+2
Core, codecs and plugins link it separately so this gets rid of SOURCES trickery. Don't build it for hosted targets. Change-Id: If15ef90e93cd218a4352ae8e89eea95d3122452f
2012-01-03Adjust a few makefiles to generate smaller (upto 80%) binaries on RaaA throughThomas Martitz1-3/+5
stripping. git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2011-09-07Submit FS#12258. Do not use '-ffunction-sections' and '-fdata-sections' when ↵Andree Buschmann1-1/+8
compiling. Fixes compiler warnings for mingw and cygwin simulatior builds. git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2011-06-07FS#12144, Use -fPIC -fvisibility=hidden only for plugins on sim and app ↵Nils Wallménius1-1/+2
builds and enable it for 32 bit too. Fixes linking errors on simbuilds. git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2011-02-24RaaA: Enable plugins for application buildsThomas Jarosch1-0/+15
Use own plugins/SOURCES and plugins/SUBDIRS file to avoid ifdef hell for disabled plugins without a keymap. This finally brings the credits screen to RaaA. git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2010-10-17add plugin_crt0.c to OTHER_SRC so that dependencies will be genereted.Teruaki Kawashima1-0/+1
git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2010-08-24Second try: Introduce plugin_crt0.c that every plugin links.Thomas Martitz1-4/+4
It handles exit() properly, calling the handler also when the plugin returns normally (also make exit() more standard compliant while at it). It also holds PLUGIN_HEADER, so that it doesn't need to be in each plugin anymore. To work better together with callbacks passed to rb->default_event_handler_ex() introduce exit_on_usb() which will call the exit handler before showing the usb screen and exit() after it. In most cases rb->default_event_handler_ex() was passed a callback which was manually called at all other return points. This can now be done via atexit(). In future plugin_crt0.c could also handle clearing bss, initializing iram and more. git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2010-08-24Move setjmp to lib and add setjmp for sh (imported from newlib) and compile ↵Thomas Martitz1-1/+1
it as separate library. It's used by both, plugins and codecs, and sh/hwcodec doesn't compile codecs so it doesn't fit into sources. git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2010-08-23Revert "Introduce plugin_crt0.c that every plugin links."Thomas Martitz1-2/+2
Too much errors and no time to fix them now. git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2010-08-23Introduce plugin_crt0.c that every plugin links.Thomas Martitz1-2/+2
It handles exit() properly, calling the handler also when the plugin returns normally (also it makes exit() more standard compliant while at it). It also holds PLUGIN_HEADER, so that it doesn't need to be in each plugin anymore. To work better together with callbacks passed to rb->default_event_handler_ex introduce exit_on_usb() which will call the exit handler before showing the usb screen and exit() after it. In most cases it was passed a callback which was manually called at all other return points. This can now be done via atexit(). In future plugin_crt0.c could also handle clearing bss, initializing iram and more. git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2010-07-10Rename/change SIMVER to APP_TYPE in the Makefiles.Thomas Martitz1-3/+3
SIMVER was really only used to detect a simulator build. With APP_TYPE you can now differentiate between simulator, application, checkwps and database builds. git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2010-07-03Move -Wl,-z,defs to GLOBAL_LDOPTS (instead of GCCOPTS), to avoid noise in ↵Frank Gevaerts1-0/+1
older gcc output when not linking git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2010-01-24*.link: depends on config file where plugin buffer size is setRafaël Carré1-1/+2
git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2010-01-17change dependencies in make files:Teruaki Kawashima1-1/+1
* apps.make: depends on ctype.o instead of errno.o to depend on config-*.h so that it works for simulator. * lang.make: add dependency of lang.h to make it sure that the file is updated properly when needed. * plugins.make: object files don't depend on libpluginbitmaps.a. git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2009-10-28Add Lua support to plugins MakefileMaurus Cuelenaere1-0/+5
git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2009-03-05Remove no longer used stuff.Jens Arnold1-4/+0
git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2009-03-04Use a static pattern rule to restrict the dependency on [pluginname].o to ↵Jens Arnold1-4/+10
single-file plugins. This allows the pattern rule for %.rock (with all dependencies defined elsewhere) to pick up multi-file plugins with no [pluginname].o file, and get rid of the duplication in (doom|midi|reversi).make. git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2009-03-03Bring back -fdata-sections that got lost in the make system overhaul (r19146).Jens Arnold1-2/+2
git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2009-03-02Fix some slight inconsistencies.Jens Arnold1-2/+2
git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2009-03-02Calculate the optimal memory location for overlay plugins, and use ↵Jens Arnold1-12/+25 for linking them. This gets rid of hand-adjusted, making it easy to use overlay plugins on other lowmem targets. * Fix some duplicate and incorrect dependencies. * Change the way libs are filtered, so that a lib can be specified more than once. This allows to get rid of explicitly linking gcc-support.o, fixing empty plugins on some simulator platforms. git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2009-03-01Silence warning from 'ar' if the archive had to be created.Jens Arnold1-1/+1
git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2009-02-23Stop hiding errors by redirecting stderr to /dev/null. If we really need to ↵Daniel Stenberg1-1/+1
do re-introduce somewhere we should rather make it dependent on the V variable so that make V=1 would still show the error and only "normal" builds would hide it. git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2009-02-09make sure is not processed when building sims since it isn't used ↵Daniel Stenberg1-0/+2
for anything then! git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2009-01-24Include divide-by-zero handling within plugins and codecs for ARM processors.Michael Sevakis1-1/+5
git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2009-01-12Added missing dependencies for codeclib and pluginlib. This required ↵Björn Stenberg1-1/+1
renaming some files that have twins in other places. git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2008-11-25Added 'keywords' and 'eol-style' properties.Björn Stenberg1-1/+1
git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2008-11-20Remove .a files before running ar, to avoid problems with renamed files ↵Björn Stenberg1-0/+1
remaining in the library. git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2008-11-20Make sure plugin directory exists before creating link file.Björn Stenberg1-0/+1
git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2008-11-20Bug fix again. Moved cp outside of $(shell) to force make to run it ↵Björn Stenberg1-1/+1
sequentially. git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2008-11-20Bug fix for simulator: Plugins and codecs were objcopied isntead of left as ELF.Björn Stenberg1-0/+4
git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2008-11-20New makefile solution: A single invocation of 'make' to build the entire ↵Björn Stenberg1-0/+76
tree. Fully controlled dependencies give faster and more correct recompiles. Many #include lines adjusted to conform to the new standards. git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657