]> code.ossystems Code Review - openembedded-core.git/commit
pakcage.bbclass:use a better way to cut -dev/-dbg suffix
authorSong.Li <Song.Li@windriver.com>
Fri, 22 Feb 2013 10:52:19 +0000 (18:52 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 22 Feb 2013 13:52:25 +0000 (05:52 -0800)
commit91a3a48798029ca88a46a528200f4c5252f245e9
tree3e2d055c9d11273958d9463675b488f255b7dcf8
parenta5362de60c0051f16b88a40bd9cb41915bee0b0f
pakcage.bbclass:use a better way to cut -dev/-dbg suffix

In pakcage.bbclass,function replace('-dev', '') is
used to cut '-dev' suffix. but it will cause the
name "lib32-device-dev" to "lib32ice",
so change it to [:-4].

Signed-off-by: Song.Li <Song.Li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/package.bbclass