SPECS: qemu.spec - fixed new way module building
sparky
sparky at pld-linux.org
Thu Feb 23 00:27:18 CET 2006
Author: sparky Date: Wed Feb 22 23:27:18 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- fixed new way module building
---- Files affected:
SPECS:
qemu.spec (1.45 -> 1.46)
---- Diffs:
================================================================
Index: SPECS/qemu.spec
diff -u SPECS/qemu.spec:1.45 SPECS/qemu.spec:1.46
--- SPECS/qemu.spec:1.45 Tue Feb 14 23:06:06 2006
+++ SPECS/qemu.spec Thu Feb 23 00:27:12 2006
@@ -165,21 +165,21 @@
if [ ! -r "%{_kernelsrcdir}/config-$cfg" ]; then
exit 1
fi
- install -d o/include/{linux,config}
+ install -d o/include/linux
ln -sf %{_kernelsrcdir}/config-$cfg o/.config
- ln -sf %{_kernelsrcdir}/include/linux/autoconf-$cfg.h o/include/linux/autoconf.h
ln -sf %{_kernelsrcdir}/Module.symvers-$cfg o/Module.symvers
-%if %{without dist_kernel}
+ ln -sf %{_kernelsrcdir}/include/linux/autoconf-$cfg.h o/include/linux/autoconf.h
+%if %{with dist_kernel}
%{__make} -C %{_kernelsrcdir} O=$PWD/o prepare scripts
%else
- ln -sf %{_kernelsrcdir}/scripts o/scripts
+ install -d o/include/config
touch o/include/config/MARKER
+ ln -sf %{_kernelsrcdir}/scripts o/scripts
%endif
- %{__make} -C %{_kernelsrcdir} clean \
- RCS_FIND_IGNORE="-name 'kqemu-mod-*.*' -o" \
- M=$PWD O=$PWD/o
%{__make} -C %{_kernelsrcdir} modules \
- M=$PWD O=$PWD/o
+ CC="%{__cc}" CPP="%{__cpp}" \
+ M=$PWD O=$PWD/o \
+ %{?with_verbose:V=1}
mv kqemu.ko kqemu-mod-$cfg.ko
done
cd -
@@ -294,6 +294,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.46 2006/02/22 23:27:12 sparky
+- fixed new way module building
+
Revision 1.45 2006/02/14 22:06:06 jajcus
- kqemu kernel module build procedure updated
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/qemu.spec?r1=1.45&r2=1.46&f=u
More information about the pld-cvs-commit
mailing list