config BR2_PACKAGE_PERL
	bool "perl"
	depends on BR2_USE_MMU # fork()
	help
	  Larry Wall's Practical Extraction and Report Language
	  An interpreted scripting language, known among some as
	  "Unix's Swiss Army Chainsaw".

	  http://www.perl.org/

if BR2_PACKAGE_PERL

config BR2_PACKAGE_PERL_MODULES
	string "custom module selection"
	help
	  List of space-separated perl modules (without .pm) to copy
	  to the rootfs.

	  Examples: constant Getopt/Std Time/Local

	  Module dependencies on external libraries are not automatic so
	  check your needs.

	  Leave empty for all modules (as far as the external libraries
	  are available).

config BR2_PACKAGE_PERL_THREADS
	bool "thread support"
	depends on BR2_TOOLCHAIN_HAS_THREADS
	help
	  Enable use of threads in Perl scripts

	  WARNING: The use of interpreter-based threads in Perl
	  is officially discouraged.
	  See https://perldoc.perl.org/threads.html#WARNING

endif