Lines Matching +full:host +full:- +full:only

11 # the .mk file to only specify metadata information about the
22 PERL_ARCHNAME = $(ARCH)-linux
26 # inner-perl-package -- defines how the configuration, compilation and
34 # for host packages
36 # for host packages
37 # argument 4 is the type (target or host)
40 define inner-perl-package
43 # runtime) and the perl interpreter on the host (for
44 # compilation). However, host packages only need the perl
45 # interpreter on the host.
47 $(2)_DEPENDENCIES += host-perl perl
49 $(2)_DEPENDENCIES += host-perl
52 # From http://perldoc.perl.org/CPAN.html#Config-Variables - prefer_installer
56 # comes with only one of the two, that one will be
61 # Configure step. Only define it if not already defined by the package
62 # .mk file. And take care of the differences between host and target
70 cd $$($$(PKG)_SRCDIR) && if [ -f Build.PL ] && [ $$($(2)_PREFER_INSTALLER) != "EUMM" ] ; then \
74 --config ar="$$(TARGET_AR)" \
75 --config full_ar="$$(TARGET_AR)" \
76 --config cc="$$(TARGET_CC)" \
77 --config ccflags="$$(TARGET_CFLAGS)" \
78 --config optimize=" " \
79 --config ld="$$(TARGET_CC)" \
80 --config lddlflags="-shared $$(TARGET_LDFLAGS)" \
81 --config ldflags="$$(TARGET_LDFLAGS)" \
82 --include_dirs $$(STAGING_DIR)/usr/lib/perl5/$$(PERL_VERSION)/$$(PERL_ARCHNAME)/CORE \
83 --destdir $$(TARGET_DIR) \
84 --installdirs vendor \
85 --install_path lib=/usr/lib/perl5/site_perl/$$(PERL_VERSION) \
86 --install_path arch=/usr/lib/perl5/site_perl/$$(PERL_VERSION)/$$(PERL_ARCHNAME) \
87 --install_path bin=/usr/bin \
88 --install_path script=/usr/bin \
89 --install_path bindoc=/usr/share/man/man1 \
90 --install_path libdoc=/usr/share/man/man3 \
95 PERL_AUTOINSTALL=--skipdeps \
103 LDDLFLAGS="-shared $$(TARGET_LDFLAGS)" \
119 # Configure package for host
121 cd $$($$(PKG)_SRCDIR) && if [ -f Build.PL ] && [ $$($(2)_PREFER_INSTALLER) != "EUMM" ] ; then \
129 PERL_AUTOINSTALL=--skipdeps \
138 # Build step. Only define it if not already defined by the package .mk
139 # file. And take care of the differences between host and target
147 cd $$($$(PKG)_SRCDIR) && if [ -f Build.PL ] && [ $$($(2)_PREFER_INSTALLER) != "EUMM" ] ; then \
157 # Build package for host
159 cd $$($$(PKG)_SRCDIR) && if [ -f Build.PL ] && [ $$($(2)_PREFER_INSTALLER) != "EUMM" ] ; then \
169 # Host installation step. Only define it if not already defined by the
174 cd $$($$(PKG)_SRCDIR) && if [ -f Build.PL ] && [ $$($(2)_PREFER_INSTALLER) != "EUMM" ] ; then \
183 # Target installation step. Only define it if not already defined by
188 cd $$($$(PKG)_SRCDIR) && if [ -f Build.PL ] && [ $$($(2)_PREFER_INSTALLER) != "EUMM" ] ; then \
198 $(call inner-generic-package,$(1),$(2),$(3),$(4))
202 $(1)-upgrade:
203 utils/scancpan -force -$(4) $$($(3)_DISTNAME)
205 .PHONY: $(1)-upgrade
211 # perl-package -- the target generator macro for Perl packages
214 perl-package = $(call inner-perl-package,$(pkgname),$(call UPPERCASE,$(pkgname)),$(call UPPERCASE,$…
215 host-perl-package = $(call inner-perl-package,host-$(pkgname),$(call UPPERCASE,host-$(pkgname)),$(c…