mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 14:01:57 -09:00
pkg-perl: new infrastructure
Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
7128d249c0
commit
9fbb169976
@@ -206,7 +206,8 @@ HOST_PATH=$(HOST_DIR)/bin:$(HOST_DIR)/usr/bin:$(PATH)
|
||||
HOSTCC_VERSION:=$(shell $(HOSTCC_NOCCACHE) --version | \
|
||||
sed -n 's/^.* \([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)[ ]*.*$$/\1\2\3/p')
|
||||
|
||||
export PERL5LIB := $(HOST_DIR)/usr/lib/perl
|
||||
HOST_PERL_ARCHNAME := $(shell perl -MConfig -e "print Config->{archname}")
|
||||
export PERL5LIB := $(HOST_DIR)/usr/lib/perl5/$(HOST_PERL_ARCHNAME):$(HOST_DIR)/usr/lib/perl5
|
||||
|
||||
TARGET_CONFIGURE_OPTS=PATH=$(TARGET_PATH) \
|
||||
AR="$(TARGET_AR)" \
|
||||
@@ -359,5 +360,6 @@ include package/pkg-download.mk
|
||||
include package/pkg-autotools.mk
|
||||
include package/pkg-cmake.mk
|
||||
include package/pkg-luarocks.mk
|
||||
include package/pkg-perl.mk
|
||||
include package/pkg-python.mk
|
||||
include package/pkg-generic.mk
|
||||
|
||||
Reference in New Issue
Block a user