On Wed, Jun 29, 2005 at 10:13:27PM +0300, Ville Skyttä wrote:
On Wed, 2005-06-29 at 15:00 -0400, Matthew Miller wrote:
> In the case of openafs, that requires some more hackery to figure out if
> we're supposed to be giving the options for an smp build.
Doesn't the openafs build figure that out automatically from the kernel
tree you're pointing it at [1]? Upstream issue?
[1] %{_usrsrc}/kernels/%{kver}-%{_target_cpu} in FC4+
--
Fedora-packaging mailing list
Fedora-packaging(a)redhat.com
https://www.redhat.com/mailman/listinfo/fedora-packaging
OpenAFS sucks...you have to pass the build different options for UP
versus SMP.
# UP first
%configure --with-afs-sysname=%{sysname}
--with-linux-kernel-headers=%{ksource_dir} --enable-kernel-module
make LOCAL_SMP_DEF="$EXTRAKDEFS -D__BOOT_KERNEL_UP=1" MPS=UP only_libafs
# then SMP
%configure --with-afs-sysname=%{sysname}
--with-linux-kernel-headers=%{ksource_dir_smp} --enable-kernel-module
make LOCAL_SMP_DEF="$EXTRAKDEFS -D__BOOT_KERNEL_SMP=1" MPS=MP only_libafs
Jack
--
Jack Neely <slack(a)quackmaster.net>
Realm Linux Administration and Development
PAMS Computer Operations at NC State University
GPG Fingerprint: 1917 5AC1 E828 9337 7AA4 EA6B 213B 765F 3B6A 5B89