summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp/pciutils/pciutils_3.1.9.bb
diff options
context:
space:
mode:
authorNitin A Kamble <nitin.a.kamble@intel.com>2012-03-15 11:42:24 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-19 14:37:39 +0000
commitba534172568b5767da7a814bd6c06180d85fedf5 (patch)
tree93e22003cb207db73792ddcdaa3063d219d4e616 /meta/recipes-bsp/pciutils/pciutils_3.1.9.bb
parentacc1b66677a7326321ce076a4b0cf820b600b088 (diff)
downloadpoky-ba534172568b5767da7a814bd6c06180d85fedf5.tar.gz
pciutils: fix a do_compile failure
Avoid this issue: | ln -s libpci.so.3.1.9 libpci.so | ln: failed to create symbolic link `libpci.so': File exists | make[1]: *** [libpci.so] Error 1 | make[1]: Leaving directory `/srv/home/nitin/builds/build-multilib/tmp/work/x86_64-poky-linux/pciutils-3.1.9-r0/pciutils-3.1.9/lib' | make: *** [lib/libpci.so] Error 2 | ERROR: oe_runmake failed NOTE: package pciutils-3.1.9-r0: task do_compile: Failed PR not bumped as there are no changes in the output packages. (From OE-Core rev: b1ce043d46f7465daf320d80ddd0db0b69def917) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp/pciutils/pciutils_3.1.9.bb')
-rw-r--r--meta/recipes-bsp/pciutils/pciutils_3.1.9.bb5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-bsp/pciutils/pciutils_3.1.9.bb b/meta/recipes-bsp/pciutils/pciutils_3.1.9.bb
index 51e7476045..2c969d970c 100644
--- a/meta/recipes-bsp/pciutils/pciutils_3.1.9.bb
+++ b/meta/recipes-bsp/pciutils/pciutils_3.1.9.bb
@@ -33,6 +33,11 @@ do_configure () {
33 ) 33 )
34} 34}
35 35
36do_compile_prepend () {
37 # Avoid this error: ln: failed to create symbolic link `libpci.so': File exists
38 rm -f ${S}/lib/libpci.so
39}
40
36export PREFIX = "${prefix}" 41export PREFIX = "${prefix}"
37export SBINDIR = "${sbindir}" 42export SBINDIR = "${sbindir}"
38export SHAREDIR = "${datadir}" 43export SHAREDIR = "${datadir}"