]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
package_manager.py: fix RPM_PREFER_ELF_ARCH for mips rbt/elf
authorRobert Yang <liezhi.yang@windriver.com>
Mon, 23 Nov 2015 13:23:44 +0000 (05:23 -0800)
committerRobert Yang <liezhi.yang@windriver.com>
Mon, 23 Nov 2015 13:31:52 +0000 (05:31 -0800)
commit991915823dfa6b4cabe990272b246cf4bad05038
tree7ac90e59954a2b67224de1344ccb2404e27ef5c1
parent6f98c39418c60b7c0b25b30983d2e5257158a6a4
package_manager.py: fix RPM_PREFER_ELF_ARCH for mips

We can install 64 bit pkg to 32 bit pkg, so the previous checking is
incorrect, it should not only check mips64 or mips64el, the "mips"
should work, and 64bit ELF can also use mips as TUNE_ARCH, and there
are other mips varieties, so only check whether TUNE_ARCH starts with
mips or not.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
meta/lib/oe/package_manager.py