]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/qemu
Add possibility to disable packages for some arches.
[ipfire-2.x.git] / lfs / qemu
index efd16f5f8a0d5ff8ff96d2364cbc53097f3f0137..049efff3eaf9b87b6847ec62c5de96489412c41e 100644 (file)
--- a/lfs/qemu
+++ b/lfs/qemu
 
 include Config
 
-VER        = 0.10.1
+VER        = 0.14.1
 
 THISAPP    = qemu-$(VER)
 DL_FILE    = $(THISAPP).tar.gz
 DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
+SUP_ARCH   = i586
 PROG       = qemu
-PAK_VER    = 5
+PAK_VER    = 11
 
 DEPS       = "sdl"
 
@@ -44,7 +45,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = 99b6da099343f6a32e02211aa5925154
+$(DL_FILE)_MD5 = b6c713a8db638e173af53a62d5178640
 
 install : $(TARGET)
 
@@ -77,16 +78,11 @@ $(subst %,%_MD5,$(objects)) :
 $(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"
-               
+
+       cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/qemu-0.14.1_missing_ATFCWD_hack.patch
+
+       cd $(DIR_APP) && ./configure --prefix=/usr --sysconfdir=/etc \
+               --target-list="i386-linux-user i386-softmmu"
        cd $(DIR_APP) && make $(MAKETUNING)
        cd $(DIR_APP) && make install
        @rm -rf $(DIR_APP)