use more of linux-mod.eclass and thus make the ebuild better and cleaner: ati-drivers-8.27.10-r1.ebuild | 63 ++++++++++-------------------------------- 1 file changed, 16 insertions(+), 47 deletions(-) Please verify if it is working ok and commi it or llo me to do so.
Created attachment 93951 [details, diff] ati-drivers-linux-mod.diff
please make CHECK_CONFIG cope with the module case before. please add "+" check if builtin and "." check if module or something similar. beside that the rest looks quite nice =)
Created attachment 94021 [details, diff] ati-drivers-linux-mod.diff changes: - use $S - check for DRM correctly (builtin only) Status: needs proper compile-time-testing
>>> Install ati-drivers-8.27.10-r1 into /var/tmp/portage/ati-drivers-8.27.10-r1/image/ category x11-drivers * Installing fglrx module install: cannot stat `fglrx.ko': No such file or directory Looks like it isn't working as supposed...
- cd ${WORKDIR}/common/lib/modules/fglrx/build_mod this can not be deleted as you must specify were the file to install is. After that changes are sane :)
Created attachment 103170 [details] this is patch for 2.6.19 compatibility Patch created by myself.
Created attachment 103171 [details] patch for linux-mod Here is the linux-mod patch. Thanks to dsd_ for helping to get it all straightened out. This is against the beta release but should be easy enough to apply to 8.30.3-r1 as well.
(In reply to comment #6) > Created an attachment (id=103170) [edit] > this is patch for 2.6.19 compatibility > > Patch created by myself. > Wouldn't it be more sane to check kernel version and apply accordingly? +#if (LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,18)) +#include <linux/config.h> +#endif maybe?
thanks anarchy! Your patches work for me. lu, can you please apply them?
Applied, thanks everybody =)