Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perl-ptest: copy xconfig data from perl source directory #155

Draft
wants to merge 1 commit into
base: nilrt/master/scarthgap
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions meta/recipes-devtools/perl/perl-ptest.inc
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,10 @@ do_install_ptest () {
# Remove a useless timestamp...
sed -i -e '/Autogenerated starting on/d' ${D}${PTEST_PATH}/lib/unicore/mktables.lst

# Remove files with host-specific configuration for building native binaries
rm ${D}${PTEST_PATH}/Makefile.config ${D}${PTEST_PATH}/xconfig.h ${D}${PTEST_PATH}/xconfig.sh
# xconfig.h contains references to build host architecture, and yet is included from various other places.
# To make it reproducible let's make it a copy of config.h patch that is specific to the target architecture.
# It is believed that the original header is the product of building miniperl (a helper executable built with host compiler).
cp ${D}${libdir}/perl5/${PV}/${TARGET_ARCH}-linux/CORE/xconfig.h ${D}${PTEST_PATH}/xconfig.h
}

python populate_packages:prepend() {
Expand Down