SPECS: bcm4400.spec - rel 2

arekm arekm at pld-linux.org
Thu Jan 12 21:07:39 CET 2006


Author: arekm                        Date: Thu Jan 12 20:07:39 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- rel 2

---- Files affected:
SPECS:
   bcm4400.spec (1.17 -> 1.18) 

---- Diffs:

================================================================
Index: SPECS/bcm4400.spec
diff -u SPECS/bcm4400.spec:1.17 SPECS/bcm4400.spec:1.18
--- SPECS/bcm4400.spec:1.17	Sat Nov 12 12:21:36 2005
+++ SPECS/bcm4400.spec	Thu Jan 12 21:07:32 2006
@@ -7,11 +7,15 @@
 %bcond_without	userspace	# don't build userspace module
 %bcond_with	verbose		# verbose build (V=1)
 #
+%ifarch sparc
+%undefine	with_smp
+%endif
+#
 Summary:	Broadcom BCM4400 series driver for Linux
 Summary(pl):	Sterownik do karty Broadcom BCM4400
 Name:		bcm4400
 Version:	3.0.13
-%define		_rel	1
+%define		_rel	2
 Release:	%{_rel}
 License:	GPL v2
 Vendor:		Broadcom Corporation
@@ -28,8 +32,6 @@
 Requires(post,postun):	/sbin/depmod
 Requires:	kenel-net(bcm4400)
 ExcludeArch:	%{x8664} ppc64 sparc64 alpha
-# since we still need to crosscompile to sparc64
-ExcludeArch:	sparc
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -96,7 +98,13 @@
 	install -d include/{linux,config}
 	ln -sf %{_kernelsrcdir}/config-$cfg .config
 	ln -sf %{_kernelsrcdir}/include/linux/autoconf-$cfg.h include/linux/autoconf.h
-	ln -sf %{_kernelsrcdir}/include/asm-%{_target_base_arch} include/asm
+%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 %{SOURCE1} Makefile
@@ -176,6 +184,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.18  2006/01/12 20:07:32  arekm
+- rel 2
+
 Revision 1.17  2005/11/12 11:21:36  arekm
 - exclude 64bit archs (not supported)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/bcm4400.spec?r1=1.17&r2=1.18&f=u



More information about the pld-cvs-commit mailing list