]> code.ossystems Code Review - openembedded-core.git/commit
git 1.7.7: remove perl.mak before compile
authorRobert Yang <liezhi.yang@windriver.com>
Mon, 9 Apr 2012 08:37:12 +0000 (16:37 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 10 Apr 2012 12:15:59 +0000 (13:15 +0100)
commit7f9a3eb4e81f708573cfd5123655441d3b9532a5
tree27d0b22b4e9c5d0971310165ce35ac8e119f4ea8
parenta2c6687410f00623efe8dfcb22385cbbc7f2e1a9
git 1.7.7: remove perl.mak before compile

The git may fail to rebuild when perl's Config.pm or config.h changes,
this is because Makefile detects that perl/perl.mak is out of date.
Remove perl.mak to let Makefile regenerate it would fix the error.
Both git and git-native have this problem.

To reproduce the error: (On x86_64 host)

$ bitbake git-native
$ touch tmp/sysroots/x86_64-linux/usr/lib/perl-native/perl/5.14.2/Config.pm
$ bitbake git-native -ccompile -f

[YOCTO #2156]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
meta/recipes-devtools/git/git.inc