improve modalias building
authorJan Beulich <JBeulich@suse.com>
Wed, 29 May 2013 12:18:56 +0000 (13:18 +0100)
committerMichal Marek <mmarek@suse.cz>
Thu, 27 Jun 2013 22:48:16 +0000 (00:48 +0200)
commitbd70134396622ea50b14e34dae0810879884d553
tree639fb9a6555d1a301c62c99163e144085b06b749
parentf82935ebd6adf554787c273cdc91d2d6ef1eaf51
improve modalias building

For one, there's no point in the respective pieces to be rebuilt
unconditionally on each and every rebuild.

Second there's no need to invent a custom rule for generating the .s
file from the .c source - we can simply use the generic rule here.

And finally, $(obj) should be used to refer to files in the build tree
(rather than spelling out the subdirectory).

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/mod/Makefile