diff options
author | Nitin A Kamble <nitin.a.kamble@intel.com> | 2012-03-15 11:42:24 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-19 13:31:32 +0000 |
commit | b1ce043d46f7465daf320d80ddd0db0b69def917 (patch) | |
tree | cda2e02be6236176e21fc20fbed26c0da4cf732b /meta/recipes-bsp | |
parent | bf52e32e09423056c8c78760db22ca7497ec357d (diff) | |
download | openembedded-core-b1ce043d46f7465daf320d80ddd0db0b69def917.tar.gz openembedded-core-b1ce043d46f7465daf320d80ddd0db0b69def917.tar.bz2 openembedded-core-b1ce043d46f7465daf320d80ddd0db0b69def917.tar.xz openembedded-core-b1ce043d46f7465daf320d80ddd0db0b69def917.zip |
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.
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Diffstat (limited to 'meta/recipes-bsp')
-rw-r--r-- | meta/recipes-bsp/pciutils/pciutils_3.1.9.bb | 5 |
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 51e747604..2c969d970 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 () { ) } +do_compile_prepend () { + # Avoid this error: ln: failed to create symbolic link `libpci.so': File exists + rm -f ${S}/lib/libpci.so +} + export PREFIX = "${prefix}" export SBINDIR = "${sbindir}" export SHAREDIR = "${datadir}" |