mirror of
https://git.yoctoproject.org/poky
synced 2026-09-13 09:49:32 +02:00
Convert to new override syntax
This is the result of automated script conversion: scripts/contrib/convert-overrides.py <oe-core directory> converting the metadata to use ":" as the override character instead of "_". (From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -21,13 +21,13 @@ inherit cpan ptest-perl
|
||||
|
||||
# fix up sub MakeMaker project as arguments don't get propagated though
|
||||
# see https://rt.cpan.org/Public/Bug/Display.html?id=28632
|
||||
do_configure_append_class-target() {
|
||||
do_configure:append:class-target() {
|
||||
sed -E \
|
||||
-e 's:-L${STAGING_LIBDIR}::g' -e 's:-I${STAGING_INCDIR}::g' \
|
||||
-i Makefile Expat/Makefile
|
||||
}
|
||||
|
||||
do_configure_append() {
|
||||
do_configure:append() {
|
||||
sed -e 's:--sysroot=.*\(\s\|$\):--sysroot=${STAGING_DIR_TARGET} :g' \
|
||||
-i Makefile Expat/Makefile
|
||||
sed 's:^FULL_AR = .*:FULL_AR = ${AR}:g' -i Expat/Makefile
|
||||
@@ -40,7 +40,7 @@ do_compile() {
|
||||
cpan_do_compile
|
||||
}
|
||||
|
||||
do_compile_class-native() {
|
||||
do_compile:class-native() {
|
||||
cpan_do_compile
|
||||
}
|
||||
|
||||
@@ -53,6 +53,6 @@ do_install_ptest() {
|
||||
chown -R root:root ${D}${PTEST_PATH}/samples
|
||||
}
|
||||
|
||||
RDEPENDS_${PN}-ptest += "perl-module-filehandle perl-module-if perl-module-test perl-module-test-more"
|
||||
RDEPENDS:${PN}-ptest += "perl-module-filehandle perl-module-if perl-module-test perl-module-test-more"
|
||||
|
||||
BBCLASSEXTEND="native nativesdk"
|
||||
|
||||
Reference in New Issue
Block a user