mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-10 03:24:36 +08:00
fix catalyst-testing
This commit is contained in:
parent
26484a9028
commit
8127b200c4
@ -25,11 +25,12 @@ replaces=('catalyst')
|
||||
install=catalyst.install
|
||||
source=(http://www.ati-forum.de/files/Downloads/Driver/ati-driver-installer-8.783_RC1-x86.x86_64.rar
|
||||
#http://www2.ati.com/drivers/linux/ati-driver-installer-${pkgver/./-}-x86.x86_64.run
|
||||
catalyst.sh amdcccle.desktop atieventsd.sh)
|
||||
catalyst.sh amdcccle.desktop atieventsd.sh makefile_compat.patch)
|
||||
md5sums=('7c3e11ab4ebec6132a578ffe8f2915f9'
|
||||
'bdafe749e046bfddee2d1c5e90eabd83'
|
||||
'4efa8414a8fe9eeb50da38b5522ef81d'
|
||||
'f729bf913613f49b0b9759c246058a87')
|
||||
'f729bf913613f49b0b9759c246058a87'
|
||||
'3e1b82bd69774ea808da69c983d6a43b')
|
||||
|
||||
build() {
|
||||
|
||||
@ -44,6 +45,10 @@ unrar e ati-driver-installer-8.783_RC1-x86.x86_64.rar
|
||||
if [ "${CARCH}" = "x86_64" ]; then
|
||||
BUILDARCH=x86_64
|
||||
_archdir=x86_64
|
||||
|
||||
# patch makefile
|
||||
cd "${srcdir}/archive_files"
|
||||
patch -Np1 -i makefile_compat.patch || return 1
|
||||
fi
|
||||
if [ "${CARCH}" = "i686" ]; then
|
||||
BUILDARCH=i386
|
||||
|
10
catalyst-testing/makefile_compat.patch
Normal file
10
catalyst-testing/makefile_compat.patch
Normal file
@ -0,0 +1,10 @@
|
||||
--- 10.10/common/lib/modules/fglrx/build_mod/2.6.x/Makefile 2010-09-22 09:15:33.000000000 +0200
|
||||
+++ 10.10/common/lib/modules/fglrx/build_mod/2.6.x/Makefile 2010-10-01 17:57:21.057820899 +0200
|
||||
@@ -66,6 +66,7 @@
|
||||
-DFGL_GART_RESERVED_SLOT \
|
||||
-DFGL_LINUX253P1_VMA_API \
|
||||
-DPAGE_ATTR_FIX=$(PAGE_ATTR_FIX) \
|
||||
+ -DCOMPAT_ALLOC_USER_SPACE=$(COMPAT_ALLOC_USER_SPACE) \
|
||||
|
||||
ifeq ($(KERNELRELEASE),)
|
||||
# on first call from remote location we get into this path
|
Loading…
Reference in New Issue
Block a user