blob: 8a7b33cf0904abe38d8b9105d7512afc77ea57da (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# -*-makefile-*-
#
# Copyright (C) 2013 by Michael Olbrich <m.olbrich@pengutronix.de>
#
# See CREDITS for details about who has contributed to this project.
#
# For further information about the PTXdist project and license conditions
# see the README file.
#
#
# We provide this package
#
PACKAGES-$(PTXCONF_HOST_SYSTEM_PERL) += host-system-perl
# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------
$(STATEDIR)/host-system-perl.prepare:
@$(call targetinfo)
@echo "Checking for Perl ..."
@perl -v >/dev/null 2>&1 || \
ptxd_bailout "'perl' not found! Please install.";
ifdef PTXCONF_HOST_SYSTEM_PERL_XMLPARSER
@echo "Checking for Perl: XML::Parser"
@perl -e "require XML::Parser" 2>/dev/null || \
ptxd_bailout "XML::Parser perl module is required. \
Please install libxml-parser-perl (debian)."
endif
@echo
@$(call touch)
# vim: syntax=make
|