X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=ixgbe.spec;h=42dce290ea8408df8c3b340bf2e7e9dc0844677d;hb=51d90d1298991f5df2a0358882f1c1cce33f1943;hp=ec72e52718a022d06f25ed24e05a23ddf0984af4;hpb=7825d479190b7c8127cf2379c1671283cccf756b;p=packages%2Fixgbe.git diff --git a/ixgbe.spec b/ixgbe.spec index ec72e52..42dce29 100644 --- a/ixgbe.spec +++ b/ixgbe.spec @@ -14,17 +14,17 @@ %undefine with_userspace %endif -%define rel 8 +%define rel 7 %define pname ixgbe Summary: Intel(R) 10 Gigabit driver for Linux Summary(pl.UTF-8): Sterownik do karty Intel(R) 10 Gigabit Name: %{pname}%{_alt_kernel} -Version: 1.3.47 +Version: 3.15.1 Release: %{rel} License: GPL v2 Group: Base/Kernel -Source0: http://dl.sourceforge.net/e1000/%{pname}-%{version}.tar.gz -# Source0-md5: 91f6125c8c91d958c827749cc1dfa2cf +Source0: http://downloads.sourceforge.net/e1000/%{pname}-%{version}.tar.gz +# Source0-md5: 3558384b9eb31bf1185117091ac5f567 URL: http://sourceforge.net/projects/e1000/ %{?with_dist_kernel:BuildRequires: kernel%{_alt_kernel}-module-build >= 3:2.6.20.2} BuildRequires: rpmbuild(macros) >= 1.379 @@ -59,12 +59,18 @@ Intel(R) 10 Gigabit opartych o układ 82598EB. %prep %setup -q -n %{pname}-%{version} +cp src/Makefile src/Makefile.%{name} cat > src/Makefile <<'EOF' obj-m := ixgbe.o -ixgbe-objs := ixgbe_82598.o ixgbe_main.o ixgbe_param.o ixgbe_ethtool.o \ -kcompat.o ixgbe_api.o ixgbe_phy.o ixgbe_common.o - -EXTRA_CFLAGS=-DDRIVER_IXGBE +ixgbe-objs := ixgbe_main.o ixgbe_common.o ixgbe_api.o ixgbe_param.o \ +ixgbe_lib.o ixgbe_ethtool.o kcompat.o ixgbe_82598.o \ +ixgbe_82599.o ixgbe_ptp.o ixgbe_x540.o ixgbe_sriov.o \ +ixgbe_mbx.o ixgbe_dcb.o ixgbe_dcb_82598.o ixgbe_dcb_82599.o \ +ixgbe_sysfs.o ixgbe_procfs.o ixgbe_phy.o ixgbe_fcoe.o \ +ixgbe_dcb_nl.o ixgbe_dcb_nl.o ixgbe_debugfs.o + +EXTRA_CFLAGS+=-DDRIVER_IXGBE +EXTRA_CFLAGS+=-DIXGBE_PTP EOF %build