Lines 45-51
IUSE+=" ${use_softmmu_targets} ${use_user_targets}"
Link Here
|
45 |
|
45 |
|
46 |
# Allow no targets to be built so that people can get a tools-only build. |
46 |
# Allow no targets to be built so that people can get a tools-only build. |
47 |
# Block USE flag configurations known to not work. |
47 |
# Block USE flag configurations known to not work. |
48 |
REQUIRED_USE="${PYTHON_REQUIRED_USE} |
48 |
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} ) |
49 |
gtk2? ( gtk ) |
49 |
gtk2? ( gtk ) |
50 |
qemu_softmmu_targets_arm? ( fdt ) |
50 |
qemu_softmmu_targets_arm? ( fdt ) |
51 |
qemu_softmmu_targets_microblaze? ( fdt ) |
51 |
qemu_softmmu_targets_microblaze? ( fdt ) |
Lines 369-375
qemu_src_configure() {
Link Here
|
369 |
# are enabled), but it's not really worth the hassle. Disable it |
369 |
# are enabled), but it's not really worth the hassle. Disable it |
370 |
# all the time to avoid automatically detecting it. #568856 |
370 |
# all the time to avoid automatically detecting it. #568856 |
371 |
--disable-gcrypt |
371 |
--disable-gcrypt |
372 |
--python="${PYTHON}" |
372 |
--python="/usr/bin/python2.7" |
373 |
--cc="$(tc-getCC)" |
373 |
--cc="$(tc-getCC)" |
374 |
--cxx="$(tc-getCXX)" |
374 |
--cxx="$(tc-getCXX)" |
375 |
--host-cc="$(tc-getBUILD_CC)" |
375 |
--host-cc="$(tc-getBUILD_CC)" |
Lines 495-501
qemu_src_configure() {
Link Here
|
495 |
src_configure() { |
495 |
src_configure() { |
496 |
local target |
496 |
local target |
497 |
|
497 |
|
498 |
python_setup |
498 |
use python && python_setup |
499 |
|
499 |
|
500 |
softmmu_targets= softmmu_bins=() |
500 |
softmmu_targets= softmmu_bins=() |
501 |
user_targets= user_bins=() |
501 |
user_targets= user_bins=() |