SPECS: bcm5700.spec - make build with new kernel-module-buid (2.6....
tommat
tommat at pld-linux.org
Mon Feb 6 15:01:34 CET 2006
Author: tommat Date: Mon Feb 6 14:01:34 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- make build with new kernel-module-buid (2.6.14.7-1)
- rel 4.1, please test and if ok give full release and STBR
---- Files affected:
SPECS:
bcm5700.spec (1.48 -> 1.49)
---- Diffs:
================================================================
Index: SPECS/bcm5700.spec
diff -u SPECS/bcm5700.spec:1.48 SPECS/bcm5700.spec:1.49
--- SPECS/bcm5700.spec:1.48 Thu Jan 12 21:14:22 2006
+++ SPECS/bcm5700.spec Mon Feb 6 15:01:28 2006
@@ -19,7 +19,7 @@
Summary(pl): Sterownik dla Linuksa do kart sieciowych Broadcom NetXtreme BCM57xx
Name: bcm5700
Version: 8.2.18
-%define _rel 4
+%define _rel 4.1
Release: %{_rel}
License: GPL v2
Group: Base/Kernel
@@ -85,25 +85,17 @@
if [ ! -r "%{_kernelsrcdir}/config-$cfg" ]; then
exit 1
fi
- rm -rf include
- install -d include/{linux,config}
- ln -sf %{_kernelsrcdir}/config-$cfg .config
- ln -sf %{_kernelsrcdir}/include/linux/autoconf-$cfg.h include/linux/autoconf.h
-%ifarch ppc ppc64
- install -d include/asm
- [ ! -d %{_kernelsrcdir}/include/asm-powerpc ] || ln -sf %{_kernelsrcdir}/include/asm-powerpc/* include/asm
- [ ! -d %{_kernelsrcdir}/include/asm-%{_target_base_arch} ] || ln -snf %{_kernelsrcdir}/include/asm-%{_target_base_arch}/* include/asm
-%else
- ln -sf %{_kernelsrcdir}/include/asm-%{_target_base_arch} include/asm
-%endif
- ln -sf %{_kernelsrcdir}/Module.symvers-$cfg Module.symvers
- touch include/config/MARKER
+ install -d o/include/linux
+ ln -sf %{_kernelsrcdir}/config-$cfg o/.config
+ ln -sf %{_kernelsrcdir}/Module.symvers-$cfg o/Module.symvers
+ ln -sf %{_kernelsrcdir}/include/linux/autoconf-$cfg.h o/include/linux/autoconf.h
+ %{__make} -j1 -C %{_kernelsrcdir} O=$PWD/o prepare scripts
install %{SOURCE1} Makefile
%{__make} -C %{_kernelsrcdir} clean \
RCS_FIND_IGNORE="-name '*.ko' -o" \
- M=$PWD O=$PWD \
+ M=$PWD O=$PWD/o \
%{?with_verbose:V=1}
%{__make} -C %{_kernelsrcdir} modules \
%{?debug:DBG=1} \
@@ -113,7 +105,7 @@
%endif
HOSTCC="%{__cc}" \
CPP="%{__cpp}" \
- M=$PWD O=$PWD \
+ M=$PWD O=$PWD/o \
%{?with_verbose:V=1}
mv bcm5700{,-$cfg}.ko
@@ -179,6 +171,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.49 2006/02/06 14:01:28 tommat
+- make build with new kernel-module-buid (2.6.14.7-1)
+- rel 4.1, please test and if ok give full release and STBR
+
Revision 1.48 2006/01/12 20:14:22 arekm
- rel 4; fix ppc/spac
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/bcm5700.spec?r1=1.48&r2=1.49&f=u
More information about the pld-cvs-commit
mailing list