SPECS: qemu.spec - kqemu: rename suplied .o to .o.bin so they won'...
sparky
sparky at pld-linux.org
Mon Nov 13 17:31:22 CET 2006
Author: sparky Date: Mon Nov 13 16:31:22 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- kqemu: rename suplied .o to .o.bin so they won't be deleted in make clean
---- Files affected:
SPECS:
qemu.spec (1.63 -> 1.64)
---- Diffs:
================================================================
Index: SPECS/qemu.spec
diff -u SPECS/qemu.spec:1.63 SPECS/qemu.spec:1.64
--- SPECS/qemu.spec:1.63 Mon Nov 13 17:11:15 2006
+++ SPECS/qemu.spec Mon Nov 13 17:31:16 2006
@@ -162,7 +162,18 @@
%build
%if %{with kernel}
cd kqemu-%{_kqemu_version}
+
+mv -f kqemu-mod-i386.o{,.bin}
+mv -f kqemu-mod-x86_64.o{,.bin}
mv -f kqemu-linux.c{,.orig}
+cat > Makefile <<'EOF'
+obj-m := kqemu.o
+kqemu-objs:= kqemu-linux.o kqemu-mod.o
+
+$(obj)/kqemu-mod.o: $(src)/kqemu-mod-$(ARCH).o.bin
+ cp $< $@
+EOF
+
%build_kernel_modules -m kqemu <<'EOF'
if grep -q "CONFIG_PREEMPT_RT" o/.config; then
sed 's/SPIN_LOCK_UNLOCKED/SPIN_LOCK_UNLOCKED(kqemu_lock)/' \
@@ -282,6 +293,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.64 2006/11/13 16:31:16 sparky
+- kqemu: rename suplied .o to .o.bin so they won't be deleted in make clean
+
Revision 1.63 2006/11/13 16:11:15 sparky
- typo
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/qemu.spec?r1=1.63&r2=1.64&f=u
More information about the pld-cvs-commit
mailing list