summaryrefslogtreecommitdiffstats
path: root/rules/host-system-perl.make
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2020-08-18 13:07:16 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2020-08-18 14:28:45 +0200
commit3bc5d2144f9089764064522dc0c37d9bcef79181 (patch)
treea0ccb4d2ec9f775e1e754994e69b48c5126751f8 /rules/host-system-perl.make
parent01baad7529f4664a14eb58a1059d25769a293b75 (diff)
downloadptxdist-3bc5d2144f9089764064522dc0c37d9bcef79181.tar.gz
ptxdist-3bc5d2144f9089764064522dc0c37d9bcef79181.tar.xz
host-system-perl: add suboption for Parse::Yapp::Driver
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/host-system-perl.make')
-rw-r--r--rules/host-system-perl.make6
1 files changed, 6 insertions, 0 deletions
diff --git a/rules/host-system-perl.make b/rules/host-system-perl.make
index 8e50b27f2..2cfbf691b 100644
--- a/rules/host-system-perl.make
+++ b/rules/host-system-perl.make
@@ -45,6 +45,12 @@ ifdef PTXCONF_HOST_SYSTEM_PERL_XMLPARSER
ptxd_bailout "XML::Parser perl module is required. \
Please install libxml-parser-perl (debian)."
endif
+ifdef PTXCONF_HOST_SYSTEM_PERL_YAPP
+ @echo "Checking for Perl: Parse::Yapp::Driver"
+ @perl -e "require Parse::Yapp::Driver" 2>/dev/null || \
+ ptxd_bailout "Parse::Yapp::Driver perl module is required. \
+ Please install libparse-yapp-perl (debian)."
+endif
@echo
@$(call touch)