summaryrefslogtreecommitdiffstats
path: root/package/php/Config.ext
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2015-04-08 12:39:29 -0300
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-04-08 21:24:46 +0200
commite05476491720f96fcbeb926b4599d111efb598a6 (patch)
tree9379994eb5587c3b779f8e58d6a66f3526acc5d8 /package/php/Config.ext
parent4959dabe7dfbe851e1848ff783f1b37a9fb0c0f2 (diff)
downloadbuildroot-e05476491720f96fcbeb926b4599d111efb598a6.tar.gz
buildroot-e05476491720f96fcbeb926b4599d111efb598a6.zip
php: add opcache option
Add a Zend OPcache option and tweak the build system into being cross-compile friendly. The OPcache extension allows for a neat intermediate bytecode cache in memory to avoid reinterpreting/recompiling php scripts on multiple runs. Make it an option since this takes up valuable RAM. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/php/Config.ext')
-rw-r--r--package/php/Config.ext5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/php/Config.ext b/package/php/Config.ext
index fafae264dc..a0898b926f 100644
--- a/package/php/Config.ext
+++ b/package/php/Config.ext
@@ -10,6 +10,11 @@ config BR2_PACKAGE_PHP_EXT_FILEINFO
help
File Information support
+config BR2_PACKAGE_PHP_EXT_OPCACHE
+ bool "OPcache"
+ help
+ Enable the Zend OPcache accelerator.
+
config BR2_PACKAGE_PHP_EXT_READLINE
bool "Readline"
select BR2_PACKAGE_NCURSES
OpenPOWER on IntegriCloud