]> git.pld-linux.org Git - packages/acx.git/blobdiff - acx.spec
- Update 0.2.0pre8_plus_fixes_13 + corect CPPFLAGS
[packages/acx.git] / acx.spec
index 9fa64718d7e03a6c69efaf8943eda5d94f94f85d..0a19728d9ffffc68169783b8bfab3fa8c9ba2c98 100644 (file)
--- a/acx.spec
+++ b/acx.spec
@@ -5,13 +5,13 @@
 Summary:       Linux driver for WLAN card base on ACX100
 Summary(pl):   Sterownik dla Linuksa do kart bezprzewodowych na ukĀ³adzie ACX100
 Name:          kernel-net-acx100
-Version:       0.2.0pre6_plus_fixes_7
+Version:       0.2.0pre8_plus_fixes_13
 %define        _rel    1
 Release:       %{_rel}@%{_kernel_ver_str}
 License:       MPL or GPL
 Group:         Base/Kernel
 Source0:       http://rhlx01.fht-esslingen.de/~andi/acx100/acx100-%{version}.tar.bz2
-# Source0-md5: d03a9252ad411bd77eeb508a34bca8bd
+#Source0-MD5:   4daf538ed007ac4181c952703223e556
 URL:           http://acx100.sourcefroge.net/index.html
 %{?with_dist_kernel:BuildRequires:     kernel-headers >= 2.4.0}
 BuildRequires: %{kgcc_package}
@@ -51,24 +51,25 @@ EOF
 %{__make} \
        CC="%{kgcc}" \
        CPPFLAGS="-D__KERNEL__ -DMODULE -DACX_DEBUG=1 -DWLAN_HOSTIF=WLAN_PCI -I%{_kernelsrcdir}/include -I../include" \
-       CFLAGS="%{rpmcflags} -fno-strict-aliasing -fno-common -fomit-frame-pointer -Wall -Wstrict-prototypes -Wno-trigraphs"
-mv -f src/acx100_pci.o acx100_pci-up.o
-mv -f src/acx100_usb.o acx100_usb-up.o
+       CFLAGS="%{rpmcflags} -fno-strict-aliasing -fno-common -fomit-frame-pointer -Wall -Wstrict-prototypes -Wno-trigraphs -mpreferred-stack-boundary=4 -pipe -DACX_IO_WIDTH=32"
+
+mv -f src/acx_pci.o acx_pci-up.o
+mv -f src/acx_usb.o acx_usb-up.o
 
 %{__make} clean -C src
 %{__make} \
        CC="%{kgcc}" \
        CPPFLAGS="-D__KERNEL__ -D__KERNEL_SMP -DMODULE -DACX_DEBUG=1 -DWLAN_HOSTIF=WLAN_PCI -I%{_kernelsrcdir}/include -I../include" \
-       CFLAGS="%{rpmcflags} -fno-strict-aliasing -fno-common -fomit-frame-pointer -Wall -Wstrict-prototypes -Wno-trigraphs"
+       CFLAGS="%{rpmcflags} -fno-strict-aliasing -fno-common -fomit-frame-pointer -Wall -Wstrict-prototypes -Wno-trigraphs -mpreferred-stack-boundary=4 -pipe -DACX_IO_WIDTH=32"
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT/lib/modules/%{_kernel_ver}{,smp}/misc
 
-install acx100_pci-up.o $RPM_BUILD_ROOT/lib/modules/%{_kernel_ver}/misc/acx100_pci.o
-install acx100_usb-up.o $RPM_BUILD_ROOT/lib/modules/%{_kernel_ver}/misc/acx100_usb.o
-install src/acx100_pci.o $RPM_BUILD_ROOT/lib/modules/%{_kernel_ver}smp/misc/acx100_pci.o
-install src/acx100_usb.o $RPM_BUILD_ROOT/lib/modules/%{_kernel_ver}smp/misc/acx100_usb.o
+install acx_pci-up.o $RPM_BUILD_ROOT/lib/modules/%{_kernel_ver}/misc/acx_pci.o
+install acx_usb-up.o $RPM_BUILD_ROOT/lib/modules/%{_kernel_ver}/misc/acx_usb.o
+install src/acx_pci.o $RPM_BUILD_ROOT/lib/modules/%{_kernel_ver}smp/misc/acx_pci.o
+install src/acx_usb.o $RPM_BUILD_ROOT/lib/modules/%{_kernel_ver}smp/misc/acx_usb.o
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -80,10 +81,10 @@ rm -rf $RPM_BUILD_ROOT
 %depmod %{_kernel_ver}
 
 %post  -n kernel-smp-net-acx100
-%depmod %{_kernel_ver}
+%depmod %{_kernel_ver}smp
 
 %postun        -n kernel-smp-net-acx100
-%depmod %{_kernel_ver}
+%depmod %{_kernel_ver}smp
 
 %files
 %defattr(644,root,root,755)
This page took 0.327847 seconds and 4 git commands to generate.