Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 192549 - linux-mod.eclass - small fix for 'touch ${srcdir}/.built'
Summary: linux-mod.eclass - small fix for 'touch ${srcdir}/.built'
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Gentoo Kernel Miscellaneous
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-14 20:13 UTC by Elias Probst
Modified: 2007-10-03 12:56 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch for doing 'cd ${S}' before running the compile-loop (mod-linux.eclass-touch.patch,321 bytes, patch)
2007-09-14 20:14 UTC, Elias Probst
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Elias Probst 2007-09-14 20:13:43 UTC
Regarding ebuilds that inherit the eclass 'linux-mod'

ebuilds that don't do a 'cd ${S}' before executing 'linux-mod_src_compile' will produce errors like this:

touch: cannot touch `modules/linux/vmxnet/.built': No such file or directory

Will attach a tiny patch to fix this behaviour of the eclass. It's just a cd ${S} before running the loop for compiling the module.

Regards, Elias P.
Comment 1 Elias Probst 2007-09-14 20:14:29 UTC
Created attachment 130940 [details, diff]
Patch for doing 'cd ${S}' before running the compile-loop
Comment 2 Christian Heim (RETIRED) gentoo-dev 2007-10-03 12:56:25 UTC
Just fixed, thank you!