[packages/xorg-driver-video-fglrx] - fix kernel module Makefile to make it survive 'make clean'
baggins
baggins at pld-linux.org
Mon Oct 28 23:48:54 CET 2013
commit ec41c566f5ddf146d8f0ae5d9af04bc2733a4767
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Mon Oct 28 23:47:11 2013 +0100
- fix kernel module Makefile to make it survive 'make clean'
xorg-driver-video-fglrx.spec | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/xorg-driver-video-fglrx.spec b/xorg-driver-video-fglrx.spec
index 5482309..56ca975 100644
--- a/xorg-driver-video-fglrx.spec
+++ b/xorg-driver-video-fglrx.spec
@@ -189,7 +189,11 @@ Moduł jądra oferujący wsparcie dla ATI FireGL.
#sh %{SOURCE0} --extract .
sh amd-catalyst-%{version}-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.git/commitdiff/4f51afbab5b9fd2b841e2efc9f579af1f8cb63a8
More information about the pld-cvs-commit
mailing list