@@ -19,9 +19,52 @@ MICROPERL_MODS = $(call qstrip,$(BR2_PACKAGE_MICROPERL_MODULES))
MICROPERL_ARCH_MODS = Config.pm Config_git.pl Config_heavy.pl
MICROPERL_BASE_MODS = strict.pm vars.pm warnings.pm warnings/register.pm
+# other pragma modules (from lib/)
+MICROPERL_BASE_MODS += \
+ bytes.pm \
+ deprecate.pm \
+ feature.pm \
+ integer.pm \
+ less.pm \
+ locale.pm \
+ overloading.pm \
+ overload.pm \
+ sigtrap.pm \
+ sort.pm \
+ subs.pm \
+ utf8.pm utf8_heavy.pl \
+ version.pm
+
+# some common modules (from lib/)
+MICROPERL_BASE_MODS += \
+ Benchmark.pm \
+ Carp.pm \
+ Class/Struct.pm \
+ Exporter.pm Exporter/Heavy.pm \
+ File/Basename.pm \
+ File/Compare.pm \
+ Getopt/Std.pm \
+ Tie/Array.pm \
+ Tie/Hash.pm \
+ Tie/Scalar.pm \
+ UNIVERSAL.pm
+
+# other common modules (from dist/)
+MICROPERL_MODS += \
+ Dumpvalue.pm \
+ Env.pm \
+ autouse.pm \
+ base.pm \
+ constant.pm
+
+# other common modules (from cpan/)
+MICROPERL_MODS += \
+ Getopt/Long.pm \
+ parent.pm
+
# CGI bundle
ifeq ($(BR2_PACKAGE_MICROPERL_BUNDLE_CGI),y)
-MICROPERL_MODS += constant.pm CGI CGI.pm Carp.pm Exporter.pm overload.pm
+MICROPERL_MODS += CGI CGI.pm
endif
# Host microperl is actually full-blown perl
Signed-off-by: Francois Perrad <francois.perrad@gadz.org> --- package/microperl/microperl.mk | 45 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 44 insertions(+), 1 deletion(-)