12345678910111213141516171819202122232425262728293031 |
- PERL_VERSION=5.22.1
- PERL_ARCHNAME:=$(ADK_TARGET_CPU_ARCH)-linux
- PERL_SITEDIR:=/usr/lib/perl5/site_perl/$(PERL_VERSION)
- PERL_INCDIR:=/usr/lib/perl5/$(PERL_VERSION)/$(PERL_ARCHNAME)/CORE
- PERL_ENV:= AR="$(TARGET_AR)" \
- FULL_AR="$(TARGET_AR)" \
- CC="$(TARGET_CC)" \
- CCFLAGS="$(TARGET_CFLAGS)" \
- OPTIMIZE=" " \
- LD="$(TARGET_CC)" \
- LDDLFLAGS="-shared $(TARGET_LDFLAGS)" \
- LDFLAGS="$(TARGET_LDFLAGS)" \
- PERL_INC=$(STAGING_TARGET_DIR)/$(PERL_INCDIR) \
- DESTDIR=$(WRKINST) \
- INSTALLDIRS=vendor \
- INSTALLVENDORLIB=$(PERL_SITEDIR) \
- INSTALLVENDORARCH=$(PERL_SITEDIR)/$(PERL_ARCHNAME) \
- INSTALLVENDORBIN=/usr/bin \
- INSTALLVENDORSCRIPT=/usr/bin
- HOST_PERL_ENV:= CC="$(CC_FOR_BUILD)" \
- CCFLAGS="$(CFLAGS_FOR_BUILD)" \
- OPTIMIZE=" " \
- LD="$(CC_FOR_BUILD)" \
- LDDLFLAGS="-shared $(LDFLAGS_FOR_BUILD)" \
- LDFLAGS="$(LDFLAGS_FOR_BUILD)" \
- DESTDIR=$(WRKINST) \
- INSTALLDIRS=vendor \
- INSTALLVENDORLIB=$(PERL_SITEDIR) \
- INSTALLVENDORARCH=$(PERL_SITEDIR)/$(PERL_ARCHNAME) \
- INSTALLVENDORBIN=/usr/bin \
- INSTALLVENDORSCRIPT=/usr/bin
|