[packages/xorg-driver-video-fglrx-legacy] - fix kernel module Makefile to make it survive 'make clean'

baggins baggins at pld-linux.org
Mon Oct 28 23:57:13 CET 2013


commit 914cc0e94efa208508835718c0f377ca34623663
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Mon Oct 28 23:50:21 2013 +0100

    - fix kernel module Makefile to make it survive 'make clean'

 xorg-driver-video-fglrx-legacy.spec | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/xorg-driver-video-fglrx-legacy.spec b/xorg-driver-video-fglrx-legacy.spec
index 51c67a2..d80de90 100644
--- a/xorg-driver-video-fglrx-legacy.spec
+++ b/xorg-driver-video-fglrx-legacy.spec
@@ -195,7 +195,12 @@ Moduł jądra oferujący wsparcie dla AMD FireGL.
 
 sh amd-driver-installer-catalyst-%{version}-legacy-linux-x86.x86_64.run --extract .
 
-cp -p arch/%{arch_dir}/lib/modules/fglrx/build_mod/* common/lib/modules/fglrx/build_mod
+cp -p arch/%{arch_dir}/lib/modules/fglrx/build_mod/* common/lib/modules/fglrx/
+cat >>common/lib/modules/fglrx/build_mod/2.6.x/Makefile <<EOF
+\$(M)/libfglrx_ip.a:
+	ln -s \$(LIBIP_PREFIX)/libfglrx_ip.a \$(M)
+EOF
+
 
 %if %{with dist_kernel}
 %patch0 -p1
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/xorg-driver-video-fglrx-legacy.git/commitdiff/b3f4fcac68e7b1573a8edffb799ed94e40b15b70



More information about the pld-cvs-commit mailing list