]> code.ossystems Code Review - openembedded-core.git/commitdiff
oprofile: separate B and S
authorRobert Yang <liezhi.yang@windriver.com>
Tue, 13 Jan 2015 03:08:51 +0000 (19:08 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 16 Jan 2015 23:06:45 +0000 (23:06 +0000)
And bump the PR to avoid:
configure: error: source directory already configured; run "make distclean" there first

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
meta/recipes-kernel/oprofile/oprofile.inc
meta/recipes-kernel/oprofile/oprofile_1.0.0.bb

index 198df30d1472eef154ce2de7bc124432d79e71c9..49e6b16c1cb4b8985a814c07c7d5e615d563748c 100644 (file)
@@ -25,7 +25,7 @@ SRC_URI = "file://filemode-fix.patch \
            file://run-ptest \
            file://root-home-dir.patch"
 
-inherit autotools-brokensep pkgconfig ptest
+inherit autotools pkgconfig ptest
 
 EXTRA_OECONF = "--with-kernel=${STAGING_KERNEL_DIR}  --without-x ac_cv_prog_XSLTPROC="
 do_configure () {
@@ -40,7 +40,6 @@ do_compile_ptest() {
 
 do_install_ptest() {
        subdirs="libdb/tests libutil++/tests libregex/tests libutil/tests libop/tests libdb/tests "
-       cd ${S}
        for tooltest in ${subdirs}
        do
                find ${tooltest} -perm /u=x -type f| cpio -pvdu ${D}${PTEST_PATH}
@@ -54,6 +53,6 @@ do_install_ptest() {
        cp libregex/tests/mangled-name ${D}${PTEST_PATH}/libregex/tests
 
        # needed by litutil++ file_manip_tests
-       cp libutil++/tests/file_manip_tests.cpp \
+       cp ${S}/libutil++/tests/file_manip_tests.cpp \
                libutil++/tests/file_manip_tests.o ${D}${PTEST_PATH}/libutil++/tests
 }
index ad48ab377ccf41a3da0cdd9019f9bfc1bf0ea64f..f4a34b32e6db4229be49d7c080f52e64838f5b5f 100644 (file)
@@ -10,3 +10,4 @@ SRC_URI[sha256sum] = "847110b4ecdcf8c8353cd38f94c1b704aad4bfcd9453e38b88d112cfb7
 
 S = "${WORKDIR}/oprofile-${PV}"
 
+PR = "r1"