mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 03:33:25 +02:00
Qemu: Update of qemu to support KVM.
This version has built-in KVM support.
This commit is contained in:
16
lfs/qemu
16
lfs/qemu
@@ -24,15 +24,15 @@
|
||||
|
||||
include Config
|
||||
|
||||
VER = 0.10.5
|
||||
VER = 0.11.0
|
||||
|
||||
THISAPP = qemu-$(VER)
|
||||
THISAPP = qemu-kvm-$(VER)
|
||||
DL_FILE = $(THISAPP).tar.gz
|
||||
DL_FROM = $(URL_IPFIRE)
|
||||
DIR_APP = $(DIR_SRC)/$(THISAPP)
|
||||
TARGET = $(DIR_INFO)/$(THISAPP)
|
||||
PROG = qemu
|
||||
PAK_VER = 7
|
||||
PAK_VER = 8
|
||||
|
||||
DEPS = "sdl"
|
||||
|
||||
@@ -44,7 +44,7 @@ objects = $(DL_FILE)
|
||||
|
||||
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
||||
|
||||
$(DL_FILE)_MD5 = 60060feb98c9649a5da8b136685f76ba
|
||||
$(DL_FILE)_MD5 = 440837a062967102a68e634d57eaf719
|
||||
|
||||
install : $(TARGET)
|
||||
|
||||
@@ -78,14 +78,8 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
@$(PREBUILD)
|
||||
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
|
||||
|
||||
# Apply a number of patches mainly for gcc 4
|
||||
# cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/$(THISAPP)-enforce-16byte-stack-boundary.patch
|
||||
# cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/$(THISAPP)-gcc4.patch
|
||||
# cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/$(THISAPP)-gcc4-hacks.patch
|
||||
# cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/$(THISAPP)-gcc4-opts.patch
|
||||
|
||||
cd $(DIR_APP) && ./configure --prefix=/usr \
|
||||
--disable-gfx-check --target-list="i386-linux-user i386-softmmu ppc-softmmu ppc-linux-user"
|
||||
--target-list="i386-linux-user i386-softmmu ppc-softmmu ppc-linux-user"
|
||||
|
||||
cd $(DIR_APP) && make $(MAKETUNING)
|
||||
cd $(DIR_APP) && make install
|
||||
|
||||
Reference in New Issue
Block a user