diff options
author | Ting Liu <b28495@freescale.com> | 2013-02-01 18:12:38 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-02-01 15:36:43 +0000 |
commit | d1003ea86543ce5d09c163db95e9e723aa1adc10 (patch) | |
tree | 4893bd85e6e58a71f170b1026a2c7fe4ad2d1549 /meta/recipes-kernel/oprofile | |
parent | 1489a69cecb1dcc3502a4c24beaea81e6ca6dacc (diff) | |
download | openembedded-core-d1003ea86543ce5d09c163db95e9e723aa1adc10.tar.gz openembedded-core-d1003ea86543ce5d09c163db95e9e723aa1adc10.tar.bz2 openembedded-core-d1003ea86543ce5d09c163db95e9e723aa1adc10.zip |
oprofile: avoid processing files under .pc
Fix the below issue:
| DEBUG: Executing shell function do_configure
| sed: can't read ./.pc/opstart.patch/doc/opstop.1.in: Permission denied
| sed: can't read ./.pc/opstart.patch/doc/opstart.1.in: Permission
denied
| sed: can't read ./.pc/opstart.patch/utils/opstart.c: Permission denied
| ERROR: Function failed: do_configure
Signed-off-by: Ting Liu <b28495@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/oprofile')
-rw-r--r-- | meta/recipes-kernel/oprofile/oprofile.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-kernel/oprofile/oprofile.inc b/meta/recipes-kernel/oprofile/oprofile.inc index d6d20ae32a..b09aaf8c5f 100644 --- a/meta/recipes-kernel/oprofile/oprofile.inc +++ b/meta/recipes-kernel/oprofile/oprofile.inc @@ -19,7 +19,7 @@ FILES_${PN} = "${bindir} ${libdir}/${BPN}/lib*${SOLIBS} ${datadir}/${BPN}" FILES_${PN}-dev += "${libdir}/${BPN}/lib*${SOLIBSDEV} ${libdir}/${BPN}/lib*.la" FILES_${PN}-staticdev += "${libdir}/${BPN}/lib*.a" -INC_PR = "r1" +INC_PR = "r2" SRC_URI = "file://opstart.patch \ file://oprofile-no-query-modules.patch \ @@ -30,7 +30,7 @@ inherit autotools EXTRA_OECONF = "--with-kernel=${STAGING_KERNEL_DIR} --without-x" do_configure () { - find . -type f | xargs sed -i 's#ROOTHOME#${ROOT_HOME}#' + find . -wholename './.pc' -prune -o -type f -print | xargs sed -i 's#ROOTHOME#${ROOT_HOME}#' cp ${WORKDIR}/acinclude.m4 ${S}/ autotools_do_configure } |