mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-27 00:21:44 +02:00
app-emulation/qemu: Sync with Gentoo
It's from Gentoo commit 0e33bcc6940a140cc273a66c41bd69d8ee4f5ba2.
This commit is contained in:
parent
300b53696a
commit
f89fd0f9a4
@ -25,11 +25,7 @@ if [[ ${PV} == *9999* ]]; then
|
||||
QEMU_DOCS_PREBUILT=0
|
||||
|
||||
EGIT_REPO_URI="https://gitlab.com/qemu-project/qemu.git/"
|
||||
EGIT_SUBMODULES=(
|
||||
tests/fp/berkeley-softfloat-3
|
||||
tests/fp/berkeley-testfloat-3
|
||||
subprojects/keycodemapdb
|
||||
)
|
||||
EGIT_SUBMODULES=()
|
||||
inherit git-r3
|
||||
SRC_URI=""
|
||||
else
|
||||
@ -440,6 +436,14 @@ check_targets() {
|
||||
popd >/dev/null
|
||||
}
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
src_unpack() {
|
||||
git-r3_src_unpack
|
||||
cd "${P}" || die
|
||||
meson subprojects download keycodemapdb berkeley-softfloat-3 berkeley-testfloat-3 || die
|
||||
}
|
||||
fi
|
||||
|
||||
src_prepare() {
|
||||
check_targets IUSE_SOFTMMU_TARGETS softmmu
|
||||
check_targets IUSE_USER_TARGETS linux-user
|
||||
@ -454,7 +458,7 @@ src_prepare() {
|
||||
MAKEOPTS+=" V=1"
|
||||
|
||||
# Remove bundled modules
|
||||
rm -r subprojects/dtc roms/*/ || die
|
||||
rm -r roms/*/ || die
|
||||
}
|
||||
|
||||
##
|
||||
|
Loading…
x
Reference in New Issue
Block a user