]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - lfs/qemu-kqemu
qemu-kqemu: fix bios default.
[people/pmueller/ipfire-2.x.git] / lfs / qemu-kqemu
index a3c99b4512eb034ab3d24cd4356b69ffd81eafb1..38dc6a7da192628d89cc45a59bec071f66b8af33 100644 (file)
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2009  Michael Tremer & Christian Schmidt                      #
+# Copyright (C) 2010  IPFire Team  <info@ipfire.org>                          #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
@@ -32,7 +32,7 @@ DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)-kqemu
 PROG       = qemu-kqemu
-PAK_VER    = 2
+PAK_VER    = 3
 
 DEPS       = "sdl qemu"
 
@@ -77,9 +77,11 @@ $(subst %,%_MD5,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+       cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/qemu-kqemu_change-default-kqemu-bios.patch
        cd $(DIR_APP) && ./configure --prefix=/usr \
                --target-list="i386-softmmu"
        cd $(DIR_APP) && make $(MAKETUNING)
-       cd $(DIR_APP) && cp i386-softmmu/qemu /usr/bin/qemu-kqemu
+       cd $(DIR_APP) && cp -f i386-softmmu/qemu /usr/bin/qemu-kqemu
+       cd $(DIR_APP) && cp -f pc-bios/bios.bin /usr/share/qemu/bios-kqemu.bin
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)