diff options
| author | Khem Raj <raj.khem@gmail.com> | 2025-08-12 17:05:47 -0700 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-08-13 10:09:25 -0700 |
| commit | 7b7d912e7a55d29832492726b909ba46f8de2f77 (patch) | |
| tree | 02be038b171f5acccb232649f710910f99db2175 | |
| parent | 32f2857c6781f0b93c8b5527413c482eee6dc5f1 (diff) | |
| download | meta-openembedded-7b7d912e7a55d29832492726b909ba46f8de2f77.tar.gz | |
oprofile: Adjust ptests for UNPACKDIR changes
Location of S have moved under UNPACKDIR and this
needs to reflect in ptest install structure as some
of tests access the sourcedirs relative to itself
during run, these locations are built into tests
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-oe/recipes-kernel/oprofile/oprofile_1.4.0.bb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/meta-oe/recipes-kernel/oprofile/oprofile_1.4.0.bb b/meta-oe/recipes-kernel/oprofile/oprofile_1.4.0.bb index 45f70aa381..38bb957430 100644 --- a/meta-oe/recipes-kernel/oprofile/oprofile_1.4.0.bb +++ b/meta-oe/recipes-kernel/oprofile/oprofile_1.4.0.bb | |||
| @@ -59,18 +59,18 @@ do_install_ptest() { | |||
| 59 | find ${tooltest} -perm /u=x -type f| cpio -pvdu ${D}${PTEST_PATH} | 59 | find ${tooltest} -perm /u=x -type f| cpio -pvdu ${D}${PTEST_PATH} |
| 60 | done | 60 | done |
| 61 | 61 | ||
| 62 | install -d ${D}${PTEST_PATH}/../${BP}/events ${D}${PTEST_PATH}/../${BP}/libutil++/tests | 62 | install -d ${D}${PTEST_PATH}/../sources/${BP}/events ${D}${PTEST_PATH}/../sources/${BP}/libutil++/tests |
| 63 | # needed by libregex regex_test | 63 | # needed by libregex regex_test |
| 64 | cp libregex/stl.pat ${D}${PTEST_PATH}/libregex | 64 | cp libregex/stl.pat ${D}${PTEST_PATH}/libregex |
| 65 | cp libregex/tests/mangled-name ${D}${PTEST_PATH}/libregex/tests | 65 | cp libregex/tests/mangled-name ${D}${PTEST_PATH}/libregex/tests |
| 66 | 66 | ||
| 67 | # needed by litutil++ file_manip_tests | 67 | # needed by litutil++ file_manip_tests |
| 68 | cp ${S}/libutil++/tests/file_manip_tests.cpp \ | 68 | cp ${S}/libutil++/tests/file_manip_tests.cpp \ |
| 69 | libutil++/tests/file_manip_tests.o ${D}${PTEST_PATH}/../${BP}/libutil++/tests | 69 | libutil++/tests/file_manip_tests.o ${D}${PTEST_PATH}/../sources/${BP}/libutil++/tests |
| 70 | cp ${S}/libutil++/tests/file_manip_tests.cpp \ | 70 | cp ${S}/libutil++/tests/file_manip_tests.cpp \ |
| 71 | libutil++/tests/file_manip_tests.o ${D}${PTEST_PATH}/libutil++/tests | 71 | libutil++/tests/file_manip_tests.o ${D}${PTEST_PATH}/libutil++/tests |
| 72 | # needed by some libop tests | 72 | # needed by some libop tests |
| 73 | cp -R --no-dereference --preserve=mode,links -v ${S}/events ${D}${PTEST_PATH}/../${BP} | 73 | cp -R --no-dereference --preserve=mode,links -v ${S}/events ${D}${PTEST_PATH}/../sources/${BP} |
| 74 | } | 74 | } |
| 75 | 75 | ||
| 76 | RDEPENDS:${PN} = "binutils-symlinks" | 76 | RDEPENDS:${PN} = "binutils-symlinks" |
| @@ -78,4 +78,4 @@ RDEPENDS:${PN} = "binutils-symlinks" | |||
| 78 | FILES:${PN} = "${bindir} ${libdir}/${BPN}/lib*${SOLIBS} ${datadir}/${BPN}" | 78 | FILES:${PN} = "${bindir} ${libdir}/${BPN}/lib*${SOLIBS} ${datadir}/${BPN}" |
| 79 | FILES:${PN}-dev += "${libdir}/${BPN}/lib*${SOLIBSDEV} ${libdir}/${BPN}/lib*.la" | 79 | FILES:${PN}-dev += "${libdir}/${BPN}/lib*${SOLIBSDEV} ${libdir}/${BPN}/lib*.la" |
| 80 | FILES:${PN}-staticdev += "${libdir}/${BPN}/lib*.a" | 80 | FILES:${PN}-staticdev += "${libdir}/${BPN}/lib*.a" |
| 81 | FILES:${PN}-ptest += "${libdir}/${BPN}/${BP}" | 81 | FILES:${PN}-ptest += "${libdir} ${libdir}/${BPN}/sources" |
