summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/perf/perf-perl.inc
blob: 491f54c328071bd0436ec7aa08196bef139283a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
inherit perlnative cpan-base

# Env var which tells perl if it should use host (no) or target (yes) settings
export PERLCONFIGTARGET = "${@is_target(d)}"
export PERL_INC = "${STAGING_LIBDIR}${PERL_OWN_DIR}/perl5/${@get_perl_version(d)}/${@get_perl_arch(d)}/CORE"
export PERL_LIB = "${STAGING_LIBDIR}${PERL_OWN_DIR}/perl5/${@get_perl_version(d)}"
export PERL_ARCHLIB = "${STAGING_LIBDIR}${PERL_OWN_DIR}/perl5/${@get_perl_version(d)}/${@get_perl_arch(d)}"

# The perl symbols CPPSTDIN and CPPRUN embed the sysroot into the
# binaries, work needed to remove this
INSANE_SKIP:${PN}-dbg += "buildpaths"