diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2013-05-27 10:08:58 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2013-06-03 12:21:39 +0200 |
commit | 5b3c1fda143c3c82dea3e7e5176939d8a209b25f (patch) | |
tree | 3a3902104f1e03c975f59eb13c7555a6d5503e37 /rules/host-intltool.make | |
parent | e52e827080854bf633ec47d5543000b09f93b86d (diff) | |
download | ptxdist-5b3c1fda143c3c82dea3e7e5176939d8a209b25f.tar.gz ptxdist-5b3c1fda143c3c82dea3e7e5176939d8a209b25f.tar.xz |
host-intltool: use host-system-perl
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/host-intltool.make')
-rw-r--r-- | rules/host-intltool.make | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/rules/host-intltool.make b/rules/host-intltool.make index 143c3c3f9..71e6ec711 100644 --- a/rules/host-intltool.make +++ b/rules/host-intltool.make @@ -13,14 +13,6 @@ # HOST_PACKAGES-$(PTXCONF_HOST_INTLTOOL) += host-intltool -ifdef PTXCONF_HOST_INTLTOOL -ifeq ($(shell perl -e "require XML::Parser" 2>/dev/null || echo no),no) - $(warning *** XML::Parser perl module is required for host-intltool) - $(warning *** please install libxml-parser-perl (debian)) - $(error ) -endif -endif - # # Paths and names # @@ -41,4 +33,14 @@ HOST_INTLTOOL_DIR := $(HOST_BUILDDIR)/$(HOST_INTLTOOL) # HOST_INTLTOOL_CONF_TOOL := autoconf +# ---------------------------------------------------------------------------- +# Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/host-intltool.install.post: + @$(call targetinfo) + @$(call world/install.post, HOST_INTLTOOL) + @sed -i "s;^prefix=$$;prefix=$(PTXCONF_SYSROOT_HOST);" $(PTXCONF_SYSROOT_HOST)/bin/intltoolize + @$(call touch) + # vim: syntax=make |