From: Paweł Gołaszewski Date: Fri, 16 Nov 2012 12:25:10 +0000 (+0100) Subject: release 2 - fix object build list X-Git-Tag: auto/th/ixgbe-3.11.33-2 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=746efd476a2e987f20e86923d3474316acac72d8;p=packages%2Fixgbe.git release 2 - fix object build list --- diff --git a/ixgbe.spec b/ixgbe.spec index c753e11..6fba5a2 100644 --- a/ixgbe.spec +++ b/ixgbe.spec @@ -14,7 +14,7 @@ %undefine with_userspace %endif -%define rel 1 +%define rel 2 %define pname ixgbe Summary: Intel(R) 10 Gigabit driver for Linux Summary(pl.UTF-8): Sterownik do karty Intel(R) 10 Gigabit @@ -59,11 +59,14 @@ 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_main.o ixgbe_common.o ixgbe_api.o ixgbe_param.o \ -ixgbe_ethtool.o kcompat.o ixgbe_82598.o ixgbe_82599.o ixgbe_sriov.o \ -ixgbe_mbx.o ixgbe_dcb.o ixgbe_dcb_82598.o ixgbe_dcb_82599.o ixgbe_phy.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 EXTRA_CFLAGS=-DDRIVER_IXGBE