Readd old qemu version with kqemu support.

This commit is contained in:
Arne Fitzenreiter
2010-02-21 19:24:07 +01:00
parent 5ba51b8204
commit af6f806ba1
4 changed files with 90 additions and 0 deletions

View File

@@ -0,0 +1 @@
usr/bin/qemu-kqemu

View File

@@ -67,6 +67,8 @@
* clamav-0.95.3
* cmake-2.4.8
* collectd-4.9.1
* compat-wireless-2.6.32.2-kmod-2.6.27.42-ipfire
* compat-wireless-2.6.32.2-kmod-2.6.27.42-ipfire-xen
* coreutils-5.96
* cpio-2.6
* cpufrequtils-007
@@ -270,6 +272,7 @@
* pptp-1.7.2
* procps-3.2.6
* psmisc-22.2
* qemu-0.11.0-kqemu
* qemu-0.12.2
* readline-5.1
* reiser4progs-1.0.5

85
lfs/qemu-kqemu Normal file
View File

@@ -0,0 +1,85 @@
###############################################################################
# #
# IPFire.org - A linux based firewall #
# Copyright (C) 2009 Michael Tremer & Christian Schmidt #
# #
# 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 #
# the Free Software Foundation, either version 3 of the License, or #
# (at your option) any later version. #
# #
# This program is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# GNU General Public License for more details. #
# #
# You should have received a copy of the GNU General Public License #
# along with this program. If not, see <http://www.gnu.org/licenses/>. #
# #
###############################################################################
###############################################################################
# Definitions
###############################################################################
include Config
VER = 0.11.0
THISAPP = qemu-$(VER)
DL_FILE = $(THISAPP).tar.gz
DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)-kqemu
PROG = qemu-kqemu
PAK_VER = 1
DEPS = "sdl qemu"
###############################################################################
# Top-level Rules
###############################################################################
objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
$(DL_FILE)_MD5 = 4da6a3e926a0260902f0dee342a59c23
install : $(TARGET)
check : $(patsubst %,$(DIR_CHK)/%,$(objects))
download :$(patsubst %,$(DIR_DL)/%,$(objects))
md5 : $(subst %,%_MD5,$(objects))
dist:
@$(PAK)
###############################################################################
# Downloading, checking, md5sum
###############################################################################
$(patsubst %,$(DIR_CHK)/%,$(objects)) :
@$(CHECK)
$(patsubst %,$(DIR_DL)/%,$(objects)) :
@$(LOAD)
$(subst %,%_MD5,$(objects)) :
@$(MD5)
###############################################################################
# Installation Details
###############################################################################
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
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
@rm -rf $(DIR_APP)
@$(POSTBUILD)

View File

@@ -563,6 +563,7 @@ buildipfire() {
ipfiremake fbset
ipfiremake sdl
ipfiremake qemu
ipfiremake qemu-kqemu
ipfiremake sane
ipfiremake netpbm
ipfiremake phpSANE