Tom Rini : qemu: Perform our sanity checks based on ENABLE_BINARY_LOCALE_GENERATION
Quoted 10 lines · git version control
Module: openembedded.git Branch: org.openembedded.dev Commit: 31e93854259130e20a4e08c9d803c34edc4b447e URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=31e93854259130e20a4e08c9d803c34edc4b447eAuthor: Tom Rini <[email protected]> Date: Mon Mar 1 11:18:28 2010 +0000qemu: Perform our sanity checks based on
ENABLE_BINARY_LOCALE_GENERATION
Review
Quoted 4 lines
(quoted diff) +1
-2if "qemu-native" in assume_provided: - if not check_app_exists("qemu-arm", e.data): - messages = messages + "qemu-native was in ASSUME_PROVIDED but the QEMU binaries (qemu-arm) can't be found in PATH" + required_utilities += "qemu"
Hi,
You need space before qemu, because it's hard to find following missing
utilities: md5sumqemu :).
Also I'm not really happy from qemu-arm -> qemu change, as my qemu-kvm built in gentoo with USE flags only for what I need
USE="aio -alsa -bluetooth -curl -esd -fdt -gnutls -hardened -kvm-trace -ncurses -pulseaudio -qemu-ifup% -sasl -sdl -static -vde" QEMU_SOFTMMU_TARGETS="arm -cris -i386 -m68k -microblaze -mips -mips64 -mips64el -mipsel -ppc -ppc64 -ppcemb -sh4 -sh4eb -sparc -sparc64 -x86_64" QEMU_USER_TARGETS="arm armeb -alpha -cris -i386 -m68k -microblaze -mips -mipsel -ppc -ppc64 -ppc64abi32 -sh4 -sh4eb -sparc -sparc32plus -sparc64 -x86_64"
then qemu binary is not built, but qemu-arm which AFAIK is used for binary locale generation is available.
Regards,
Signature · 3 lines
uin:136542059 jid:[email protected] Jansa Martin sip:[email protected] JaMa
Quoted 18 lines · Martin Jansa
Quoted 10 lines · git version control
Module: openembedded.git Branch: org.openembedded.dev Commit: 31e93854259130e20a4e08c9d803c34edc4b447e URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=31e93854259130e20a4e08c9d803c34edc4b447eAuthor: Tom Rini <[email protected]> Date: Mon Mar 1 11:18:28 2010 +0000qemu: Perform our sanity checks based on
ENABLE_BINARY_LOCALE_GENERATIONReview
Quoted 4 lines
(quoted diff) +1
-2if "qemu-native" in assume_provided: - if not check_app_exists("qemu-arm", e.data): - messages = messages + "qemu-native was in ASSUME_PROVIDED but the QEMU binaries (qemu-arm) can't be found in PATH" + required_utilities += "qemu"Hi,
Quoted 2 lines
You need space before qemu, because it's hard to find following missing
utilities: md5sumqemu :).
Oops.
Quoted 9 lines
Also I'm not really happy from qemu-arm -> qemu change, as my qemu-kvm built in gentoo with USE flags only for what I need
USE="aio -alsa -bluetooth -curl -esd -fdt -gnutls -hardened -kvm-trace -ncurses -pulseaudio -qemu-ifup% -sasl -sdl -static -vde" QEMU_SOFTMMU_TARGETS="arm -cris -i386 -m68k -microblaze -mips -mips64 -mips64el -mipsel -ppc -ppc64 -ppcemb -sh4 -sh4eb -sparc -sparc64 -x86_64" QEMU_USER_TARGETS="arm armeb -alpha -cris -i386 -m68k -microblaze -mips -mipsel -ppc -ppc64 -ppc64abi32 -sh4 -sh4eb -sparc -sparc32plus -sparc64 -x86_64"
then qemu binary is not built, but qemu-arm which AFAIK is used for binary locale generation is available.
Ah, I figured that a 'qemu' was always built, since what we need is a test that works for your usecase, except you care about powerpc (or mips or ...).
Signature · 2 lines
Tom Rini <[email protected]> Mentor Graphics Corporation
Quoted 31 lines · Tom Rini
Quoted 18 lines · Martin Jansa
Quoted 10 lines · git version control
Module: openembedded.git Branch: org.openembedded.dev Commit: 31e93854259130e20a4e08c9d803c34edc4b447e URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=31e93854259130e20a4e08c9d803c34edc4b447eAuthor: Tom Rini <[email protected]> Date: Mon Mar 1 11:18:28 2010 +0000qemu: Perform our sanity checks based on
ENABLE_BINARY_LOCALE_GENERATIONReview
Quoted 4 lines
(quoted diff) +1
-2if "qemu-native" in assume_provided: - if not check_app_exists("qemu-arm", e.data): - messages = messages + "qemu-native was in ASSUME_PROVIDED but the QEMU binaries (qemu-arm) can't be found in PATH" + required_utilities += "qemu"Hi,
Quoted 2 lines
You need space before qemu, because it's hard to find following missing
utilities: md5sumqemu :).Oops.
Quoted 7 lines
Also I'm not really happy from qemu-arm -> qemu change, as my qemu-kvm built in gentoo with USE flags only for what I need
USE="aio -alsa -bluetooth -curl -esd -fdt -gnutls -hardened -kvm-trace -ncurses -pulseaudio -qemu-ifup% -sasl -sdl -static -vde" QEMU_SOFTMMU_TARGETS="arm -cris -i386 -m68k -microblaze -mips -mips64 -mips64el -mipsel -ppc -ppc64 -ppcemb -sh4 -sh4eb -sparc -sparc64 -x86_64" QEMU_USER_TARGETS="arm armeb -alpha -cris -i386 -m68k -microblaze -mips -mipsel -ppc -ppc64 -ppc64abi32 -sh4 -sh4eb -sparc -sparc32plus -sparc64 -x86_64"
Quoted 6 lines
Quoted 2 lines
then qemu binary is not built, but qemu-arm which AFAIK is used for binary locale generation is available.
Ah, I figured that a 'qemu' was always built, since what we need is a test that works for your usecase, except you care about powerpc (or mips or ...).
So after a little irc'ing we've got an idea I'm testing and then will post for comments. glibc/eglibc-package.bbclass have logic to go from TARGET_ARCH to qemu-%s. I've modified that a bit more to spit out qemu-whatever (which is what they all wanted), and moved the gcc version check as well into qemu.bbclass. I'm doing a couple of builds now to make sure I didn't break the uses qemu logic and then I'll make sure the assume provided stuff works, and post. Sorry / Thanks all!
Signature · 2 lines
Tom Rini <[email protected]> Mentor Graphics Corporation