summaryrefslogtreecommitdiff
path: root/rhel
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2011-06-22 11:07:33 -0700
committerBen Pfaff <blp@nicira.com>2011-06-22 14:05:53 -0700
commit8a2d6596f2cb43c097957ed6e003eb5225dd5003 (patch)
tree6a0507d29909c3c91ae4d56977219478b247b88f /rhel
parente3438006d3fe940aa90496f8dfc590b6c21dd8c5 (diff)
downloadopenvswitch-8a2d6596f2cb43c097957ed6e003eb5225dd5003.tar.gz
configure: Change --with-l26 to --with-linux.
Linux 3.0 will be out soon, so it seems like a good idea to reflect that in our "configure" script options.
Diffstat (limited to 'rhel')
-rw-r--r--rhel/openvswitch-kmod-rhel5.spec.in2
-rw-r--r--rhel/openvswitch-kmod-rhel6.spec.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/rhel/openvswitch-kmod-rhel5.spec.in b/rhel/openvswitch-kmod-rhel5.spec.in
index f1bc02efd..cf2a077b2 100644
--- a/rhel/openvswitch-kmod-rhel5.spec.in
+++ b/rhel/openvswitch-kmod-rhel5.spec.in
@@ -63,7 +63,7 @@ echo "override %{kmod_name} * weak-updates/%{kmod_name}" > kmod-%{kmod_name}.con
for kvariant in %{kvariants} ; do
KSRC=%{_usrsrc}/kernels/%{kversion}${kvariant:+-$kvariant}-%{_target_cpu}
cd _kmod_build_$kvariant
- ../openvswitch-%{version}/configure --with-l26="$KSRC"
+ ../openvswitch-%{version}/configure --with-linux="$KSRC"
%{__make} -C datapath/linux-2.6 %{?_smp_mflags}
cd ..
done
diff --git a/rhel/openvswitch-kmod-rhel6.spec.in b/rhel/openvswitch-kmod-rhel6.spec.in
index 5aa92bdc5..8f9b2efcb 100644
--- a/rhel/openvswitch-kmod-rhel6.spec.in
+++ b/rhel/openvswitch-kmod-rhel6.spec.in
@@ -40,7 +40,7 @@ Open vSwitch Linux kernel module.
%build
for flavor in %flavors_to_build; do
mkdir _$flavor
- (cd _$flavor && ../configure --with-l26="%{kernel_source $flavor}")
+ (cd _$flavor && ../configure --with-linux="%{kernel_source $flavor}")
%{__make} -C _$flavor/datapath/linux-2.6 %{?_smp_mflags}
done