[arch-commits] CVS update of unstable/modules/catalyst-mm (PKGBUILD)
Travis Willard
travis at archlinux.org
Thu Nov 22 05:23:25 UTC 2007
Date: Thursday, November 22, 2007 @ 00:23:25
Author: travis
Path: /home/cvs-unstable/unstable/modules/catalyst-mm
Modified: PKGBUILD (1.1 -> 1.2)
upgpkg: catalyst-mm 7.11-1
Got it to build with an odd env var. Oh well.
----------+
PKGBUILD | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
Index: unstable/modules/catalyst-mm/PKGBUILD
diff -u unstable/modules/catalyst-mm/PKGBUILD:1.1 unstable/modules/catalyst-mm/PKGBUILD:1.2
--- unstable/modules/catalyst-mm/PKGBUILD:1.1 Wed Nov 21 23:56:07 2007
+++ unstable/modules/catalyst-mm/PKGBUILD Thu Nov 22 00:23:25 2007
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD,v 1.1 2007/11/22 04:56:07 travis Exp $
+# $Id: PKGBUILD,v 1.2 2007/11/22 05:23:25 travis Exp $
# Maintainer: Travis Willard <travisw at wmpub.ca>
# Contributor: amdviaman
@@ -33,8 +33,10 @@
cp $startdir/src/archive_files/common/* $startdir/src/ -r
if [ "$CARCH" == "x86_64" ]; then
+ BUILDARCH=x86_64
cp $startdir/src/archive_files/x710_64a/* $startdir/src/ -r
else
+ BUILDARCH=i386
cp $startdir/src/archive_files/x710/* $startdir/src/ -r
fi
cd $startdir/src
@@ -42,7 +44,7 @@
# Build the kernel module
cp 2.6.x/Makefile .
- make -C /lib/modules/${_kernver}/build SUBDIRS="`pwd`" modules || return 1
+ make -C /lib/modules/${_kernver}/build SUBDIRS="`pwd`" ARCH=$BUILDARCH modules || return 1
# Install the kernel module
install -m 644 -D $startdir/src/lib/modules/fglrx/build_mod/fglrx.ko \
More information about the arch-commits
mailing list