kqemu-kmod port

Norikatsu Shigemura nork at FreeBSD.org
Sat Oct 29 16:32:35 PDT 2005


On Sat, 29 Oct 2005 20:51:03 +0200
Juergen Lock <nox at jelal.kn-bremen.de> wrote:
> > > >  Err.  You may be able to build the kld seperately like that, but the
> > > > qemu build also needs the kqemu bits in place in the build dir to add in
> > > > kqemu support...  So if you remove it from the qemu port the kld wont
> > > > get used.
> > > $ grep -r kqemu .
> > > ./kqemu.c:#include "kqemu/kqemu.h"
> > 	REVENGE
> Eh? :)

	Skip it:-).

> > 	overrided: my kqemu-kmod port
> > 	http://people.freebsd.org/~nork/kqemu-kmod.shar
> > 	Please reget my shar file.
> > 	And I made a patch for qemu port.  How about?
>  Well, three changes:
> 1. use the old disfile, Fabrice still hasn't committed anything new
> (the copy on dad-answers.com is only there for one day each)
> 2. CFLAGS+= -I${LOCALBASE}/include doesn't get propagated to the build
> at least here, need to patch Makefile.target instead

	Agree.

> 3. need ${WRKSRC}/kqemu/Makefile.freebsd instead of ${WRKSRC}/kqemu/Makefile

	Why?  According to qemu/configure, ${WRKSRC}/kqemu/Makefile is
	needed instead of ${WRKSRC}/kqemu/Makefile.freebsd.

- - - - - - - - - - - - - - - - - - - - in qemu/configure #375
# kqemu support
if test $kqemu = "yes" ; then
    # test if the source code is installed
    if test '!' -f "kqemu/Makefile" ; then 
        kqemu="no"
    fi
fi
- - - - - - - - - - - - - - - - - - - -

> -MASTER_SITES=	http://www.qemu.org/ \
> -		http://people.fruitsalad.org/nox/qemu/ \
> -		http://dad-answers.com/qemu/
> +MASTER_SITES=	http://people.fruitsalad.org/nox/qemu/ \
> +		http://qemu.dad-answers.com/download/qemu/
>  DISTNAME=	${PORTNAME}-snapshot-2005-09-09_23

	Humm...  How about following lines?
- - - - - - - - - - - - - - - - - - - -
MASTER_SITES=   http://www.qemu.org/:release \
                http://people.fruitsalad.org/nox/qemu/:snapshot \
                http://qemu.dad-answers.com/download/qemu/:snapshot
DISTFILES=      ${PORTNAME}-snapshot-2005-09-09_23${EXTRACT_SUFX}:snapshot
- - - - - - - - - - - - - - - - - - - -
	You can replace :snapshot to :release, if new qemu is released.


More information about the freebsd-emulation mailing list