Search
j0ke.net Open Build Service
>
Projects
>
hardware
:
nic
>
bnx2x
> bnx2x_spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File bnx2x_spec of Package bnx2x (Revision 3)
Currently displaying revision
3
,
show latest
# norootforbuild %define name bnx2x %define version 1.72.18 %define debug_package %{nil} Summary: Broadcom NetXtreme II 10-Gigabit Ethernet driver Name: %{name} Version: %{version} Release: 1 Vendor: Broadcom Corporation License: GPL Group: System/Kernel Source: %{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot BuildRequires: kernel-source kernel-syms module-init-tools %suse_kernel_module_package ec2 xen xenpae vmi um %description This package contains the Broadcom NetXtreme II 10-Gigabit Ethernet driver. %package KMP Summary: Open Vswitch KMP Group: System/Kernel %description KMP This package contains the Broadcom NetXtreme II 10-Gigabit Ethernet driver. %prep %setup -T -b 0 set -- * mkdir source mv "$@" source/ mkdir obj %build export EXTRA_CFLAGS='-DVERSION=\"%version\"' for flavor in %flavors_to_build; do rm -rf obj/$flavor cp -r source obj/$flavor make -C /usr/src/linux-obj/%_target_cpu/$flavor modules M=$PWD/obj/$flavor done %install export INSTALL_MOD_PATH=$RPM_BUILD_ROOT export INSTALL_MOD_DIR=updates for flavor in %flavors_to_build; do make -C /usr/src/linux-obj/%_target_cpu/$flavor modules_install M=$PWD/obj/$flavor done %post /sbin/depmod -a %postun /sbin/depmod -a %changelog