Summary: | media-sound/xfi-drivers: kernel sources accessed through /lib/modules/`uname -r` | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Diego Elio Pettenò (RETIRED) <flameeyes> |
Component: | New packages | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
Status: | RESOLVED FIXED | ||
Severity: | QA | CC: | infernoid |
Priority: | High | Keywords: | QAcanfix |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 241950 | ||
Attachments: |
Build log
updated ebuild to work with $KV_FULL instead of 'uname -r' diff from previous ebuild diff cleanup |
Description
Diego Elio Pettenò (RETIRED)
2008-12-08 16:33:57 UTC
Created attachment 174649 [details]
Build log
suggestion on how to use '/usr/src/linux' 2 problems im having are: - http://linuxmafia.com/faq/Kernel/usr-src-linux-symlink.html (linus commenting on the use of /usr/src/linux) - stripping the 'linux-' prefix from /usr/src/linux symlink MY_KV=`readlink /usr/src/linux` # read '/usr/src/linux' symbolic link MY_KV=${MY_KV:6} # strip 'linux-' prefix sed -r -i -e 's/KERNELDIR/KERNEL_DIR/g' \ -e 's/CFLAGS/EXTRA_CFLAGS/g' \ -e 's/\$\(shell uname -r\)/'$MY_KV'/g' \ -e 's/`uname -r`/'$MY_KV'/' \ Makefile I'm pretty sure we have to use one of the kernel eclasses to get this fixed 'properly'. I'll add the QACanFix to Keywords because I'm busy doing .NET stuff presently. Created attachment 184262 [details]
updated ebuild to work with $KV_FULL instead of 'uname -r'
this is my first ebuild ... if i made a mistake pls contact me
Created attachment 184265 [details]
diff from previous ebuild
Created attachment 184443 [details]
diff cleanup
+ 20 Jun 2012; Justin Lecher <jlec@gentoo.org> xfi-drivers-1.00.ebuild: + Don't use unmae -r to detmine KERNEL_DIR, #250302 + |