]> code.ossystems Code Review - openembedded-core.git/commit
perl: Enable rebuilds to account for configuration changes
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 5 Nov 2014 18:49:03 +0000 (18:49 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 31 Dec 2014 10:17:15 +0000 (10:17 +0000)
commit326590db7067660af6c896a130c793cd1b55f650
tree023012c1191337a8ce17b87eb20137c0906855e1
parent0447732a7884ef49c7afbc2b408848e969666516
perl: Enable rebuilds to account for configuration changes

If configure/compile was rerun for perl, changes such as libdir changes
were not being picked up. To fix this we we add "make clean"
functionality, if the makefile is present.

We also in this case need to delete the .so file, else some perl modules
try and load the target arch libraries leading to build failures. I'd
love it if there were a better way to do this and am open to better
proposals but this was the best I could find, not being a perl expert.

(From OE-Core rev: 3b8adee2756085df47b90357eed4c20ee98c7cd1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/recipes-devtools/perl/perl_5.20.0.bb